<?php
global $runnerTableSettings;
$runnerTableSettings['qa_incoming_goods_inspector'] = array(
	'name' => 'qa_incoming_goods_inspector',
	'shortName' => 'qa_incoming_goods_inspector',
	'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_incoming_goods_inspector',
	'afterAddDetail' => 'qa_incoming_goods_inspector',
	'detailsBadgeColor' => 'db7093',
	'sql' => 'SELECT
	id,
	qa_incoming_goods_id,
	inspector_id,
	inspector_name,
	`role`,
	createdAt
FROM
	qa_incoming_goods_inspector',
	'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_incoming_goods_inspector' 
		),
		'qa_incoming_goods_id' => array(
			'name' => 'qa_incoming_goods_id',
			'goodName' => 'qa_incoming_goods_id',
			'strField' => 'qa_incoming_goods_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'qa_incoming_goods_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'qa_incoming_goods',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'qa_no' 
				) 
			),
			'tableName' => 'qa_incoming_goods_inspector',
			'viewLinkTable' => 'qa_incoming_goods',
			'viewLinkLookup' => true 
		),
		'inspector_id' => array(
			'name' => 'inspector_id',
			'goodName' => 'inspector_id',
			'strField' => 'inspector_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'inspector_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_incoming_goods_inspector' 
		),
		'inspector_name' => array(
			'name' => 'inspector_name',
			'goodName' => 'inspector_name',
			'strField' => 'inspector_name',
			'index' => 4,
			'sqlExpression' => 'inspector_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_incoming_goods_inspector' 
		),
		'role' => array(
			'name' => 'role',
			'goodName' => 'role',
			'strField' => 'role',
			'index' => 5,
			'type' => 129,
			'sqlExpression' => '`role`',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'INSPECTOR',
						'LEAD_INSPECTOR',
						'WITNESS' 
					) 
				) 
			),
			'tableName' => 'qa_incoming_goods_inspector' 
		),
		'createdAt' => array(
			'name' => 'createdAt',
			'goodName' => 'createdAt',
			'strField' => 'createdAt',
			'index' => 6,
			'type' => 135,
			'sqlExpression' => 'createdAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'qa_incoming_goods_inspector' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'qa_incoming_goods',
			'detailsKeys' => array( 
				'qa_incoming_goods_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	qa_incoming_goods_id,
	inspector_id,
	inspector_name,
	`role`,
	createdAt
FROM
	qa_incoming_goods_inspector',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_incoming_goods_inspector',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'qa_incoming_goods_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_incoming_goods_inspector',
					'name' => 'qa_incoming_goods_id' 
				),
				'encrypted' => false,
				'columnName' => 'qa_incoming_goods_id' 
			),
			array(
				'sql' => 'inspector_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_incoming_goods_inspector',
					'name' => 'inspector_id' 
				),
				'encrypted' => false,
				'columnName' => 'inspector_id' 
			),
			array(
				'sql' => 'inspector_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_incoming_goods_inspector',
					'name' => 'inspector_name' 
				),
				'encrypted' => false,
				'columnName' => 'inspector_name' 
			),
			array(
				'sql' => '`role`',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_incoming_goods_inspector',
					'name' => 'role' 
				),
				'encrypted' => false,
				'columnName' => 'role' 
			),
			array(
				'sql' => 'createdAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_incoming_goods_inspector',
					'name' => 'createdAt' 
				),
				'encrypted' => false,
				'columnName' => 'createdAt' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_incoming_goods_inspector',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_incoming_goods_inspector',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'qa_incoming_goods_id',
						'inspector_id',
						'inspector_name',
						'role',
						'createdAt' 
					),
					'name' => 'qa_incoming_goods_inspector' 
				),
				'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,
	qa_incoming_goods_id,
	inspector_id,
	inspector_name,
	`role`,
	createdAt',
		'fromListSql' => 'FROM
	qa_incoming_goods_inspector',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'qa_incoming_goods_inspector',
	'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_incoming_goods_id',
			'inspector_id',
			'inspector_name',
			'role',
			'createdAt' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'qa_incoming_goods_id',
			'inspector_id',
			'inspector_name',
			'role',
			'createdAt' 
		) 
	),
	'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_incoming_goods_inspector'] = array(
	'tableCaption' => 'Qa Incoming Goods Inspector',
	'fieldLabels' => array(
		'id' => 'Id',
		'qa_incoming_goods_id' => 'Qa Incoming Goods Id',
		'inspector_id' => 'Inspector Id',
		'inspector_name' => 'Inspector Name',
		'role' => 'Role',
		'createdAt' => 'Created At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'qa_incoming_goods_id' => '',
		'inspector_id' => '',
		'inspector_name' => '',
		'role' => '',
		'createdAt' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'qa_incoming_goods_id' => '',
		'inspector_id' => '',
		'inspector_name' => '',
		'role' => '',
		'createdAt' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>