<?php
global $runnerTableSettings;
$runnerTableSettings['qa_maintenance_inspection'] = array(
	'name' => 'qa_maintenance_inspection',
	'shortName' => 'qa_maintenance_inspection',
	'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_maintenance_inspection',
	'afterAddDetail' => 'qa_maintenance_inspection',
	'detailsBadgeColor' => 'e8926f',
	'sql' => 'SELECT
	id,
	inspection_no,
	series_number,
	inspection_date,
	inspection_type,
	checklist_setup_id,
	equipment_id,
	equipment_name,
	equipment_code,
	location,
	warehouse_id,
	warehouse_name,
	maintenance_reference_no,
	work_order_no,
	inspection_summary,
	inspector_notes,
	inspected_by,
	inspected_by_name,
	inspected_date_signed,
	concurred_by,
	concurred_by_name,
	concurred_date_signed,
	status,
	created_by,
	created_at,
	updated_at
FROM
	qa_maintenance_inspection',
	'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_maintenance_inspection' 
		),
		'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_maintenance_inspection' 
		),
		'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_maintenance_inspection' 
		),
		'inspection_date' => array(
			'name' => 'inspection_date',
			'goodName' => 'inspection_date',
			'strField' => 'inspection_date',
			'index' => 4,
			'type' => 7,
			'sqlExpression' => 'inspection_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'inspection_type' => array(
			'name' => 'inspection_type',
			'goodName' => 'inspection_type',
			'strField' => 'inspection_type',
			'index' => 5,
			'type' => 129,
			'sqlExpression' => 'inspection_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'PREVENTIVE',
						'CORRECTIVE',
						'POST_REPAIR' 
					) 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'equipment_id' => array(
			'name' => 'equipment_id',
			'goodName' => 'equipment_id',
			'strField' => 'equipment_id',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'equipment_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'equipment_name' => array(
			'name' => 'equipment_name',
			'goodName' => 'equipment_name',
			'strField' => 'equipment_name',
			'index' => 8,
			'sqlExpression' => 'equipment_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'equipment_code' => array(
			'name' => 'equipment_code',
			'goodName' => 'equipment_code',
			'strField' => 'equipment_code',
			'index' => 9,
			'sqlExpression' => 'equipment_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'location' => array(
			'name' => 'location',
			'goodName' => 'location',
			'strField' => 'location',
			'index' => 10,
			'sqlExpression' => 'location',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'warehouse_id' => array(
			'name' => 'warehouse_id',
			'goodName' => 'warehouse_id',
			'strField' => 'warehouse_id',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'warehouse_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'warehouse',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name' 
				) 
			),
			'tableName' => 'qa_maintenance_inspection',
			'viewLinkTable' => 'warehouse',
			'viewLinkLookup' => true 
		),
		'warehouse_name' => array(
			'name' => 'warehouse_name',
			'goodName' => 'warehouse_name',
			'strField' => 'warehouse_name',
			'index' => 12,
			'sqlExpression' => 'warehouse_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'maintenance_reference_no' => array(
			'name' => 'maintenance_reference_no',
			'goodName' => 'maintenance_reference_no',
			'strField' => 'maintenance_reference_no',
			'index' => 13,
			'sqlExpression' => 'maintenance_reference_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'work_order_no' => array(
			'name' => 'work_order_no',
			'goodName' => 'work_order_no',
			'strField' => 'work_order_no',
			'index' => 14,
			'sqlExpression' => 'work_order_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'inspection_summary' => array(
			'name' => 'inspection_summary',
			'goodName' => 'inspection_summary',
			'strField' => 'inspection_summary',
			'index' => 15,
			'type' => 201,
			'sqlExpression' => 'inspection_summary',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'inspector_notes' => array(
			'name' => 'inspector_notes',
			'goodName' => 'inspector_notes',
			'strField' => 'inspector_notes',
			'index' => 16,
			'type' => 201,
			'sqlExpression' => 'inspector_notes',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'inspected_by' => array(
			'name' => 'inspected_by',
			'goodName' => 'inspected_by',
			'strField' => 'inspected_by',
			'index' => 17,
			'type' => 3,
			'sqlExpression' => 'inspected_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'inspected_by_name' => array(
			'name' => 'inspected_by_name',
			'goodName' => 'inspected_by_name',
			'strField' => 'inspected_by_name',
			'index' => 18,
			'sqlExpression' => 'inspected_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'inspected_date_signed' => array(
			'name' => 'inspected_date_signed',
			'goodName' => 'inspected_date_signed',
			'strField' => 'inspected_date_signed',
			'index' => 19,
			'type' => 7,
			'sqlExpression' => 'inspected_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'concurred_by' => array(
			'name' => 'concurred_by',
			'goodName' => 'concurred_by',
			'strField' => 'concurred_by',
			'index' => 20,
			'type' => 3,
			'sqlExpression' => 'concurred_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'concurred_by_name' => array(
			'name' => 'concurred_by_name',
			'goodName' => 'concurred_by_name',
			'strField' => 'concurred_by_name',
			'index' => 21,
			'sqlExpression' => 'concurred_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'concurred_date_signed' => array(
			'name' => 'concurred_date_signed',
			'goodName' => 'concurred_date_signed',
			'strField' => 'concurred_date_signed',
			'index' => 22,
			'type' => 7,
			'sqlExpression' => 'concurred_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 23,
			'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_maintenance_inspection' 
		),
		'created_by' => array(
			'name' => 'created_by',
			'goodName' => 'created_by',
			'strField' => 'created_by',
			'index' => 24,
			'type' => 3,
			'sqlExpression' => 'created_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 25,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 26,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_maintenance_inspection' 
		),
		'checklist_setup_id' => array(
			'name' => 'checklist_setup_id',
			'goodName' => 'checklist_setup_id',
			'strField' => 'checklist_setup_id',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'checklist_setup_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'qa_maintenance_checklist_setup',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'id',
					'lookupWhere' => 'status=\'ACTIVE\'' 
				) 
			),
			'tableName' => 'qa_maintenance_inspection',
			'viewLinkTable' => 'qa_maintenance_checklist_setup',
			'viewLinkLookup' => true 
		) 
	),
	'detailsTables' => array( 
		'qa_maintenance_attachment',
		'qa_maintenance_checklist_result',
		'qa_maintenance_inspection_detail' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	inspection_no,
	series_number,
	inspection_date,
	inspection_type,
	checklist_setup_id,
	equipment_id,
	equipment_name,
	equipment_code,
	location,
	warehouse_id,
	warehouse_name,
	maintenance_reference_no,
	work_order_no,
	inspection_summary,
	inspector_notes,
	inspected_by,
	inspected_by_name,
	inspected_date_signed,
	concurred_by,
	concurred_by_name,
	concurred_date_signed,
	status,
	created_by,
	created_at,
	updated_at
FROM
	qa_maintenance_inspection',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'inspection_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'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_maintenance_inspection',
					'name' => 'series_number' 
				),
				'encrypted' => false,
				'columnName' => 'series_number' 
			),
			array(
				'sql' => 'inspection_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'inspection_date' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_date' 
			),
			array(
				'sql' => 'inspection_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'inspection_type' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_type' 
			),
			array(
				'sql' => 'checklist_setup_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'checklist_setup_id' 
				),
				'encrypted' => false,
				'columnName' => 'checklist_setup_id' 
			),
			array(
				'sql' => 'equipment_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'equipment_id' 
				),
				'encrypted' => false,
				'columnName' => 'equipment_id' 
			),
			array(
				'sql' => 'equipment_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'equipment_name' 
				),
				'encrypted' => false,
				'columnName' => 'equipment_name' 
			),
			array(
				'sql' => 'equipment_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'equipment_code' 
				),
				'encrypted' => false,
				'columnName' => 'equipment_code' 
			),
			array(
				'sql' => 'location',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'location' 
				),
				'encrypted' => false,
				'columnName' => 'location' 
			),
			array(
				'sql' => 'warehouse_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'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_maintenance_inspection',
					'name' => 'warehouse_name' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_name' 
			),
			array(
				'sql' => 'maintenance_reference_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'maintenance_reference_no' 
				),
				'encrypted' => false,
				'columnName' => 'maintenance_reference_no' 
			),
			array(
				'sql' => 'work_order_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'work_order_no' 
				),
				'encrypted' => false,
				'columnName' => 'work_order_no' 
			),
			array(
				'sql' => 'inspection_summary',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'inspection_summary' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_summary' 
			),
			array(
				'sql' => 'inspector_notes',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'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_maintenance_inspection',
					'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_maintenance_inspection',
					'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_maintenance_inspection',
					'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_maintenance_inspection',
					'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_maintenance_inspection',
					'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_maintenance_inspection',
					'name' => 'concurred_date_signed' 
				),
				'encrypted' => false,
				'columnName' => 'concurred_date_signed' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'created_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_inspection',
					'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_maintenance_inspection',
					'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_maintenance_inspection',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_maintenance_inspection',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_maintenance_inspection',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'inspection_no',
						'series_number',
						'inspection_date',
						'inspection_type',
						'checklist_setup_id',
						'equipment_id',
						'equipment_name',
						'equipment_code',
						'location',
						'warehouse_id',
						'warehouse_name',
						'maintenance_reference_no',
						'work_order_no',
						'inspection_summary',
						'inspector_notes',
						'inspected_by',
						'inspected_by_name',
						'inspected_date_signed',
						'concurred_by',
						'concurred_by_name',
						'concurred_date_signed',
						'status',
						'created_by',
						'created_at',
						'updated_at' 
					),
					'name' => 'qa_maintenance_inspection' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	inspection_no,
	series_number,
	inspection_date,
	inspection_type,
	checklist_setup_id,
	equipment_id,
	equipment_name,
	equipment_code,
	location,
	warehouse_id,
	warehouse_name,
	maintenance_reference_no,
	work_order_no,
	inspection_summary,
	inspector_notes,
	inspected_by,
	inspected_by_name,
	inspected_date_signed,
	concurred_by,
	concurred_by_name,
	concurred_date_signed,
	status,
	created_by,
	created_at,
	updated_at',
		'fromListSql' => 'FROM
	qa_maintenance_inspection',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'originalTable' => 'qa_maintenance_inspection',
	'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',
			'inspection_date',
			'inspection_type',
			'equipment_id',
			'equipment_name',
			'equipment_code',
			'location',
			'warehouse_id',
			'warehouse_name',
			'maintenance_reference_no',
			'work_order_no',
			'inspection_summary',
			'inspector_notes',
			'inspected_by',
			'inspected_by_name',
			'inspected_date_signed',
			'concurred_by',
			'concurred_by_name',
			'concurred_date_signed',
			'status',
			'created_by',
			'created_at',
			'updated_at',
			'checklist_setup_id' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'inspection_no',
			'series_number',
			'inspection_date',
			'inspection_type',
			'equipment_id',
			'equipment_name',
			'equipment_code',
			'location',
			'warehouse_id',
			'warehouse_name',
			'maintenance_reference_no',
			'work_order_no',
			'inspection_summary',
			'inspector_notes',
			'inspected_by',
			'inspected_by_name',
			'inspected_date_signed',
			'concurred_by',
			'concurred_by_name',
			'concurred_date_signed',
			'status',
			'created_by',
			'created_at',
			'updated_at',
			'checklist_setup_id' 
		) 
	),
	'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_maintenance_inspection'] = array(
	'tableCaption' => 'Qa Maintenance Inspection',
	'fieldLabels' => array(
		'id' => 'Id',
		'inspection_no' => 'Inspection No',
		'series_number' => 'Series Number',
		'inspection_date' => 'Inspection Date',
		'inspection_type' => 'Inspection Type',
		'equipment_id' => 'Equipment Id',
		'equipment_name' => 'Equipment Name',
		'equipment_code' => 'Equipment Code',
		'location' => 'Location',
		'warehouse_id' => 'Warehouse Id',
		'warehouse_name' => 'Warehouse Name',
		'maintenance_reference_no' => 'Maintenance Reference No',
		'work_order_no' => 'Work Order No',
		'inspection_summary' => 'Inspection Summary',
		'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',
		'status' => 'Status',
		'created_by' => 'Created By',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At',
		'checklist_setup_id' => 'Checklist Setup Id' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'inspection_no' => '',
		'series_number' => '',
		'inspection_date' => '',
		'inspection_type' => '',
		'equipment_id' => '',
		'equipment_name' => '',
		'equipment_code' => '',
		'location' => '',
		'warehouse_id' => '',
		'warehouse_name' => '',
		'maintenance_reference_no' => '',
		'work_order_no' => '',
		'inspection_summary' => '',
		'inspector_notes' => '',
		'inspected_by' => '',
		'inspected_by_name' => '',
		'inspected_date_signed' => '',
		'concurred_by' => '',
		'concurred_by_name' => '',
		'concurred_date_signed' => '',
		'status' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_at' => '',
		'checklist_setup_id' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'inspection_no' => '',
		'series_number' => '',
		'inspection_date' => '',
		'inspection_type' => '',
		'equipment_id' => '',
		'equipment_name' => '',
		'equipment_code' => '',
		'location' => '',
		'warehouse_id' => '',
		'warehouse_name' => '',
		'maintenance_reference_no' => '',
		'work_order_no' => '',
		'inspection_summary' => '',
		'inspector_notes' => '',
		'inspected_by' => '',
		'inspected_by_name' => '',
		'inspected_date_signed' => '',
		'concurred_by' => '',
		'concurred_by_name' => '',
		'concurred_date_signed' => '',
		'status' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_at' => '',
		'checklist_setup_id' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>