<?php
global $runnerTableSettings;
$runnerTableSettings['vw_augmentation_item_available_stock'] = array(
	'name' => 'vw_augmentation_item_available_stock',
	'shortName' => 'vw_augmentation_item_available_stock',
	'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_augmentation_item_available_stock',
	'afterAddDetail' => 'vw_augmentation_item_available_stock',
	'detailsBadgeColor' => '000',
	'sql' => 'SELECT
	augmentation_request_item_id,
	augmentation_request_id,
	request_no,
	mother_facility_id,
	facility_code,
	facility_name,
	requested_item_id,
	requested_item_description,
	requested_unit,
	requested_qty,
	approved_qty,
	item_status,
	available_item_id,
	sku,
	item_description,
	parent_item_id,
	parent_item_sku,
	warehouse_id,
	warehouse_code,
	warehouse_name,
	warehouse_type,
	stock_on_hand_qty,
	total_reserved_qty,
	current_allocated_qty,
	reserved_by_other_requests,
	available_qty
FROM
	vw_augmentation_item_available_stock',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'augmentation_request_item_id' => array(
			'name' => 'augmentation_request_item_id',
			'goodName' => 'augmentation_request_item_id',
			'strField' => 'augmentation_request_item_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'augmentation_request_item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock',
			'viewLinkTable' => 'pending_augmentation_requests_details',
			'viewLinkLookup' => false 
		),
		'augmentation_request_id' => array(
			'name' => 'augmentation_request_id',
			'goodName' => 'augmentation_request_id',
			'strField' => 'augmentation_request_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'augmentation_request_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'request_no' => array(
			'name' => 'request_no',
			'goodName' => 'request_no',
			'strField' => 'request_no',
			'index' => 3,
			'sqlExpression' => 'request_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'mother_facility_id' => array(
			'name' => 'mother_facility_id',
			'goodName' => 'mother_facility_id',
			'strField' => 'mother_facility_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'mother_facility_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'facility_code' => array(
			'name' => 'facility_code',
			'goodName' => 'facility_code',
			'strField' => 'facility_code',
			'index' => 5,
			'sqlExpression' => 'facility_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'facility_name' => array(
			'name' => 'facility_name',
			'goodName' => 'facility_name',
			'strField' => 'facility_name',
			'index' => 6,
			'sqlExpression' => 'facility_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'requested_item_id' => array(
			'name' => 'requested_item_id',
			'goodName' => 'requested_item_id',
			'strField' => 'requested_item_id',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'requested_item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'requested_item_description' => array(
			'name' => 'requested_item_description',
			'goodName' => 'requested_item_description',
			'strField' => 'requested_item_description',
			'index' => 8,
			'sqlExpression' => 'requested_item_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'requested_unit' => array(
			'name' => 'requested_unit',
			'goodName' => 'requested_unit',
			'strField' => 'requested_unit',
			'index' => 9,
			'sqlExpression' => 'requested_unit',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'requested_qty' => array(
			'name' => 'requested_qty',
			'goodName' => 'requested_qty',
			'strField' => 'requested_qty',
			'index' => 10,
			'type' => 14,
			'sqlExpression' => 'requested_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'approved_qty' => array(
			'name' => 'approved_qty',
			'goodName' => 'approved_qty',
			'strField' => 'approved_qty',
			'index' => 11,
			'type' => 14,
			'sqlExpression' => 'approved_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'item_status' => array(
			'name' => 'item_status',
			'goodName' => 'item_status',
			'strField' => 'item_status',
			'index' => 12,
			'type' => 129,
			'sqlExpression' => 'item_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'REQUESTED',
						'AVAILABLE',
						'PARTIAL',
						'NOT_AVAILABLE',
						'APPROVED',
						'PARTIALLY_APPROVED',
						'DISAPPROVED',
						'ISSUED',
						'CANCELLED',
						'RETURNED' 
					) 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'available_item_id' => array(
			'name' => 'available_item_id',
			'goodName' => 'available_item_id',
			'strField' => 'available_item_id',
			'index' => 13,
			'type' => 3,
			'sqlExpression' => 'available_item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'sku' => array(
			'name' => 'sku',
			'goodName' => 'sku',
			'strField' => 'sku',
			'index' => 14,
			'sqlExpression' => 'sku',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'item_description' => array(
			'name' => 'item_description',
			'goodName' => 'item_description',
			'strField' => 'item_description',
			'index' => 15,
			'sqlExpression' => 'item_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'parent_item_id' => array(
			'name' => 'parent_item_id',
			'goodName' => 'parent_item_id',
			'strField' => 'parent_item_id',
			'index' => 16,
			'type' => 3,
			'sqlExpression' => 'parent_item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'parent_item_sku' => array(
			'name' => 'parent_item_sku',
			'goodName' => 'parent_item_sku',
			'strField' => 'parent_item_sku',
			'index' => 17,
			'sqlExpression' => 'parent_item_sku',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'warehouse_id' => array(
			'name' => 'warehouse_id',
			'goodName' => 'warehouse_id',
			'strField' => 'warehouse_id',
			'index' => 18,
			'type' => 3,
			'sqlExpression' => 'warehouse_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'warehouse_code' => array(
			'name' => 'warehouse_code',
			'goodName' => 'warehouse_code',
			'strField' => 'warehouse_code',
			'index' => 19,
			'sqlExpression' => 'warehouse_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'warehouse_name' => array(
			'name' => 'warehouse_name',
			'goodName' => 'warehouse_name',
			'strField' => 'warehouse_name',
			'index' => 20,
			'sqlExpression' => 'warehouse_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'warehouse_type' => array(
			'name' => 'warehouse_type',
			'goodName' => 'warehouse_type',
			'strField' => 'warehouse_type',
			'index' => 21,
			'sqlExpression' => 'warehouse_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'HUB',
						'SPOKE',
						'LAST_MILE' 
					) 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'stock_on_hand_qty' => array(
			'name' => 'stock_on_hand_qty',
			'goodName' => 'stock_on_hand_qty',
			'strField' => 'stock_on_hand_qty',
			'index' => 22,
			'type' => 14,
			'sqlExpression' => 'stock_on_hand_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'total_reserved_qty' => array(
			'name' => 'total_reserved_qty',
			'goodName' => 'total_reserved_qty',
			'strField' => 'total_reserved_qty',
			'index' => 23,
			'type' => 14,
			'sqlExpression' => 'total_reserved_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'current_allocated_qty' => array(
			'name' => 'current_allocated_qty',
			'goodName' => 'current_allocated_qty',
			'strField' => 'current_allocated_qty',
			'index' => 24,
			'type' => 14,
			'sqlExpression' => 'current_allocated_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'reserved_by_other_requests' => array(
			'name' => 'reserved_by_other_requests',
			'goodName' => 'reserved_by_other_requests',
			'strField' => 'reserved_by_other_requests',
			'index' => 25,
			'type' => 14,
			'sqlExpression' => 'reserved_by_other_requests',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		),
		'available_qty' => array(
			'name' => 'available_qty',
			'goodName' => 'available_qty',
			'strField' => 'available_qty',
			'index' => 26,
			'type' => 14,
			'sqlExpression' => 'available_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_augmentation_item_available_stock' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'pending_augmentation_requests_details',
			'detailsKeys' => array( 
				'augmentation_request_item_id' 
			),
			'masterKeys' => array( 
				'augmentation_request_item_id' 
			) 
		),
		array(
			'table' => 'vw_augmentation_request_item_allocation_summary',
			'detailsKeys' => array( 
				'augmentation_request_item_id' 
			),
			'masterKeys' => array( 
				'augmentation_request_item_id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	augmentation_request_item_id,
	augmentation_request_id,
	request_no,
	mother_facility_id,
	facility_code,
	facility_name,
	requested_item_id,
	requested_item_description,
	requested_unit,
	requested_qty,
	approved_qty,
	item_status,
	available_item_id,
	sku,
	item_description,
	parent_item_id,
	parent_item_sku,
	warehouse_id,
	warehouse_code,
	warehouse_name,
	warehouse_type,
	stock_on_hand_qty,
	total_reserved_qty,
	current_allocated_qty,
	reserved_by_other_requests,
	available_qty
FROM
	vw_augmentation_item_available_stock',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'augmentation_request_item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'augmentation_request_item_id' 
				),
				'encrypted' => false,
				'columnName' => 'augmentation_request_item_id' 
			),
			array(
				'sql' => 'augmentation_request_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'augmentation_request_id' 
				),
				'encrypted' => false,
				'columnName' => 'augmentation_request_id' 
			),
			array(
				'sql' => 'request_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'request_no' 
				),
				'encrypted' => false,
				'columnName' => 'request_no' 
			),
			array(
				'sql' => 'mother_facility_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'mother_facility_id' 
				),
				'encrypted' => false,
				'columnName' => 'mother_facility_id' 
			),
			array(
				'sql' => 'facility_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'facility_code' 
				),
				'encrypted' => false,
				'columnName' => 'facility_code' 
			),
			array(
				'sql' => 'facility_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'facility_name' 
				),
				'encrypted' => false,
				'columnName' => 'facility_name' 
			),
			array(
				'sql' => 'requested_item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'requested_item_id' 
				),
				'encrypted' => false,
				'columnName' => 'requested_item_id' 
			),
			array(
				'sql' => 'requested_item_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'requested_item_description' 
				),
				'encrypted' => false,
				'columnName' => 'requested_item_description' 
			),
			array(
				'sql' => 'requested_unit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'requested_unit' 
				),
				'encrypted' => false,
				'columnName' => 'requested_unit' 
			),
			array(
				'sql' => 'requested_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'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' => 'vw_augmentation_item_available_stock',
					'name' => 'approved_qty' 
				),
				'encrypted' => false,
				'columnName' => 'approved_qty' 
			),
			array(
				'sql' => 'item_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'item_status' 
				),
				'encrypted' => false,
				'columnName' => 'item_status' 
			),
			array(
				'sql' => 'available_item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'available_item_id' 
				),
				'encrypted' => false,
				'columnName' => 'available_item_id' 
			),
			array(
				'sql' => 'sku',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'sku' 
				),
				'encrypted' => false,
				'columnName' => 'sku' 
			),
			array(
				'sql' => 'item_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'item_description' 
				),
				'encrypted' => false,
				'columnName' => 'item_description' 
			),
			array(
				'sql' => 'parent_item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'parent_item_id' 
				),
				'encrypted' => false,
				'columnName' => 'parent_item_id' 
			),
			array(
				'sql' => 'parent_item_sku',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'parent_item_sku' 
				),
				'encrypted' => false,
				'columnName' => 'parent_item_sku' 
			),
			array(
				'sql' => 'warehouse_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'warehouse_id' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_id' 
			),
			array(
				'sql' => 'warehouse_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'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_augmentation_item_available_stock',
					'name' => 'warehouse_name' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_name' 
			),
			array(
				'sql' => 'warehouse_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'warehouse_type' 
				),
				'encrypted' => false,
				'columnName' => 'warehouse_type' 
			),
			array(
				'sql' => 'stock_on_hand_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'stock_on_hand_qty' 
				),
				'encrypted' => false,
				'columnName' => 'stock_on_hand_qty' 
			),
			array(
				'sql' => 'total_reserved_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'total_reserved_qty' 
				),
				'encrypted' => false,
				'columnName' => 'total_reserved_qty' 
			),
			array(
				'sql' => 'current_allocated_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'current_allocated_qty' 
				),
				'encrypted' => false,
				'columnName' => 'current_allocated_qty' 
			),
			array(
				'sql' => 'reserved_by_other_requests',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'reserved_by_other_requests' 
				),
				'encrypted' => false,
				'columnName' => 'reserved_by_other_requests' 
			),
			array(
				'sql' => 'available_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_augmentation_item_available_stock',
					'name' => 'available_qty' 
				),
				'encrypted' => false,
				'columnName' => 'available_qty' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_augmentation_item_available_stock',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_augmentation_item_available_stock',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'augmentation_request_item_id',
						'augmentation_request_id',
						'request_no',
						'mother_facility_id',
						'facility_code',
						'facility_name',
						'requested_item_id',
						'requested_item_description',
						'requested_unit',
						'requested_qty',
						'approved_qty',
						'item_status',
						'available_item_id',
						'sku',
						'item_description',
						'parent_item_id',
						'parent_item_sku',
						'warehouse_id',
						'warehouse_code',
						'warehouse_name',
						'warehouse_type',
						'stock_on_hand_qty',
						'total_reserved_qty',
						'current_allocated_qty',
						'reserved_by_other_requests',
						'available_qty' 
					),
					'name' => 'vw_augmentation_item_available_stock' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'augmentation_request_item_id,
	augmentation_request_id,
	request_no,
	mother_facility_id,
	facility_code,
	facility_name,
	requested_item_id,
	requested_item_description,
	requested_unit,
	requested_qty,
	approved_qty,
	item_status,
	available_item_id,
	sku,
	item_description,
	parent_item_id,
	parent_item_sku,
	warehouse_id,
	warehouse_code,
	warehouse_name,
	warehouse_type,
	stock_on_hand_qty,
	total_reserved_qty,
	current_allocated_qty,
	reserved_by_other_requests,
	available_qty',
		'fromListSql' => 'FROM
	vw_augmentation_item_available_stock',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasJsEvents' => true,
	'originalTable' => 'vw_augmentation_item_available_stock',
	'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( 
			'augmentation_request_item_id',
			'augmentation_request_id',
			'request_no',
			'mother_facility_id',
			'facility_code',
			'facility_name',
			'requested_item_id',
			'requested_item_description',
			'requested_unit',
			'requested_qty',
			'approved_qty',
			'item_status',
			'available_item_id',
			'sku',
			'item_description',
			'parent_item_id',
			'parent_item_sku',
			'warehouse_id',
			'warehouse_code',
			'warehouse_name',
			'warehouse_type',
			'stock_on_hand_qty',
			'total_reserved_qty',
			'current_allocated_qty',
			'reserved_by_other_requests',
			'available_qty' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'augmentation_request_item_id',
			'augmentation_request_id',
			'request_no',
			'mother_facility_id',
			'facility_code',
			'facility_name',
			'requested_item_id',
			'requested_item_description',
			'requested_unit',
			'requested_qty',
			'approved_qty',
			'item_status',
			'available_item_id',
			'sku',
			'item_description',
			'parent_item_id',
			'parent_item_sku',
			'warehouse_id',
			'warehouse_code',
			'warehouse_name',
			'warehouse_type',
			'stock_on_hand_qty',
			'total_reserved_qty',
			'current_allocated_qty',
			'reserved_by_other_requests',
			'available_qty' 
		) 
	),
	'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_augmentation_item_available_stock'] = array(
	'tableCaption' => 'Augmentation Item Available Stock',
	'fieldLabels' => array(
		'augmentation_request_item_id' => 'Augmentation Request Item ID',
		'augmentation_request_id' => 'Augmentation Request ID',
		'request_no' => 'Request No.',
		'mother_facility_id' => 'Mother Facility ID',
		'facility_code' => 'Facility Code',
		'facility_name' => 'Facility Name',
		'requested_item_id' => 'Requested Item ID',
		'requested_item_description' => 'Requested Item Description',
		'requested_unit' => 'Requested Unit',
		'requested_qty' => 'Requested Qty',
		'approved_qty' => 'Approved Qty',
		'item_status' => 'Item Status',
		'available_item_id' => 'Available Item ID',
		'sku' => 'Stock Keeping Unit (SKU)',
		'item_description' => 'Item Description',
		'parent_item_id' => 'Parent Item ID',
		'parent_item_sku' => 'Parent Item SKU',
		'warehouse_id' => 'Warehouse ID',
		'warehouse_code' => 'Warehouse Code',
		'warehouse_name' => 'Warehouse Name',
		'warehouse_type' => 'Warehouse Type',
		'stock_on_hand_qty' => 'Stock On Hand Qty',
		'total_reserved_qty' => 'Total Reserved Qty',
		'current_allocated_qty' => 'Current Allocated Qty',
		'reserved_by_other_requests' => 'Reserved By Other Requests',
		'available_qty' => 'Available Qty' 
	),
	'fieldTooltips' => array(
		'augmentation_request_item_id' => '',
		'augmentation_request_id' => '',
		'request_no' => '',
		'mother_facility_id' => '',
		'facility_code' => '',
		'facility_name' => '',
		'requested_item_id' => '',
		'requested_item_description' => '',
		'requested_unit' => '',
		'requested_qty' => '',
		'approved_qty' => '',
		'item_status' => '',
		'available_item_id' => '',
		'sku' => '',
		'item_description' => '',
		'parent_item_id' => '',
		'parent_item_sku' => '',
		'warehouse_id' => '',
		'warehouse_code' => '',
		'warehouse_name' => '',
		'warehouse_type' => '',
		'stock_on_hand_qty' => '',
		'total_reserved_qty' => '',
		'current_allocated_qty' => '',
		'reserved_by_other_requests' => '',
		'available_qty' => '' 
	),
	'fieldPlaceholders' => array(
		'augmentation_request_item_id' => '',
		'augmentation_request_id' => '',
		'request_no' => '',
		'mother_facility_id' => '',
		'facility_code' => '',
		'facility_name' => '',
		'requested_item_id' => '',
		'requested_item_description' => '',
		'requested_unit' => '',
		'requested_qty' => '',
		'approved_qty' => '',
		'item_status' => '',
		'available_item_id' => '',
		'sku' => '',
		'item_description' => '',
		'parent_item_id' => '',
		'parent_item_sku' => '',
		'warehouse_id' => '',
		'warehouse_code' => '',
		'warehouse_name' => '',
		'warehouse_type' => '',
		'stock_on_hand_qty' => '',
		'total_reserved_qty' => '',
		'current_allocated_qty' => '',
		'reserved_by_other_requests' => '',
		'available_qty' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>