<?php
global $runnerTableSettings;
$runnerTableSettings['forwarding_service_vehicle_request_detail'] = array(
	'name' => 'forwarding_service_vehicle_request_detail',
	'shortName' => 'forwarding_service_vehicle_request_detail',
	'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' => 'forwarding_service_vehicle_request_detail',
	'afterAddDetail' => 'forwarding_service_vehicle_request_detail',
	'detailsBadgeColor' => '000',
	'sql' => 'SELECT
	id,
	forwarding_request_id,
	vehicle_type,
	quantity,
	rate,
	created_at
FROM
	forwarding_service_vehicle_request_detail',
	'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' => 'forwarding_service_vehicle_request_detail' 
		),
		'forwarding_request_id' => array(
			'name' => 'forwarding_request_id',
			'goodName' => 'forwarding_request_id',
			'strField' => 'forwarding_request_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'forwarding_request_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'forwarding_service_request',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'request_no' 
				) 
			),
			'tableName' => 'forwarding_service_vehicle_request_detail',
			'viewLinkTable' => 'forwarding_service_request',
			'viewLinkLookup' => true 
		),
		'vehicle_type' => array(
			'name' => 'vehicle_type',
			'goodName' => 'vehicle_type',
			'strField' => 'vehicle_type',
			'index' => 3,
			'sqlExpression' => 'vehicle_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'vehicle_type',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'vehicle_type_name' 
				) 
			),
			'tableName' => 'forwarding_service_vehicle_request_detail',
			'viewLinkTable' => 'vehicle_type',
			'viewLinkLookup' => true 
		),
		'quantity' => array(
			'name' => 'quantity',
			'goodName' => 'quantity',
			'strField' => 'quantity',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'quantity',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'forwarding_service_vehicle_request_detail' 
		),
		'rate' => array(
			'name' => 'rate',
			'goodName' => 'rate',
			'strField' => 'rate',
			'index' => 5,
			'type' => 14,
			'sqlExpression' => 'rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'forwarding_service_vehicle_request_detail' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 6,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'forwarding_service_vehicle_request_detail' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'forwarding_service_request',
			'detailsKeys' => array( 
				'forwarding_request_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	forwarding_request_id,
	vehicle_type,
	quantity,
	rate,
	created_at
FROM
	forwarding_service_vehicle_request_detail',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'forwarding_service_vehicle_request_detail',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'forwarding_request_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'forwarding_service_vehicle_request_detail',
					'name' => 'forwarding_request_id' 
				),
				'encrypted' => false,
				'columnName' => 'forwarding_request_id' 
			),
			array(
				'sql' => 'vehicle_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'forwarding_service_vehicle_request_detail',
					'name' => 'vehicle_type' 
				),
				'encrypted' => false,
				'columnName' => 'vehicle_type' 
			),
			array(
				'sql' => 'quantity',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'forwarding_service_vehicle_request_detail',
					'name' => 'quantity' 
				),
				'encrypted' => false,
				'columnName' => 'quantity' 
			),
			array(
				'sql' => 'rate',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'forwarding_service_vehicle_request_detail',
					'name' => 'rate' 
				),
				'encrypted' => false,
				'columnName' => 'rate' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'forwarding_service_vehicle_request_detail',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'forwarding_service_vehicle_request_detail',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'forwarding_service_vehicle_request_detail',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'forwarding_request_id',
						'vehicle_type',
						'quantity',
						'rate',
						'created_at' 
					),
					'name' => 'forwarding_service_vehicle_request_detail' 
				),
				'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,
	forwarding_request_id,
	vehicle_type,
	quantity,
	rate,
	created_at',
		'fromListSql' => 'FROM
	forwarding_service_vehicle_request_detail',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'forwarding_service_vehicle_request_detail',
	'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',
			'forwarding_request_id',
			'vehicle_type',
			'quantity',
			'rate',
			'created_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'forwarding_request_id',
			'vehicle_type',
			'quantity',
			'rate',
			'created_at' 
		) 
	),
	'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['forwarding_service_vehicle_request_detail'] = array(
	'tableCaption' => 'Forwarding Service Vehicle Request Detail',
	'fieldLabels' => array(
		'id' => 'Id',
		'forwarding_request_id' => 'Forwarding Request Id',
		'vehicle_type' => 'Vehicle Type',
		'quantity' => 'Quantity',
		'rate' => 'Rate',
		'created_at' => 'Created At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'forwarding_request_id' => '',
		'vehicle_type' => '',
		'quantity' => '',
		'rate' => '',
		'created_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'forwarding_request_id' => '',
		'vehicle_type' => '',
		'quantity' => '',
		'rate' => '',
		'created_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>