<?php
global $runnerTableSettings;
$runnerTableSettings['qa_outgoing_inspection_reference'] = array(
	'name' => 'qa_outgoing_inspection_reference',
	'shortName' => 'qa_outgoing_inspection_reference',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'qa_outgoing_inspection_reference',
	'afterAddDetail' => 'qa_outgoing_inspection_reference',
	'detailsBadgeColor' => '4169e1',
	'sql' => 'SELECT
	id,
	qa_outgoing_inspection_id,
	source_type,
	source_id,
	source_no
FROM
	qa_outgoing_inspection_reference',
	'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_outgoing_inspection_reference' 
		),
		'qa_outgoing_inspection_id' => array(
			'name' => 'qa_outgoing_inspection_id',
			'goodName' => 'qa_outgoing_inspection_id',
			'strField' => 'qa_outgoing_inspection_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'qa_outgoing_inspection_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'qa_outgoing_inspection',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'inspection_no' 
				) 
			),
			'tableName' => 'qa_outgoing_inspection_reference',
			'viewLinkTable' => 'qa_outgoing_inspection',
			'viewLinkLookup' => true 
		),
		'source_type' => array(
			'name' => 'source_type',
			'goodName' => 'source_type',
			'strField' => 'source_type',
			'index' => 3,
			'type' => 129,
			'sqlExpression' => 'source_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DR',
						'STF',
						'RISW',
						'RISL',
						'OTHER' 
					) 
				) 
			),
			'tableName' => 'qa_outgoing_inspection_reference' 
		),
		'source_id' => array(
			'name' => 'source_id',
			'goodName' => 'source_id',
			'strField' => 'source_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'source_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_outgoing_inspection_reference' 
		),
		'source_no' => array(
			'name' => 'source_no',
			'goodName' => 'source_no',
			'strField' => 'source_no',
			'index' => 5,
			'sqlExpression' => 'source_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_outgoing_inspection_reference' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'qa_outgoing_inspection',
			'detailsKeys' => array( 
				'qa_outgoing_inspection_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	qa_outgoing_inspection_id,
	source_type,
	source_id,
	source_no
FROM
	qa_outgoing_inspection_reference',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_outgoing_inspection_reference',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'qa_outgoing_inspection_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_outgoing_inspection_reference',
					'name' => 'qa_outgoing_inspection_id' 
				),
				'encrypted' => false,
				'columnName' => 'qa_outgoing_inspection_id' 
			),
			array(
				'sql' => 'source_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_outgoing_inspection_reference',
					'name' => 'source_type' 
				),
				'encrypted' => false,
				'columnName' => 'source_type' 
			),
			array(
				'sql' => 'source_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_outgoing_inspection_reference',
					'name' => 'source_id' 
				),
				'encrypted' => false,
				'columnName' => 'source_id' 
			),
			array(
				'sql' => 'source_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_outgoing_inspection_reference',
					'name' => 'source_no' 
				),
				'encrypted' => false,
				'columnName' => 'source_no' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_outgoing_inspection_reference',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_outgoing_inspection_reference',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'qa_outgoing_inspection_id',
						'source_type',
						'source_id',
						'source_no' 
					),
					'name' => 'qa_outgoing_inspection_reference' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	qa_outgoing_inspection_id,
	source_type,
	source_id,
	source_no',
		'fromListSql' => 'FROM
	qa_outgoing_inspection_reference',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'qa_outgoing_inspection_reference',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'qa_outgoing_inspection_id',
			'source_type',
			'source_id',
			'source_no' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'qa_outgoing_inspection_id',
			'source_type',
			'source_id',
			'source_no' 
		) 
	),
	'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_outgoing_inspection_reference'] = array(
	'tableCaption' => 'Qa Outgoing Inspection Reference',
	'fieldLabels' => array(
		'id' => 'Id',
		'qa_outgoing_inspection_id' => 'Qa Outgoing Inspection Id',
		'source_type' => 'Source Type',
		'source_id' => 'Source Id',
		'source_no' => 'Source No' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'qa_outgoing_inspection_id' => '',
		'source_type' => '',
		'source_id' => '',
		'source_no' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'qa_outgoing_inspection_id' => '',
		'source_type' => '',
		'source_id' => '',
		'source_no' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>