<?php
global $runnerTableSettings;
$runnerTableSettings['qa_maintenance_checklist_setup'] = array(
	'name' => 'qa_maintenance_checklist_setup',
	'shortName' => 'qa_maintenance_checklist_setup',
	'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_checklist_setup',
	'afterAddDetail' => 'qa_maintenance_checklist_setup',
	'detailsBadgeColor' => '008b8b',
	'sql' => 'SELECT
	id,
	checklist_code,
	checklist_description,
	response_type,
	sort_order,
	status
FROM
	qa_maintenance_checklist_setup',
	'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_checklist_setup' 
		),
		'checklist_code' => array(
			'name' => 'checklist_code',
			'goodName' => 'checklist_code',
			'strField' => 'checklist_code',
			'index' => 2,
			'sqlExpression' => 'checklist_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_checklist_setup' 
		),
		'checklist_description' => array(
			'name' => 'checklist_description',
			'goodName' => 'checklist_description',
			'strField' => 'checklist_description',
			'index' => 3,
			'sqlExpression' => 'checklist_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_checklist_setup' 
		),
		'response_type' => array(
			'name' => 'response_type',
			'goodName' => 'response_type',
			'strField' => 'response_type',
			'index' => 4,
			'type' => 129,
			'sqlExpression' => 'response_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'YES_NO',
						'YES_NO_WITH_VALUE' 
					) 
				) 
			),
			'tableName' => 'qa_maintenance_checklist_setup' 
		),
		'sort_order' => array(
			'name' => 'sort_order',
			'goodName' => 'sort_order',
			'strField' => 'sort_order',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'sort_order',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_maintenance_checklist_setup' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 6,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'ACTIVE',
						'INACTIVE' 
					) 
				) 
			),
			'tableName' => 'qa_maintenance_checklist_setup' 
		) 
	),
	'detailsTables' => array( 
		'qa_maintenance_checklist_item',
		'qa_maintenance_checklist_result' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	checklist_code,
	checklist_description,
	response_type,
	sort_order,
	status
FROM
	qa_maintenance_checklist_setup',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_checklist_setup',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'checklist_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_checklist_setup',
					'name' => 'checklist_code' 
				),
				'encrypted' => false,
				'columnName' => 'checklist_code' 
			),
			array(
				'sql' => 'checklist_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_checklist_setup',
					'name' => 'checklist_description' 
				),
				'encrypted' => false,
				'columnName' => 'checklist_description' 
			),
			array(
				'sql' => 'response_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_checklist_setup',
					'name' => 'response_type' 
				),
				'encrypted' => false,
				'columnName' => 'response_type' 
			),
			array(
				'sql' => 'sort_order',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_checklist_setup',
					'name' => 'sort_order' 
				),
				'encrypted' => false,
				'columnName' => 'sort_order' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_maintenance_checklist_setup',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_maintenance_checklist_setup',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_maintenance_checklist_setup',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'checklist_code',
						'checklist_description',
						'response_type',
						'sort_order',
						'status' 
					),
					'name' => 'qa_maintenance_checklist_setup' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	checklist_code,
	checklist_description,
	response_type,
	sort_order,
	status',
		'fromListSql' => 'FROM
	qa_maintenance_checklist_setup',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'qa_maintenance_checklist_setup',
	'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',
			'checklist_code',
			'checklist_description',
			'response_type',
			'sort_order',
			'status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'checklist_code',
			'checklist_description',
			'response_type',
			'sort_order',
			'status' 
		) 
	),
	'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_checklist_setup'] = array(
	'tableCaption' => 'Qa Maintenance Checklist Setup',
	'fieldLabels' => array(
		'id' => 'Id',
		'checklist_code' => 'Checklist Code',
		'checklist_description' => 'Checklist Description',
		'response_type' => 'Response Type',
		'sort_order' => 'Sort Order',
		'status' => 'Status' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'checklist_code' => '',
		'checklist_description' => '',
		'response_type' => '',
		'sort_order' => '',
		'status' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'checklist_code' => '',
		'checklist_description' => '',
		'response_type' => '',
		'sort_order' => '',
		'status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>