<?php
global $runnerTableSettings;
$runnerTableSettings['qa_production_inspection_setup'] = array(
	'name' => 'qa_production_inspection_setup',
	'shortName' => 'qa_production_inspection_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_production_inspection_setup',
	'afterAddDetail' => 'qa_production_inspection_setup',
	'detailsBadgeColor' => 'd2691e',
	'sql' => 'SELECT
	id,
	production_type_id,
	process_name,
	control_point,
	inspection_instruction,
	is_required,
	sort_order,
	status,
	createdAt,
	updatedAt
FROM
	qa_production_inspection_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_production_inspection_setup' 
		),
		'process_name' => array(
			'name' => 'process_name',
			'goodName' => 'process_name',
			'strField' => 'process_name',
			'index' => 3,
			'sqlExpression' => 'process_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'control_point' => array(
			'name' => 'control_point',
			'goodName' => 'control_point',
			'strField' => 'control_point',
			'index' => 4,
			'type' => 201,
			'sqlExpression' => 'control_point',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'inspection_instruction' => array(
			'name' => 'inspection_instruction',
			'goodName' => 'inspection_instruction',
			'strField' => 'inspection_instruction',
			'index' => 5,
			'type' => 201,
			'sqlExpression' => 'inspection_instruction',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'is_required' => array(
			'name' => 'is_required',
			'goodName' => 'is_required',
			'strField' => 'is_required',
			'index' => 6,
			'type' => 2,
			'sqlExpression' => 'is_required',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'sort_order' => array(
			'name' => 'sort_order',
			'goodName' => 'sort_order',
			'strField' => 'sort_order',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'sort_order',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 8,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'ACTIVE',
						'INACTIVE' 
					) 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'createdAt' => array(
			'name' => 'createdAt',
			'goodName' => 'createdAt',
			'strField' => 'createdAt',
			'index' => 9,
			'type' => 135,
			'sqlExpression' => 'createdAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'updatedAt' => array(
			'name' => 'updatedAt',
			'goodName' => 'updatedAt',
			'strField' => 'updatedAt',
			'index' => 10,
			'type' => 135,
			'sqlExpression' => 'updatedAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		),
		'production_type_id' => array(
			'name' => 'production_type_id',
			'goodName' => 'production_type_id',
			'strField' => 'production_type_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'production_type_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'qa_production_type',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'type_name' 
				) 
			),
			'tableName' => 'qa_production_inspection_setup' 
		) 
	),
	'detailsTables' => array( 
		'qa_production_inspection_checklist' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	production_type_id,
	process_name,
	control_point,
	inspection_instruction,
	is_required,
	sort_order,
	status,
	createdAt,
	updatedAt
FROM
	qa_production_inspection_setup',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'production_type_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'production_type_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_type_id' 
			),
			array(
				'sql' => 'process_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'process_name' 
				),
				'encrypted' => false,
				'columnName' => 'process_name' 
			),
			array(
				'sql' => 'control_point',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'control_point' 
				),
				'encrypted' => false,
				'columnName' => 'control_point' 
			),
			array(
				'sql' => 'inspection_instruction',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'inspection_instruction' 
				),
				'encrypted' => false,
				'columnName' => 'inspection_instruction' 
			),
			array(
				'sql' => 'is_required',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'is_required' 
				),
				'encrypted' => false,
				'columnName' => 'is_required' 
			),
			array(
				'sql' => 'sort_order',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_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_production_inspection_setup',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'createdAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'createdAt' 
				),
				'encrypted' => false,
				'columnName' => 'createdAt' 
			),
			array(
				'sql' => 'updatedAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_production_inspection_setup',
					'name' => 'updatedAt' 
				),
				'encrypted' => false,
				'columnName' => 'updatedAt' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_production_inspection_setup',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_production_inspection_setup',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'production_type_id',
						'process_name',
						'control_point',
						'inspection_instruction',
						'is_required',
						'sort_order',
						'status',
						'createdAt',
						'updatedAt' 
					),
					'name' => 'qa_production_inspection_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 
			),
			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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	production_type_id,
	process_name,
	control_point,
	inspection_instruction,
	is_required,
	sort_order,
	status,
	createdAt,
	updatedAt',
		'fromListSql' => 'FROM
	qa_production_inspection_setup',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'qa_production_inspection_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',
			'process_name',
			'control_point',
			'inspection_instruction',
			'is_required',
			'sort_order',
			'status',
			'createdAt',
			'updatedAt',
			'production_type_id' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'process_name',
			'control_point',
			'inspection_instruction',
			'is_required',
			'sort_order',
			'status',
			'createdAt',
			'updatedAt',
			'production_type_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_production_inspection_setup'] = array(
	'tableCaption' => 'Qa Production Inspection Setup',
	'fieldLabels' => array(
		'id' => 'Id',
		'process_name' => 'Process Name',
		'control_point' => 'Control Point',
		'inspection_instruction' => 'Inspection Instruction',
		'is_required' => 'Is Required',
		'sort_order' => 'Sort Order',
		'status' => 'Status',
		'createdAt' => 'Created At',
		'updatedAt' => 'Updated At',
		'production_type_id' => 'Production Type Id' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'process_name' => '',
		'control_point' => '',
		'inspection_instruction' => '',
		'is_required' => '',
		'sort_order' => '',
		'status' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'production_type_id' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'process_name' => '',
		'control_point' => '',
		'inspection_instruction' => '',
		'is_required' => '',
		'sort_order' => '',
		'status' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'production_type_id' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>