<?php
global $runnerTableSettings;
$runnerTableSettings['raw_material_issuance_details'] = array(
	'name' => 'raw_material_issuance_details',
	'shortName' => 'raw_material_issuance_details',
	'pagesByType' => array(
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'raw_material_issuance_details',
	'afterAddDetail' => 'raw_material_issuance_details',
	'detailsBadgeColor' => '778899',
	'sql' => 'SELECT
	id,
	raw_material_issuance_id,
	raw_material_request_detail_id,
	raw_material_id,
	issued_qty,
	uom,
	batch_no,
	lot_no,
	expiry_date,
	bin_location,
	stock_transfer_form_id,
	created_at
FROM
	raw_material_issuance_details',
	'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' => 'raw_material_issuance_details' 
		),
		'raw_material_issuance_id' => array(
			'name' => 'raw_material_issuance_id',
			'goodName' => 'raw_material_issuance_id',
			'strField' => 'raw_material_issuance_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'raw_material_issuance_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details',
			'viewLinkTable' => 'raw_material_issuance',
			'viewLinkLookup' => false 
		),
		'raw_material_request_detail_id' => array(
			'name' => 'raw_material_request_detail_id',
			'goodName' => 'raw_material_request_detail_id',
			'strField' => 'raw_material_request_detail_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'raw_material_request_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'raw_material_id' => array(
			'name' => 'raw_material_id',
			'goodName' => 'raw_material_id',
			'strField' => 'raw_material_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'raw_material_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'sku',
					'lookupOrderBy' => 'sku',
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'uom',
							'lookupField' => 'unit_id' 
						) 
					) 
				) 
			),
			'tableName' => 'raw_material_issuance_details',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'issued_qty' => array(
			'name' => 'issued_qty',
			'goodName' => 'issued_qty',
			'strField' => 'issued_qty',
			'index' => 5,
			'type' => 14,
			'sqlExpression' => 'issued_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'uom' => array(
			'name' => 'uom',
			'goodName' => 'uom',
			'strField' => 'uom',
			'index' => 6,
			'sqlExpression' => 'uom',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'sku',
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'uom',
							'lookupField' => 'unit_id' 
						) 
					) 
				) 
			),
			'tableName' => 'raw_material_issuance_details',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'batch_no' => array(
			'name' => 'batch_no',
			'goodName' => 'batch_no',
			'strField' => 'batch_no',
			'index' => 7,
			'sqlExpression' => 'batch_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'lot_no' => array(
			'name' => 'lot_no',
			'goodName' => 'lot_no',
			'strField' => 'lot_no',
			'index' => 8,
			'sqlExpression' => 'lot_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'expiry_date' => array(
			'name' => 'expiry_date',
			'goodName' => 'expiry_date',
			'strField' => 'expiry_date',
			'index' => 9,
			'type' => 7,
			'sqlExpression' => 'expiry_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'bin_location' => array(
			'name' => 'bin_location',
			'goodName' => 'bin_location',
			'strField' => 'bin_location',
			'index' => 10,
			'sqlExpression' => 'bin_location',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'stock_transfer_form_id' => array(
			'name' => 'stock_transfer_form_id',
			'goodName' => 'stock_transfer_form_id',
			'strField' => 'stock_transfer_form_id',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'stock_transfer_form_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 12,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'raw_material_issuance_details' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'raw_material_issuance',
			'detailsKeys' => array( 
				'raw_material_issuance_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	raw_material_issuance_id,
	raw_material_request_detail_id,
	raw_material_id,
	issued_qty,
	uom,
	batch_no,
	lot_no,
	expiry_date,
	bin_location,
	stock_transfer_form_id,
	created_at
FROM
	raw_material_issuance_details',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'raw_material_issuance_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'raw_material_issuance_id' 
				),
				'encrypted' => false,
				'columnName' => 'raw_material_issuance_id' 
			),
			array(
				'sql' => 'raw_material_request_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'raw_material_request_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'raw_material_request_detail_id' 
			),
			array(
				'sql' => 'raw_material_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'raw_material_id' 
				),
				'encrypted' => false,
				'columnName' => 'raw_material_id' 
			),
			array(
				'sql' => 'issued_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'issued_qty' 
				),
				'encrypted' => false,
				'columnName' => 'issued_qty' 
			),
			array(
				'sql' => 'uom',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'uom' 
				),
				'encrypted' => false,
				'columnName' => 'uom' 
			),
			array(
				'sql' => 'batch_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'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' => 'raw_material_issuance_details',
					'name' => 'lot_no' 
				),
				'encrypted' => false,
				'columnName' => 'lot_no' 
			),
			array(
				'sql' => 'expiry_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'expiry_date' 
				),
				'encrypted' => false,
				'columnName' => 'expiry_date' 
			),
			array(
				'sql' => 'bin_location',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'bin_location' 
				),
				'encrypted' => false,
				'columnName' => 'bin_location' 
			),
			array(
				'sql' => 'stock_transfer_form_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'stock_transfer_form_id' 
				),
				'encrypted' => false,
				'columnName' => 'stock_transfer_form_id' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_issuance_details',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'raw_material_issuance_details',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'raw_material_issuance_details',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'raw_material_issuance_id',
						'raw_material_request_detail_id',
						'raw_material_id',
						'issued_qty',
						'uom',
						'batch_no',
						'lot_no',
						'expiry_date',
						'bin_location',
						'stock_transfer_form_id',
						'created_at' 
					),
					'name' => 'raw_material_issuance_details' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	raw_material_issuance_id,
	raw_material_request_detail_id,
	raw_material_id,
	issued_qty,
	uom,
	batch_no,
	lot_no,
	expiry_date,
	bin_location,
	stock_transfer_form_id,
	created_at',
		'fromListSql' => 'FROM
	raw_material_issuance_details',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'raw_material_issuance_details',
	'originalPagesByType' => array(
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'raw_material_issuance_id',
			'raw_material_request_detail_id',
			'raw_material_id',
			'issued_qty',
			'uom',
			'batch_no',
			'lot_no',
			'expiry_date',
			'bin_location',
			'stock_transfer_form_id',
			'created_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'raw_material_issuance_id',
			'raw_material_request_detail_id',
			'raw_material_id',
			'issued_qty',
			'uom',
			'batch_no',
			'lot_no',
			'expiry_date',
			'bin_location',
			'stock_transfer_form_id',
			'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['raw_material_issuance_details'] = array(
	'tableCaption' => 'Raw Material Issuance Details',
	'fieldLabels' => array(
		'id' => 'ID',
		'raw_material_issuance_id' => 'Raw Material Issuance ID',
		'raw_material_request_detail_id' => 'Raw Material Request Detail ID',
		'raw_material_id' => 'Raw Material ID',
		'issued_qty' => 'Issued Qty',
		'uom' => 'UOM',
		'batch_no' => 'Batch No.',
		'lot_no' => 'Lot No.',
		'expiry_date' => 'Expiry Date',
		'bin_location' => 'Bin Location',
		'stock_transfer_form_id' => 'Stock Transfer Form ID',
		'created_at' => 'Created At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'raw_material_issuance_id' => '',
		'raw_material_request_detail_id' => '',
		'raw_material_id' => '',
		'issued_qty' => '',
		'uom' => '',
		'batch_no' => '',
		'lot_no' => '',
		'expiry_date' => '',
		'bin_location' => '',
		'stock_transfer_form_id' => '',
		'created_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'raw_material_issuance_id' => '',
		'raw_material_request_detail_id' => '',
		'raw_material_id' => '',
		'issued_qty' => '',
		'uom' => '',
		'batch_no' => '',
		'lot_no' => '',
		'expiry_date' => '',
		'bin_location' => '',
		'stock_transfer_form_id' => '',
		'created_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>