<?php
global $runnerTableSettings;
$runnerTableSettings['logistics_job'] = array(
	'name' => 'logistics_job',
	'shortName' => 'logistics_job',
	'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' => 'logistics_job',
	'afterAddDetail' => 'logistics_job',
	'detailsBadgeColor' => '6493ea',
	'sql' => 'SELECT
	id,
	job_no,
	request_date,
	request_by,
	requesting_office_id,
	requesting_unit,
	job_type,
	purpose,
	priority_level,
	planned_dispatch_date,
	planned_dispatch_time,
	source_location_id,
	destination_location_id,
	destination_name,
	destination_address,
	recipient_name,
	recipient_contact_no,
	delivery_mode,
	vehicle_type_needed,
	estimated_volume,
	estimated_weight,
	remarks,
	status,
	approved_by,
	approved_date,
	cancelled_by,
	cancelled_date,
	cancellation_reason,
	created_by,
	created_at,
	updated_by,
	updated_at
FROM
	logistics_job',
	'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' => 'logistics_job' 
		),
		'job_no' => array(
			'name' => 'job_no',
			'goodName' => 'job_no',
			'strField' => 'job_no',
			'index' => 2,
			'sqlExpression' => 'job_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'request_date' => array(
			'name' => 'request_date',
			'goodName' => 'request_date',
			'strField' => 'request_date',
			'index' => 3,
			'type' => 7,
			'sqlExpression' => 'request_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'request_by' => array(
			'name' => 'request_by',
			'goodName' => 'request_by',
			'strField' => 'request_by',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'request_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'requesting_office_id' => array(
			'name' => 'requesting_office_id',
			'goodName' => 'requesting_office_id',
			'strField' => 'requesting_office_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'requesting_office_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'requesting_unit' => array(
			'name' => 'requesting_unit',
			'goodName' => 'requesting_unit',
			'strField' => 'requesting_unit',
			'index' => 6,
			'sqlExpression' => 'requesting_unit',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'job_type' => array(
			'name' => 'job_type',
			'goodName' => 'job_type',
			'strField' => 'job_type',
			'index' => 7,
			'type' => 129,
			'sqlExpression' => 'job_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DELIVERY',
						'TRANSFER',
						'PICKUP',
						'RETURN',
						'DIVERT',
						'OTHER' 
					) 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'purpose' => array(
			'name' => 'purpose',
			'goodName' => 'purpose',
			'strField' => 'purpose',
			'index' => 8,
			'sqlExpression' => 'purpose',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'priority_level' => array(
			'name' => 'priority_level',
			'goodName' => 'priority_level',
			'strField' => 'priority_level',
			'index' => 9,
			'type' => 129,
			'sqlExpression' => 'priority_level',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'LOW',
						'NORMAL',
						'HIGH',
						'URGENT' 
					) 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'planned_dispatch_date' => array(
			'name' => 'planned_dispatch_date',
			'goodName' => 'planned_dispatch_date',
			'strField' => 'planned_dispatch_date',
			'index' => 10,
			'type' => 7,
			'sqlExpression' => 'planned_dispatch_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'planned_dispatch_time' => array(
			'name' => 'planned_dispatch_time',
			'goodName' => 'planned_dispatch_time',
			'strField' => 'planned_dispatch_time',
			'index' => 11,
			'type' => 134,
			'sqlExpression' => 'planned_dispatch_time',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Time' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Time' 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'source_location_id' => array(
			'name' => 'source_location_id',
			'goodName' => 'source_location_id',
			'strField' => 'source_location_id',
			'index' => 12,
			'type' => 3,
			'sqlExpression' => 'source_location_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'destination_location_id' => array(
			'name' => 'destination_location_id',
			'goodName' => 'destination_location_id',
			'strField' => 'destination_location_id',
			'index' => 13,
			'type' => 3,
			'sqlExpression' => 'destination_location_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'destination_name' => array(
			'name' => 'destination_name',
			'goodName' => 'destination_name',
			'strField' => 'destination_name',
			'index' => 14,
			'sqlExpression' => 'destination_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'destination_address' => array(
			'name' => 'destination_address',
			'goodName' => 'destination_address',
			'strField' => 'destination_address',
			'index' => 15,
			'type' => 201,
			'sqlExpression' => 'destination_address',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'recipient_name' => array(
			'name' => 'recipient_name',
			'goodName' => 'recipient_name',
			'strField' => 'recipient_name',
			'index' => 16,
			'sqlExpression' => 'recipient_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'recipient_contact_no' => array(
			'name' => 'recipient_contact_no',
			'goodName' => 'recipient_contact_no',
			'strField' => 'recipient_contact_no',
			'index' => 17,
			'sqlExpression' => 'recipient_contact_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'delivery_mode' => array(
			'name' => 'delivery_mode',
			'goodName' => 'delivery_mode',
			'strField' => 'delivery_mode',
			'index' => 18,
			'type' => 129,
			'sqlExpression' => 'delivery_mode',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'INTERNAL',
						'THIRD_PARTY',
						'MIXED' 
					) 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'vehicle_type_needed' => array(
			'name' => 'vehicle_type_needed',
			'goodName' => 'vehicle_type_needed',
			'strField' => 'vehicle_type_needed',
			'index' => 19,
			'sqlExpression' => 'vehicle_type_needed',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'estimated_volume' => array(
			'name' => 'estimated_volume',
			'goodName' => 'estimated_volume',
			'strField' => 'estimated_volume',
			'index' => 20,
			'type' => 14,
			'sqlExpression' => 'estimated_volume',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'estimated_weight' => array(
			'name' => 'estimated_weight',
			'goodName' => 'estimated_weight',
			'strField' => 'estimated_weight',
			'index' => 21,
			'type' => 14,
			'sqlExpression' => 'estimated_weight',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 22,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 23,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DRAFT',
						'FOR_APPROVAL',
						'APPROVED',
						'REJECTED',
						'SCHEDULED',
						'IN_PROGRESS',
						'COMPLETED',
						'CANCELLED' 
					) 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'approved_by' => array(
			'name' => 'approved_by',
			'goodName' => 'approved_by',
			'strField' => 'approved_by',
			'index' => 24,
			'type' => 3,
			'sqlExpression' => 'approved_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'approved_date' => array(
			'name' => 'approved_date',
			'goodName' => 'approved_date',
			'strField' => 'approved_date',
			'index' => 25,
			'type' => 135,
			'sqlExpression' => 'approved_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'cancelled_by' => array(
			'name' => 'cancelled_by',
			'goodName' => 'cancelled_by',
			'strField' => 'cancelled_by',
			'index' => 26,
			'type' => 3,
			'sqlExpression' => 'cancelled_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'cancelled_date' => array(
			'name' => 'cancelled_date',
			'goodName' => 'cancelled_date',
			'strField' => 'cancelled_date',
			'index' => 27,
			'type' => 135,
			'sqlExpression' => 'cancelled_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'cancellation_reason' => array(
			'name' => 'cancellation_reason',
			'goodName' => 'cancellation_reason',
			'strField' => 'cancellation_reason',
			'index' => 28,
			'type' => 201,
			'sqlExpression' => 'cancellation_reason',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'created_by' => array(
			'name' => 'created_by',
			'goodName' => 'created_by',
			'strField' => 'created_by',
			'index' => 29,
			'type' => 3,
			'sqlExpression' => 'created_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 30,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'updated_by' => array(
			'name' => 'updated_by',
			'goodName' => 'updated_by',
			'strField' => 'updated_by',
			'index' => 31,
			'type' => 3,
			'sqlExpression' => 'updated_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'logistics_job' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 32,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'logistics_job' 
		) 
	),
	'detailsTables' => array( 
		'logistics_job_detail' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	job_no,
	request_date,
	request_by,
	requesting_office_id,
	requesting_unit,
	job_type,
	purpose,
	priority_level,
	planned_dispatch_date,
	planned_dispatch_time,
	source_location_id,
	destination_location_id,
	destination_name,
	destination_address,
	recipient_name,
	recipient_contact_no,
	delivery_mode,
	vehicle_type_needed,
	estimated_volume,
	estimated_weight,
	remarks,
	status,
	approved_by,
	approved_date,
	cancelled_by,
	cancelled_date,
	cancellation_reason,
	created_by,
	created_at,
	updated_by,
	updated_at
FROM
	logistics_job',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'job_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'job_no' 
				),
				'encrypted' => false,
				'columnName' => 'job_no' 
			),
			array(
				'sql' => 'request_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'request_date' 
				),
				'encrypted' => false,
				'columnName' => 'request_date' 
			),
			array(
				'sql' => 'request_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'request_by' 
				),
				'encrypted' => false,
				'columnName' => 'request_by' 
			),
			array(
				'sql' => 'requesting_office_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'requesting_office_id' 
				),
				'encrypted' => false,
				'columnName' => 'requesting_office_id' 
			),
			array(
				'sql' => 'requesting_unit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'requesting_unit' 
				),
				'encrypted' => false,
				'columnName' => 'requesting_unit' 
			),
			array(
				'sql' => 'job_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'job_type' 
				),
				'encrypted' => false,
				'columnName' => 'job_type' 
			),
			array(
				'sql' => 'purpose',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'purpose' 
				),
				'encrypted' => false,
				'columnName' => 'purpose' 
			),
			array(
				'sql' => 'priority_level',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'priority_level' 
				),
				'encrypted' => false,
				'columnName' => 'priority_level' 
			),
			array(
				'sql' => 'planned_dispatch_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'planned_dispatch_date' 
				),
				'encrypted' => false,
				'columnName' => 'planned_dispatch_date' 
			),
			array(
				'sql' => 'planned_dispatch_time',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'planned_dispatch_time' 
				),
				'encrypted' => false,
				'columnName' => 'planned_dispatch_time' 
			),
			array(
				'sql' => 'source_location_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'source_location_id' 
				),
				'encrypted' => false,
				'columnName' => 'source_location_id' 
			),
			array(
				'sql' => 'destination_location_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'destination_location_id' 
				),
				'encrypted' => false,
				'columnName' => 'destination_location_id' 
			),
			array(
				'sql' => 'destination_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'destination_name' 
				),
				'encrypted' => false,
				'columnName' => 'destination_name' 
			),
			array(
				'sql' => 'destination_address',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'destination_address' 
				),
				'encrypted' => false,
				'columnName' => 'destination_address' 
			),
			array(
				'sql' => 'recipient_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'recipient_name' 
				),
				'encrypted' => false,
				'columnName' => 'recipient_name' 
			),
			array(
				'sql' => 'recipient_contact_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'recipient_contact_no' 
				),
				'encrypted' => false,
				'columnName' => 'recipient_contact_no' 
			),
			array(
				'sql' => 'delivery_mode',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'delivery_mode' 
				),
				'encrypted' => false,
				'columnName' => 'delivery_mode' 
			),
			array(
				'sql' => 'vehicle_type_needed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'vehicle_type_needed' 
				),
				'encrypted' => false,
				'columnName' => 'vehicle_type_needed' 
			),
			array(
				'sql' => 'estimated_volume',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'estimated_volume' 
				),
				'encrypted' => false,
				'columnName' => 'estimated_volume' 
			),
			array(
				'sql' => 'estimated_weight',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'estimated_weight' 
				),
				'encrypted' => false,
				'columnName' => 'estimated_weight' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'approved_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'approved_by' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by' 
			),
			array(
				'sql' => 'approved_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'approved_date' 
				),
				'encrypted' => false,
				'columnName' => 'approved_date' 
			),
			array(
				'sql' => 'cancelled_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'cancelled_by' 
				),
				'encrypted' => false,
				'columnName' => 'cancelled_by' 
			),
			array(
				'sql' => 'cancelled_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'cancelled_date' 
				),
				'encrypted' => false,
				'columnName' => 'cancelled_date' 
			),
			array(
				'sql' => 'cancellation_reason',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'cancellation_reason' 
				),
				'encrypted' => false,
				'columnName' => 'cancellation_reason' 
			),
			array(
				'sql' => 'created_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'created_by' 
				),
				'encrypted' => false,
				'columnName' => 'created_by' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'updated_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'updated_by' 
				),
				'encrypted' => false,
				'columnName' => 'updated_by' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'logistics_job',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'logistics_job',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'logistics_job',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'job_no',
						'request_date',
						'request_by',
						'requesting_office_id',
						'requesting_unit',
						'job_type',
						'purpose',
						'priority_level',
						'planned_dispatch_date',
						'planned_dispatch_time',
						'source_location_id',
						'destination_location_id',
						'destination_name',
						'destination_address',
						'recipient_name',
						'recipient_contact_no',
						'delivery_mode',
						'vehicle_type_needed',
						'estimated_volume',
						'estimated_weight',
						'remarks',
						'status',
						'approved_by',
						'approved_date',
						'cancelled_by',
						'cancelled_date',
						'cancellation_reason',
						'created_by',
						'created_at',
						'updated_by',
						'updated_at' 
					),
					'name' => 'logistics_job' 
				),
				'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 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 30,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 31,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	job_no,
	request_date,
	request_by,
	requesting_office_id,
	requesting_unit,
	job_type,
	purpose,
	priority_level,
	planned_dispatch_date,
	planned_dispatch_time,
	source_location_id,
	destination_location_id,
	destination_name,
	destination_address,
	recipient_name,
	recipient_contact_no,
	delivery_mode,
	vehicle_type_needed,
	estimated_volume,
	estimated_weight,
	remarks,
	status,
	approved_by,
	approved_date,
	cancelled_by,
	cancelled_date,
	cancellation_reason,
	created_by,
	created_at,
	updated_by,
	updated_at',
		'fromListSql' => 'FROM
	logistics_job',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'logistics_job',
	'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',
			'job_no',
			'request_date',
			'request_by',
			'requesting_office_id',
			'requesting_unit',
			'job_type',
			'purpose',
			'priority_level',
			'planned_dispatch_date',
			'planned_dispatch_time',
			'source_location_id',
			'destination_location_id',
			'destination_name',
			'destination_address',
			'recipient_name',
			'recipient_contact_no',
			'delivery_mode',
			'vehicle_type_needed',
			'estimated_volume',
			'estimated_weight',
			'remarks',
			'status',
			'approved_by',
			'approved_date',
			'cancelled_by',
			'cancelled_date',
			'cancellation_reason',
			'created_by',
			'created_at',
			'updated_by',
			'updated_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'job_no',
			'request_date',
			'request_by',
			'requesting_office_id',
			'requesting_unit',
			'job_type',
			'purpose',
			'priority_level',
			'planned_dispatch_date',
			'planned_dispatch_time',
			'source_location_id',
			'destination_location_id',
			'destination_name',
			'destination_address',
			'recipient_name',
			'recipient_contact_no',
			'delivery_mode',
			'vehicle_type_needed',
			'estimated_volume',
			'estimated_weight',
			'remarks',
			'status',
			'approved_by',
			'approved_date',
			'cancelled_by',
			'cancelled_date',
			'cancellation_reason',
			'created_by',
			'created_at',
			'updated_by',
			'updated_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['logistics_job'] = array(
	'tableCaption' => 'Logistics Job',
	'fieldLabels' => array(
		'id' => 'ID',
		'job_no' => 'Job No.',
		'request_date' => 'Request Date',
		'request_by' => 'Request By',
		'requesting_office_id' => 'Requesting Office ID',
		'requesting_unit' => 'Requesting Unit',
		'job_type' => 'Job Type',
		'purpose' => 'Purpose',
		'priority_level' => 'Priority Level',
		'planned_dispatch_date' => 'Planned Dispatch Date',
		'planned_dispatch_time' => 'Planned Dispatch Time',
		'source_location_id' => 'Source Location ID',
		'destination_location_id' => 'Destination Location ID',
		'destination_name' => 'Destination Name',
		'destination_address' => 'Destination Address',
		'recipient_name' => 'Recipient Name',
		'recipient_contact_no' => 'Recipient Contact No.',
		'delivery_mode' => 'Delivery Mode',
		'vehicle_type_needed' => 'Vehicle Type Needed',
		'estimated_volume' => 'Estimated Volume',
		'estimated_weight' => 'Estimated Weight',
		'remarks' => 'Remarks',
		'status' => 'Status',
		'approved_by' => 'Approved by',
		'approved_date' => 'Approved Date',
		'cancelled_by' => 'Cancelled by',
		'cancelled_date' => 'Cancelled Date',
		'cancellation_reason' => 'Cancellation Reason',
		'created_by' => 'Created by',
		'created_at' => 'Created At',
		'updated_by' => 'Updated by',
		'updated_at' => 'Updated At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'job_no' => '',
		'request_date' => '',
		'request_by' => '',
		'requesting_office_id' => '',
		'requesting_unit' => '',
		'job_type' => '',
		'purpose' => '',
		'priority_level' => '',
		'planned_dispatch_date' => '',
		'planned_dispatch_time' => '',
		'source_location_id' => '',
		'destination_location_id' => '',
		'destination_name' => '',
		'destination_address' => '',
		'recipient_name' => '',
		'recipient_contact_no' => '',
		'delivery_mode' => '',
		'vehicle_type_needed' => '',
		'estimated_volume' => '',
		'estimated_weight' => '',
		'remarks' => '',
		'status' => '',
		'approved_by' => '',
		'approved_date' => '',
		'cancelled_by' => '',
		'cancelled_date' => '',
		'cancellation_reason' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_by' => '',
		'updated_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'job_no' => '',
		'request_date' => '',
		'request_by' => '',
		'requesting_office_id' => '',
		'requesting_unit' => '',
		'job_type' => '',
		'purpose' => '',
		'priority_level' => '',
		'planned_dispatch_date' => '',
		'planned_dispatch_time' => '',
		'source_location_id' => '',
		'destination_location_id' => '',
		'destination_name' => '',
		'destination_address' => '',
		'recipient_name' => '',
		'recipient_contact_no' => '',
		'delivery_mode' => '',
		'vehicle_type_needed' => '',
		'estimated_volume' => '',
		'estimated_weight' => '',
		'remarks' => '',
		'status' => '',
		'approved_by' => '',
		'approved_date' => '',
		'cancelled_by' => '',
		'cancelled_date' => '',
		'cancellation_reason' => '',
		'created_by' => '',
		'created_at' => '',
		'updated_by' => '',
		'updated_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>