<?php
global $runnerTableSettings;
$runnerTableSettings['qa_ffp_maintenance'] = array(
	'name' => 'qa_ffp_maintenance',
	'shortName' => 'qa_ffp_maintenance',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'qa_ffp_maintenance',
	'afterAddDetail' => 'qa_ffp_maintenance',
	'detailsBadgeColor' => 'b22222',
	'sql' => 'SELECT
	id,
	inspection_no,
	series_number,
	warehouse_id,
	warehouse_name,
	inspection_type,
	other_inspection_type,
	inspection_date,
	time_started,
	time_finished,
	total_samples,
	primary_batch_id,
	production_batch_no,
	production_batch_date,
	production_work_order_id,
	production_inspection_id,
	inspector_notes,
	inspected_by,
	inspected_by_name,
	inspected_date_signed,
	concurred_by,
	concurred_by_name,
	concurred_date_signed,
	inspection_schedule_id,
	status,
	created_by,
	created_at,
	updated_at
FROM
	qa_ffp_maintenance',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspection_no' => array(
			'name' => 'inspection_no',
			'goodName' => 'inspection_no',
			'strField' => 'inspection_no',
			'index' => 2,
			'sqlExpression' => 'inspection_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'series_number' => array(
			'name' => 'series_number',
			'goodName' => 'series_number',
			'strField' => 'series_number',
			'index' => 3,
			'sqlExpression' => 'series_number',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'warehouse_id' => array(
			'name' => 'warehouse_id',
			'goodName' => 'warehouse_id',
			'strField' => 'warehouse_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'warehouse_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'warehouse_name' => array(
			'name' => 'warehouse_name',
			'goodName' => 'warehouse_name',
			'strField' => 'warehouse_name',
			'index' => 5,
			'sqlExpression' => 'warehouse_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspection_type' => array(
			'name' => 'inspection_type',
			'goodName' => 'inspection_type',
			'strField' => 'inspection_type',
			'index' => 6,
			'type' => 129,
			'sqlExpression' => 'inspection_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'QA_2_WEEKS',
						'QA_4_WEEKS',
						'QA_6_WEEKS',
						'OTHER' 
					) 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'other_inspection_type' => array(
			'name' => 'other_inspection_type',
			'goodName' => 'other_inspection_type',
			'strField' => 'other_inspection_type',
			'index' => 7,
			'sqlExpression' => 'other_inspection_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspection_date' => array(
			'name' => 'inspection_date',
			'goodName' => 'inspection_date',
			'strField' => 'inspection_date',
			'index' => 8,
			'type' => 7,
			'sqlExpression' => 'inspection_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'time_started' => array(
			'name' => 'time_started',
			'goodName' => 'time_started',
			'strField' => 'time_started',
			'index' => 9,
			'type' => 134,
			'sqlExpression' => 'time_started',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Time' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Time' 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'time_finished' => array(
			'name' => 'time_finished',
			'goodName' => 'time_finished',
			'strField' => 'time_finished',
			'index' => 10,
			'type' => 134,
			'sqlExpression' => 'time_finished',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Time' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Time' 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'total_samples' => array(
			'name' => 'total_samples',
			'goodName' => 'total_samples',
			'strField' => 'total_samples',
			'index' => 11,
			'type' => 14,
			'sqlExpression' => 'total_samples',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'primary_batch_id' => array(
			'name' => 'primary_batch_id',
			'goodName' => 'primary_batch_id',
			'strField' => 'primary_batch_id',
			'index' => 12,
			'type' => 3,
			'sqlExpression' => 'primary_batch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'production_batch_no' => array(
			'name' => 'production_batch_no',
			'goodName' => 'production_batch_no',
			'strField' => 'production_batch_no',
			'index' => 13,
			'sqlExpression' => 'production_batch_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'production_batch_date' => array(
			'name' => 'production_batch_date',
			'goodName' => 'production_batch_date',
			'strField' => 'production_batch_date',
			'index' => 14,
			'type' => 7,
			'sqlExpression' => 'production_batch_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'production_work_order_id' => array(
			'name' => 'production_work_order_id',
			'goodName' => 'production_work_order_id',
			'strField' => 'production_work_order_id',
			'index' => 15,
			'type' => 3,
			'sqlExpression' => 'production_work_order_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'production_inspection_id' => array(
			'name' => 'production_inspection_id',
			'goodName' => 'production_inspection_id',
			'strField' => 'production_inspection_id',
			'index' => 16,
			'type' => 3,
			'sqlExpression' => 'production_inspection_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspector_notes' => array(
			'name' => 'inspector_notes',
			'goodName' => 'inspector_notes',
			'strField' => 'inspector_notes',
			'index' => 17,
			'type' => 201,
			'sqlExpression' => 'inspector_notes',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspected_by' => array(
			'name' => 'inspected_by',
			'goodName' => 'inspected_by',
			'strField' => 'inspected_by',
			'index' => 18,
			'type' => 3,
			'sqlExpression' => 'inspected_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspected_by_name' => array(
			'name' => 'inspected_by_name',
			'goodName' => 'inspected_by_name',
			'strField' => 'inspected_by_name',
			'index' => 19,
			'sqlExpression' => 'inspected_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspected_date_signed' => array(
			'name' => 'inspected_date_signed',
			'goodName' => 'inspected_date_signed',
			'strField' => 'inspected_date_signed',
			'index' => 20,
			'type' => 7,
			'sqlExpression' => 'inspected_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'concurred_by' => array(
			'name' => 'concurred_by',
			'goodName' => 'concurred_by',
			'strField' => 'concurred_by',
			'index' => 21,
			'type' => 3,
			'sqlExpression' => 'concurred_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'concurred_by_name' => array(
			'name' => 'concurred_by_name',
			'goodName' => 'concurred_by_name',
			'strField' => 'concurred_by_name',
			'index' => 22,
			'sqlExpression' => 'concurred_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'concurred_date_signed' => array(
			'name' => 'concurred_date_signed',
			'goodName' => 'concurred_date_signed',
			'strField' => 'concurred_date_signed',
			'index' => 23,
			'type' => 7,
			'sqlExpression' => 'concurred_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'inspection_schedule_id' => array(
			'name' => 'inspection_schedule_id',
			'goodName' => 'inspection_schedule_id',
			'strField' => 'inspection_schedule_id',
			'index' => 24,
			'type' => 3,
			'sqlExpression' => 'inspection_schedule_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 25,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DRAFT',
						'FOR_CONCURRENCE',
						'CONCURRED',
						'COMPLETED',
						'CANCELLED' 
					) 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'created_by' => array(
			'name' => 'created_by',
			'goodName' => 'created_by',
			'strField' => 'created_by',
			'index' => 26,
			'type' => 3,
			'sqlExpression' => 'created_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 27,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 28,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_ffp_maintenance' 
		) 
	),
	'detailsTables' => array( 
		'qa_ffp_maintenance_batch',
		'qa_ffp_maintenance_checklist_result' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	inspection_no,
	series_number,
	warehouse_id,
	warehouse_name,
	inspection_type,
	other_inspection_type,
	inspection_date,
	time_started,
	time_finished,
	total_samples,
	primary_batch_id,
	production_batch_no,
	production_batch_date,
	production_work_order_id,
	production_inspection_id,
	inspector_notes,
	inspected_by,
	inspected_by_name,
	inspected_date_signed,
	concurred_by,
	concurred_by_name,
	concurred_date_signed,
	inspection_schedule_id,
	status,
	created_by,
	created_at,
	updated_at
FROM
	qa_ffp_maintenance',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'inspection_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspection_no' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_no' 
			),
			array(
				'sql' => 'series_number',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'series_number' 
				),
				'encrypted' => false,
				'columnName' => 'series_number' 
			),
			array(
				'sql' => 'warehouse_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'warehouse_id' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_id' 
			),
			array(
				'sql' => 'warehouse_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'warehouse_name' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_name' 
			),
			array(
				'sql' => 'inspection_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspection_type' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_type' 
			),
			array(
				'sql' => 'other_inspection_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'other_inspection_type' 
				),
				'encrypted' => false,
				'columnName' => 'other_inspection_type' 
			),
			array(
				'sql' => 'inspection_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspection_date' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_date' 
			),
			array(
				'sql' => 'time_started',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'time_started' 
				),
				'encrypted' => false,
				'columnName' => 'time_started' 
			),
			array(
				'sql' => 'time_finished',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'time_finished' 
				),
				'encrypted' => false,
				'columnName' => 'time_finished' 
			),
			array(
				'sql' => 'total_samples',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'total_samples' 
				),
				'encrypted' => false,
				'columnName' => 'total_samples' 
			),
			array(
				'sql' => 'primary_batch_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'primary_batch_id' 
				),
				'encrypted' => false,
				'columnName' => 'primary_batch_id' 
			),
			array(
				'sql' => 'production_batch_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'production_batch_no' 
				),
				'encrypted' => false,
				'columnName' => 'production_batch_no' 
			),
			array(
				'sql' => 'production_batch_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'production_batch_date' 
				),
				'encrypted' => false,
				'columnName' => 'production_batch_date' 
			),
			array(
				'sql' => 'production_work_order_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'production_work_order_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_work_order_id' 
			),
			array(
				'sql' => 'production_inspection_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'production_inspection_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_inspection_id' 
			),
			array(
				'sql' => 'inspector_notes',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspector_notes' 
				),
				'encrypted' => false,
				'columnName' => 'inspector_notes' 
			),
			array(
				'sql' => 'inspected_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspected_by' 
				),
				'encrypted' => false,
				'columnName' => 'inspected_by' 
			),
			array(
				'sql' => 'inspected_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspected_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'inspected_by_name' 
			),
			array(
				'sql' => 'inspected_date_signed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspected_date_signed' 
				),
				'encrypted' => false,
				'columnName' => 'inspected_date_signed' 
			),
			array(
				'sql' => 'concurred_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'concurred_by' 
				),
				'encrypted' => false,
				'columnName' => 'concurred_by' 
			),
			array(
				'sql' => 'concurred_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'concurred_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'concurred_by_name' 
			),
			array(
				'sql' => 'concurred_date_signed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'concurred_date_signed' 
				),
				'encrypted' => false,
				'columnName' => 'concurred_date_signed' 
			),
			array(
				'sql' => 'inspection_schedule_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'inspection_schedule_id' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_schedule_id' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'created_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'created_by' 
				),
				'encrypted' => false,
				'columnName' => 'created_by' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_ffp_maintenance',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_ffp_maintenance',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_ffp_maintenance',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'inspection_no',
						'series_number',
						'warehouse_id',
						'warehouse_name',
						'inspection_type',
						'other_inspection_type',
						'inspection_date',
						'time_started',
						'time_finished',
						'total_samples',
						'primary_batch_id',
						'production_batch_no',
						'production_batch_date',
						'production_work_order_id',
						'production_inspection_id',
						'inspector_notes',
						'inspected_by',
						'inspected_by_name',
						'inspected_date_signed',
						'concurred_by',
						'concurred_by_name',
						'concurred_date_signed',
						'inspection_schedule_id',
						'status',
						'created_by',
						'created_at',
						'updated_at' 
					),
					'name' => 'qa_ffp_maintenance' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	inspection_no,
	series_number,
	warehouse_id,
	warehouse_name,
	inspection_type,
	other_inspection_type,
	inspection_date,
	time_started,
	time_finished,
	total_samples,
	primary_batch_id,
	production_batch_no,
	production_batch_date,
	production_work_order_id,
	production_inspection_id,
	inspector_notes,
	inspected_by,
	inspected_by_name,
	inspected_date_signed,
	concurred_by,
	concurred_by_name,
	concurred_date_signed,
	inspection_schedule_id,
	status,
	created_by,
	created_at,
	updated_at',
		'fromListSql' => 'FROM
	qa_ffp_maintenance',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'qa_ffp_maintenance',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'inspection_no',
			'series_number',
			'warehouse_id',
			'warehouse_name',
			'inspection_type',
			'other_inspection_type',
			'inspection_date',
			'time_started',
			'time_finished',
			'total_samples',
			'primary_batch_id',
			'production_batch_no',
			'production_batch_date',
			'production_work_order_id',
			'production_inspection_id',
			'inspector_notes',
			'inspected_by',
			'inspected_by_name',
			'inspected_date_signed',
			'concurred_by',
			'concurred_by_name',
			'concurred_date_signed',
			'inspection_schedule_id',
			'status',
			'created_by',
			'created_at',
			'updated_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'inspection_no',
			'series_number',
			'warehouse_id',
			'warehouse_name',
			'inspection_type',
			'other_inspection_type',
			'inspection_date',
			'time_started',
			'time_finished',
			'total_samples',
			'primary_batch_id',
			'production_batch_no',
			'production_batch_date',
			'production_work_order_id',
			'production_inspection_id',
			'inspector_notes',
			'inspected_by',
			'inspected_by_name',
			'inspected_date_signed',
			'concurred_by',
			'concurred_by_name',
			'concurred_date_signed',
			'inspection_schedule_id',
			'status',
			'created_by',
			'created_at',
			'updated_at' 
		) 
	),
	'connId' => 'conn',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['qa_ffp_maintenance'] = array(
	'tableCaption' => 'Qa Ffp Maintenance',
	'fieldLabels' => array(
		'id' => 'Id',
		'inspection_no' => 'Inspection No',
		'series_number' => 'Series Number',
		'warehouse_id' => 'Warehouse Id',
		'warehouse_name' => 'Warehouse Name',
		'inspection_type' => 'Inspection Type',
		'other_inspection_type' => 'Other Inspection Type',
		'inspection_date' => 'Inspection Date',
		'time_started' => 'Time Started',
		'time_finished' => 'Time Finished',
		'total_samples' => 'Total Samples',
		'primary_batch_id' => 'Primary Batch Id',
		'production_batch_no' => 'Production Batch No',
		'production_batch_date' => 'Production Batch Date',
		'production_work_order_id' => 'Production Work Order Id',
		'production_inspection_id' => 'Production Inspection Id',
		'inspector_notes' => 'Inspector Notes',
		'inspected_by' => 'Inspected By',
		'inspected_by_name' => 'Inspected By Name',
		'inspected_date_signed' => 'Inspected Date Signed',
		'concurred_by' => 'Concurred By',
		'concurred_by_name' => 'Concurred By Name',
		'concurred_date_signed' => 'Concurred Date Signed',
		'inspection_schedule_id' => 'Inspection Schedule Id',
		'status' => 'Status',
		'created_by' => 'Created By',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'inspection_no' => '',
		'series_number' => '',
		'warehouse_id' => '',
		'warehouse_name' => '',
		'inspection_type' => '',
		'other_inspection_type' => '',
		'inspection_date' => '',
		'time_started' => '',
		'time_finished' => '',
		'total_samples' => '',
		'primary_batch_id' => '',
		'production_batch_no' => '',
		'production_batch_date' => '',
		'production_work_order_id' => '',
		'production_inspection_id' => '',
		'inspector_notes' => '',
		'inspected_by' => '',
		'inspected_by_name' => '',
		'inspected_date_signed' => '',
		'concurred_by' => '',
		'concurred_by_name' => '',
		'concurred_date_signed' => '',
		'inspection_schedule_id' => '',
		'status' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'inspection_no' => '',
		'series_number' => '',
		'warehouse_id' => '',
		'warehouse_name' => '',
		'inspection_type' => '',
		'other_inspection_type' => '',
		'inspection_date' => '',
		'time_started' => '',
		'time_finished' => '',
		'total_samples' => '',
		'primary_batch_id' => '',
		'production_batch_no' => '',
		'production_batch_date' => '',
		'production_work_order_id' => '',
		'production_inspection_id' => '',
		'inspector_notes' => '',
		'inspected_by' => '',
		'inspected_by_name' => '',
		'inspected_date_signed' => '',
		'concurred_by' => '',
		'concurred_by_name' => '',
		'concurred_date_signed' => '',
		'inspection_schedule_id' => '',
		'status' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>