<?php
global $runnerTableSettings;
$runnerTableSettings['vw_bir_inventory_list'] = array(
	'name' => 'vw_bir_inventory_list',
	'shortName' => 'vw_bir_inventory_list',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_bir_inventory_list',
	'afterAddDetail' => 'vw_bir_inventory_list',
	'detailsBadgeColor' => 'd2691e',
	'sql' => 'SELECT
	company_id,
	branch_id,
	item_code,
	item_name,
	item_type,
	warehouse_code,
	warehouse_name,
	lot_no,
	expiry_date,
	serial_no,
	quantity_on_hand,
	average_unit_cost,
	inventory_value,
	updated_at
FROM
	vw_bir_inventory_list',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 1,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 2,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'item_code' => array(
			'name' => 'item_code',
			'goodName' => 'item_code',
			'strField' => 'item_code',
			'index' => 3,
			'sqlExpression' => 'item_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'item_name' => array(
			'name' => 'item_name',
			'goodName' => 'item_name',
			'strField' => 'item_name',
			'index' => 4,
			'sqlExpression' => 'item_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'item_type' => array(
			'name' => 'item_type',
			'goodName' => 'item_type',
			'strField' => 'item_type',
			'index' => 5,
			'sqlExpression' => 'item_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'warehouse_code' => array(
			'name' => 'warehouse_code',
			'goodName' => 'warehouse_code',
			'strField' => 'warehouse_code',
			'index' => 6,
			'sqlExpression' => 'warehouse_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'warehouse_name' => array(
			'name' => 'warehouse_name',
			'goodName' => 'warehouse_name',
			'strField' => 'warehouse_name',
			'index' => 7,
			'sqlExpression' => 'warehouse_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'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' => 'vw_bir_inventory_list' 
		),
		'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' => 'vw_bir_inventory_list' 
		),
		'serial_no' => array(
			'name' => 'serial_no',
			'goodName' => 'serial_no',
			'strField' => 'serial_no',
			'index' => 10,
			'sqlExpression' => 'serial_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'quantity_on_hand' => array(
			'name' => 'quantity_on_hand',
			'goodName' => 'quantity_on_hand',
			'strField' => 'quantity_on_hand',
			'index' => 11,
			'type' => 14,
			'sqlExpression' => 'quantity_on_hand',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'average_unit_cost' => array(
			'name' => 'average_unit_cost',
			'goodName' => 'average_unit_cost',
			'strField' => 'average_unit_cost',
			'index' => 12,
			'type' => 14,
			'sqlExpression' => 'average_unit_cost',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'inventory_value' => array(
			'name' => 'inventory_value',
			'goodName' => 'inventory_value',
			'strField' => 'inventory_value',
			'index' => 13,
			'type' => 14,
			'sqlExpression' => 'inventory_value',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 14,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_bir_inventory_list' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	company_id,
	branch_id,
	item_code,
	item_name,
	item_type,
	warehouse_code,
	warehouse_name,
	lot_no,
	expiry_date,
	serial_no,
	quantity_on_hand,
	average_unit_cost,
	inventory_value,
	updated_at
FROM
	vw_bir_inventory_list',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'branch_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'item_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'item_code' 
				),
				'encrypted' => false,
				'columnName' => 'item_code' 
			),
			array(
				'sql' => 'item_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'item_name' 
				),
				'encrypted' => false,
				'columnName' => 'item_name' 
			),
			array(
				'sql' => 'item_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'item_type' 
				),
				'encrypted' => false,
				'columnName' => 'item_type' 
			),
			array(
				'sql' => 'warehouse_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'warehouse_code' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_code' 
			),
			array(
				'sql' => 'warehouse_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'warehouse_name' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_name' 
			),
			array(
				'sql' => 'lot_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'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' => 'vw_bir_inventory_list',
					'name' => 'expiry_date' 
				),
				'encrypted' => false,
				'columnName' => 'expiry_date' 
			),
			array(
				'sql' => 'serial_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'serial_no' 
				),
				'encrypted' => false,
				'columnName' => 'serial_no' 
			),
			array(
				'sql' => 'quantity_on_hand',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'quantity_on_hand' 
				),
				'encrypted' => false,
				'columnName' => 'quantity_on_hand' 
			),
			array(
				'sql' => 'average_unit_cost',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'average_unit_cost' 
				),
				'encrypted' => false,
				'columnName' => 'average_unit_cost' 
			),
			array(
				'sql' => 'inventory_value',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'inventory_value' 
				),
				'encrypted' => false,
				'columnName' => 'inventory_value' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_bir_inventory_list',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_bir_inventory_list',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_bir_inventory_list',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'company_id',
						'branch_id',
						'item_code',
						'item_name',
						'item_type',
						'warehouse_code',
						'warehouse_name',
						'lot_no',
						'expiry_date',
						'serial_no',
						'quantity_on_hand',
						'average_unit_cost',
						'inventory_value',
						'updated_at' 
					),
					'name' => 'vw_bir_inventory_list' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'company_id,
	branch_id,
	item_code,
	item_name,
	item_type,
	warehouse_code,
	warehouse_name,
	lot_no,
	expiry_date,
	serial_no,
	quantity_on_hand,
	average_unit_cost,
	inventory_value,
	updated_at',
		'fromListSql' => 'FROM
	vw_bir_inventory_list',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_bir_inventory_list',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'company_id',
			'branch_id',
			'item_code',
			'item_name',
			'item_type',
			'warehouse_code',
			'warehouse_name',
			'lot_no',
			'expiry_date',
			'serial_no',
			'quantity_on_hand',
			'average_unit_cost',
			'inventory_value',
			'updated_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'company_id',
			'branch_id',
			'item_code',
			'item_name',
			'item_type',
			'warehouse_code',
			'warehouse_name',
			'lot_no',
			'expiry_date',
			'serial_no',
			'quantity_on_hand',
			'average_unit_cost',
			'inventory_value',
			'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['vw_bir_inventory_list'] = array(
	'tableCaption' => 'Vw Bir Inventory List',
	'fieldLabels' => array(
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'item_code' => 'Item Code',
		'item_name' => 'Item Name',
		'item_type' => 'Item Type',
		'warehouse_code' => 'Warehouse Code',
		'warehouse_name' => 'Warehouse Name',
		'lot_no' => 'Lot No',
		'expiry_date' => 'Expiry Date',
		'serial_no' => 'Serial No',
		'quantity_on_hand' => 'Quantity On Hand',
		'average_unit_cost' => 'Average Unit Cost',
		'inventory_value' => 'Inventory Value',
		'updated_at' => 'Updated At' 
	),
	'fieldTooltips' => array(
		'company_id' => '',
		'branch_id' => '',
		'item_code' => '',
		'item_name' => '',
		'item_type' => '',
		'warehouse_code' => '',
		'warehouse_name' => '',
		'lot_no' => '',
		'expiry_date' => '',
		'serial_no' => '',
		'quantity_on_hand' => '',
		'average_unit_cost' => '',
		'inventory_value' => '',
		'updated_at' => '' 
	),
	'fieldPlaceholders' => array(
		'company_id' => '',
		'branch_id' => '',
		'item_code' => '',
		'item_name' => '',
		'item_type' => '',
		'warehouse_code' => '',
		'warehouse_name' => '',
		'lot_no' => '',
		'expiry_date' => '',
		'serial_no' => '',
		'quantity_on_hand' => '',
		'average_unit_cost' => '',
		'inventory_value' => '',
		'updated_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>