<?php
global $runnerTableSettings;
$runnerTableSettings['stock_transfer_form_detail'] = array(
	'name' => 'stock_transfer_form_detail',
	'shortName' => 'stock_transfer_form_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' => 'stock_transfer_form_detail',
	'afterAddDetail' => 'stock_transfer_form_detail',
	'detailsBadgeColor' => '000',
	'sql' => 'SELECT
	transfer_form_detail_id,
	transfer_form_id,
	request_detail_id,
	source_production_work_order_detail_id,
	item_id,
	item_code,
	item_description,
	uom,
	requested_qty,
	approved_qty,
	issued_qty,
	received_qty,
	batch_no,
	lot_no,
	serial_no,
	po_no,
	wsir_no,
	reference_no,
	expiration_date,
	condition_remarks,
	line_remarks,
	variance_qty,
	variance_remarks,
	created_at,
	location_id
FROM
	stock_transfer_form_detail',
	'keyFields' => array( 
		'transfer_form_detail_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'transfer_form_detail_id' => array(
			'name' => 'transfer_form_detail_id',
			'goodName' => 'transfer_form_detail_id',
			'strField' => 'transfer_form_detail_id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'transfer_form_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'transfer_form_id' => array(
			'name' => 'transfer_form_id',
			'goodName' => 'transfer_form_id',
			'strField' => 'transfer_form_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'transfer_form_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'lookupType' => 2,
					'lookupTable' => 'stock_transfer_form',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'transfer_form_id',
					'lookupDisplayField' => 'transfer_form_no' 
				) 
			),
			'tableName' => 'stock_transfer_form_detail',
			'viewLinkTable' => 'stf_external_form',
			'viewLinkLookup' => false 
		),
		'request_detail_id' => array(
			'name' => 'request_detail_id',
			'goodName' => 'request_detail_id',
			'strField' => 'request_detail_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'request_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'stock_transfer_request_detail',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'request_detail_id',
					'lookupDisplayField' => 'item_code' 
				) 
			),
			'tableName' => 'stock_transfer_form_detail',
			'viewLinkTable' => 'stock_transfer_request_detail',
			'viewLinkLookup' => true 
		),
		'item_id' => array(
			'name' => 'item_id',
			'goodName' => 'item_id',
			'strField' => 'item_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 2,
					'lookupTable' => 'vw_ris_item_lookup',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'item_id',
					'lookupDisplayField' => 'item_display',
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'item_description',
							'lookupField' => 'item_description' 
						),
						array(
							'masterField' => 'uom',
							'lookupField' => 'uom' 
						) 
					) 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'item_code' => array(
			'name' => 'item_code',
			'goodName' => 'item_code',
			'strField' => 'item_code',
			'index' => 6,
			'sqlExpression' => 'item_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'sku',
					'lookupDisplayField' => 'sku',
					'lookupControlType' => 1,
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'item_description',
							'lookupField' => 'name' 
						),
						array(
							'masterField' => 'uom',
							'lookupField' => 'unit_id' 
						) 
					) 
				) 
			),
			'tableName' => 'stock_transfer_form_detail',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'item_description' => array(
			'name' => 'item_description',
			'goodName' => 'item_description',
			'strField' => 'item_description',
			'index' => 7,
			'sqlExpression' => 'item_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'uom' => array(
			'name' => 'uom',
			'goodName' => 'uom',
			'strField' => 'uom',
			'index' => 8,
			'sqlExpression' => 'uom',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'lookupType' => 2,
					'lookupTable' => 'itemunit',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name',
					'lookupOrderBy' => 'name' 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'requested_qty' => array(
			'name' => 'requested_qty',
			'goodName' => 'requested_qty',
			'strField' => 'requested_qty',
			'index' => 9,
			'type' => 14,
			'sqlExpression' => 'requested_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'approved_qty' => array(
			'name' => 'approved_qty',
			'goodName' => 'approved_qty',
			'strField' => 'approved_qty',
			'index' => 10,
			'type' => 14,
			'sqlExpression' => 'approved_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'issued_qty' => array(
			'name' => 'issued_qty',
			'goodName' => 'issued_qty',
			'strField' => 'issued_qty',
			'index' => 11,
			'type' => 14,
			'sqlExpression' => 'issued_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'received_qty' => array(
			'name' => 'received_qty',
			'goodName' => 'received_qty',
			'strField' => 'received_qty',
			'index' => 12,
			'type' => 14,
			'sqlExpression' => 'received_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'batch_no' => array(
			'name' => 'batch_no',
			'goodName' => 'batch_no',
			'strField' => 'batch_no',
			'index' => 13,
			'sqlExpression' => 'batch_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'lot_no' => array(
			'name' => 'lot_no',
			'goodName' => 'lot_no',
			'strField' => 'lot_no',
			'index' => 14,
			'sqlExpression' => 'lot_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'serial_no' => array(
			'name' => 'serial_no',
			'goodName' => 'serial_no',
			'strField' => 'serial_no',
			'index' => 15,
			'sqlExpression' => 'serial_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'po_no' => array(
			'name' => 'po_no',
			'goodName' => 'po_no',
			'strField' => 'po_no',
			'index' => 16,
			'sqlExpression' => 'po_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'wsir_no' => array(
			'name' => 'wsir_no',
			'goodName' => 'wsir_no',
			'strField' => 'wsir_no',
			'index' => 17,
			'sqlExpression' => 'wsir_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'reference_no' => array(
			'name' => 'reference_no',
			'goodName' => 'reference_no',
			'strField' => 'reference_no',
			'index' => 18,
			'sqlExpression' => 'reference_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'raw_material_request',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'risp_no' 
				) 
			),
			'tableName' => 'stock_transfer_form_detail',
			'viewLinkTable' => 'raw_material_request',
			'viewLinkLookup' => true 
		),
		'expiration_date' => array(
			'name' => 'expiration_date',
			'goodName' => 'expiration_date',
			'strField' => 'expiration_date',
			'index' => 19,
			'type' => 7,
			'sqlExpression' => 'expiration_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'condition_remarks' => array(
			'name' => 'condition_remarks',
			'goodName' => 'condition_remarks',
			'strField' => 'condition_remarks',
			'index' => 20,
			'sqlExpression' => 'condition_remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'line_remarks' => array(
			'name' => 'line_remarks',
			'goodName' => 'line_remarks',
			'strField' => 'line_remarks',
			'index' => 21,
			'sqlExpression' => 'line_remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'variance_qty' => array(
			'name' => 'variance_qty',
			'goodName' => 'variance_qty',
			'strField' => 'variance_qty',
			'index' => 22,
			'type' => 14,
			'sqlExpression' => 'variance_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'variance_remarks' => array(
			'name' => 'variance_remarks',
			'goodName' => 'variance_remarks',
			'strField' => 'variance_remarks',
			'index' => 23,
			'sqlExpression' => 'variance_remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 24,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'location_id' => array(
			'name' => 'location_id',
			'goodName' => 'location_id',
			'strField' => 'location_id',
			'index' => 25,
			'type' => 3,
			'sqlExpression' => 'location_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		),
		'source_production_work_order_detail_id' => array(
			'name' => 'source_production_work_order_detail_id',
			'goodName' => 'source_production_work_order_detail_id',
			'strField' => 'source_production_work_order_detail_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'source_production_work_order_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'stock_transfer_form_detail' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'stf_external_form',
			'detailsKeys' => array( 
				'transfer_form_id' 
			),
			'masterKeys' => array( 
				'transfer_form_id' 
			) 
		),
		array(
			'table' => 'stf_internal_form',
			'detailsKeys' => array( 
				'transfer_form_id' 
			),
			'masterKeys' => array( 
				'transfer_form_id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	transfer_form_detail_id,
	transfer_form_id,
	request_detail_id,
	source_production_work_order_detail_id,
	item_id,
	item_code,
	item_description,
	uom,
	requested_qty,
	approved_qty,
	issued_qty,
	received_qty,
	batch_no,
	lot_no,
	serial_no,
	po_no,
	wsir_no,
	reference_no,
	expiration_date,
	condition_remarks,
	line_remarks,
	variance_qty,
	variance_remarks,
	created_at,
	location_id
FROM
	stock_transfer_form_detail',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'transfer_form_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'transfer_form_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'transfer_form_detail_id' 
			),
			array(
				'sql' => 'transfer_form_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'transfer_form_id' 
				),
				'encrypted' => false,
				'columnName' => 'transfer_form_id' 
			),
			array(
				'sql' => 'request_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'request_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'request_detail_id' 
			),
			array(
				'sql' => 'source_production_work_order_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'source_production_work_order_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'source_production_work_order_detail_id' 
			),
			array(
				'sql' => 'item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'item_id' 
				),
				'encrypted' => false,
				'columnName' => 'item_id' 
			),
			array(
				'sql' => 'item_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'item_code' 
				),
				'encrypted' => false,
				'columnName' => 'item_code' 
			),
			array(
				'sql' => 'item_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'item_description' 
				),
				'encrypted' => false,
				'columnName' => 'item_description' 
			),
			array(
				'sql' => 'uom',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'uom' 
				),
				'encrypted' => false,
				'columnName' => 'uom' 
			),
			array(
				'sql' => 'requested_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'requested_qty' 
				),
				'encrypted' => false,
				'columnName' => 'requested_qty' 
			),
			array(
				'sql' => 'approved_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'approved_qty' 
				),
				'encrypted' => false,
				'columnName' => 'approved_qty' 
			),
			array(
				'sql' => 'issued_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'issued_qty' 
				),
				'encrypted' => false,
				'columnName' => 'issued_qty' 
			),
			array(
				'sql' => 'received_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'received_qty' 
				),
				'encrypted' => false,
				'columnName' => 'received_qty' 
			),
			array(
				'sql' => 'batch_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'batch_no' 
				),
				'encrypted' => false,
				'columnName' => 'batch_no' 
			),
			array(
				'sql' => 'lot_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'lot_no' 
				),
				'encrypted' => false,
				'columnName' => 'lot_no' 
			),
			array(
				'sql' => 'serial_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'serial_no' 
				),
				'encrypted' => false,
				'columnName' => 'serial_no' 
			),
			array(
				'sql' => 'po_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'po_no' 
				),
				'encrypted' => false,
				'columnName' => 'po_no' 
			),
			array(
				'sql' => 'wsir_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'wsir_no' 
				),
				'encrypted' => false,
				'columnName' => 'wsir_no' 
			),
			array(
				'sql' => 'reference_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'reference_no' 
				),
				'encrypted' => false,
				'columnName' => 'reference_no' 
			),
			array(
				'sql' => 'expiration_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'expiration_date' 
				),
				'encrypted' => false,
				'columnName' => 'expiration_date' 
			),
			array(
				'sql' => 'condition_remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'condition_remarks' 
				),
				'encrypted' => false,
				'columnName' => 'condition_remarks' 
			),
			array(
				'sql' => 'line_remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'line_remarks' 
				),
				'encrypted' => false,
				'columnName' => 'line_remarks' 
			),
			array(
				'sql' => 'variance_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'variance_qty' 
				),
				'encrypted' => false,
				'columnName' => 'variance_qty' 
			),
			array(
				'sql' => 'variance_remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'variance_remarks' 
				),
				'encrypted' => false,
				'columnName' => 'variance_remarks' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'location_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'stock_transfer_form_detail',
					'name' => 'location_id' 
				),
				'encrypted' => false,
				'columnName' => 'location_id' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'stock_transfer_form_detail',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'stock_transfer_form_detail',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'transfer_form_detail_id',
						'transfer_form_id',
						'request_detail_id',
						'source_production_work_order_detail_id',
						'item_id',
						'item_code',
						'item_description',
						'uom',
						'requested_qty',
						'approved_qty',
						'issued_qty',
						'received_qty',
						'batch_no',
						'lot_no',
						'serial_no',
						'po_no',
						'wsir_no',
						'reference_no',
						'expiration_date',
						'condition_remarks',
						'line_remarks',
						'variance_qty',
						'variance_remarks',
						'created_at',
						'location_id' 
					),
					'name' => 'stock_transfer_form_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 
			),
			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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'transfer_form_detail_id,
	transfer_form_id,
	request_detail_id,
	source_production_work_order_detail_id,
	item_id,
	item_code,
	item_description,
	uom,
	requested_qty,
	approved_qty,
	issued_qty,
	received_qty,
	batch_no,
	lot_no,
	serial_no,
	po_no,
	wsir_no,
	reference_no,
	expiration_date,
	condition_remarks,
	line_remarks,
	variance_qty,
	variance_remarks,
	created_at,
	location_id',
		'fromListSql' => 'FROM
	stock_transfer_form_detail',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'originalTable' => 'stock_transfer_form_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( 
			'transfer_form_detail_id',
			'transfer_form_id',
			'request_detail_id',
			'item_id',
			'item_code',
			'item_description',
			'uom',
			'requested_qty',
			'approved_qty',
			'issued_qty',
			'received_qty',
			'batch_no',
			'lot_no',
			'serial_no',
			'po_no',
			'wsir_no',
			'reference_no',
			'expiration_date',
			'condition_remarks',
			'line_remarks',
			'variance_qty',
			'variance_remarks',
			'created_at',
			'location_id',
			'source_production_work_order_detail_id' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'transfer_form_detail_id',
			'transfer_form_id',
			'request_detail_id',
			'item_id',
			'item_code',
			'item_description',
			'uom',
			'requested_qty',
			'approved_qty',
			'issued_qty',
			'received_qty',
			'batch_no',
			'lot_no',
			'serial_no',
			'po_no',
			'wsir_no',
			'reference_no',
			'expiration_date',
			'condition_remarks',
			'line_remarks',
			'variance_qty',
			'variance_remarks',
			'created_at',
			'location_id',
			'source_production_work_order_detail_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['stock_transfer_form_detail'] = array(
	'tableCaption' => 'Stock Transfer Form Detail',
	'fieldLabels' => array(
		'transfer_form_detail_id' => 'Transfer Form Detail ID',
		'transfer_form_id' => 'Transfer Form ID',
		'request_detail_id' => 'Request Detail ID',
		'item_id' => 'Item',
		'item_code' => 'Generic Parent Item',
		'item_description' => 'Item Description',
		'uom' => 'UOM',
		'requested_qty' => 'Requested Qty',
		'approved_qty' => 'Approved Qty',
		'issued_qty' => 'Qty',
		'received_qty' => 'Received Qty',
		'batch_no' => 'Batch No.',
		'lot_no' => 'Lot No.',
		'serial_no' => 'Serial No.',
		'po_no' => 'PO No.',
		'wsir_no' => 'WSIR No.',
		'reference_no' => 'Reference No.',
		'expiration_date' => 'Expiration Date',
		'condition_remarks' => 'Condition Remarks',
		'line_remarks' => 'Remarks',
		'variance_qty' => 'Variance Qty',
		'variance_remarks' => 'Variance Remarks',
		'created_at' => 'Created At',
		'location_id' => 'Location',
		'source_production_work_order_detail_id' => 'Source Production Work Order Detail Id' 
	),
	'fieldTooltips' => array(
		'transfer_form_detail_id' => '',
		'transfer_form_id' => '',
		'request_detail_id' => '',
		'item_id' => '',
		'item_code' => '',
		'item_description' => '',
		'uom' => '',
		'requested_qty' => '',
		'approved_qty' => '',
		'issued_qty' => '',
		'received_qty' => '',
		'batch_no' => '',
		'lot_no' => '',
		'serial_no' => '',
		'po_no' => '',
		'wsir_no' => '',
		'reference_no' => '',
		'expiration_date' => '',
		'condition_remarks' => '',
		'line_remarks' => '',
		'variance_qty' => '',
		'variance_remarks' => '',
		'created_at' => '',
		'location_id' => '',
		'source_production_work_order_detail_id' => '' 
	),
	'fieldPlaceholders' => array(
		'transfer_form_detail_id' => '',
		'transfer_form_id' => '',
		'request_detail_id' => '',
		'item_id' => '',
		'item_code' => '',
		'item_description' => '',
		'uom' => '',
		'requested_qty' => '',
		'approved_qty' => '',
		'issued_qty' => '',
		'received_qty' => '',
		'batch_no' => '',
		'lot_no' => '',
		'serial_no' => '',
		'po_no' => '',
		'wsir_no' => '',
		'reference_no' => '',
		'expiration_date' => '',
		'condition_remarks' => '',
		'line_remarks' => '',
		'variance_qty' => '',
		'variance_remarks' => '',
		'created_at' => '',
		'location_id' => '',
		'source_production_work_order_detail_id' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>