<?php
global $runnerTableSettings;
$runnerTableSettings['item_for_approval'] = array(
	'name' => 'item_for_approval',
	'type' => 1,
	'shortName' => 'item3',
	'pagesByType' => array(
		'export' => array( 
			'export' 
		),
		'list' => array( 
			'list' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'export' => 'export',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'export' => 'export',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'item_for_approval',
	'afterAddDetail' => 'item_for_approval',
	'detailsBadgeColor' => '6da5c8',
	'sql' => 'SELECT
	id,
	reference_number,
	name,
	description,
	reorder_level,
	warranty_period_months,
	shelf_life_days,
	createdAt,
	updatedAt,
	category_id,
	subcategory_id,
	parent_item_id,
	procurement_type,
	brand_id,
	weight,
	dimensions,
	unit_id,
	sku,
	item_classification,
	brand,
	parent_item_name,
	priority,
	status
FROM
	item
WHERE
status =\'Pending\'
',
	'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' => 'item' 
		),
		'reference_number' => array(
			'name' => 'reference_number',
			'goodName' => 'reference_number',
			'strField' => 'reference_number',
			'index' => 2,
			'sqlExpression' => 'reference_number',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'item' 
		),
		'name' => array(
			'name' => 'name',
			'goodName' => 'name',
			'strField' => 'name',
			'index' => 3,
			'sqlExpression' => 'name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'item' 
		),
		'description' => array(
			'name' => 'description',
			'goodName' => 'description',
			'strField' => 'description',
			'index' => 4,
			'sqlExpression' => 'description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'item' 
		),
		'reorder_level' => array(
			'name' => 'reorder_level',
			'goodName' => 'reorder_level',
			'strField' => 'reorder_level',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'reorder_level',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'item' 
		),
		'warranty_period_months' => array(
			'name' => 'warranty_period_months',
			'goodName' => 'warranty_period_months',
			'strField' => 'warranty_period_months',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'warranty_period_months',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'item' 
		),
		'shelf_life_days' => array(
			'name' => 'shelf_life_days',
			'goodName' => 'shelf_life_days',
			'strField' => 'shelf_life_days',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'shelf_life_days',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'item' 
		),
		'createdAt' => array(
			'name' => 'createdAt',
			'goodName' => 'createdAt',
			'strField' => 'createdAt',
			'index' => 8,
			'type' => 135,
			'sqlExpression' => 'createdAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'item' 
		),
		'updatedAt' => array(
			'name' => 'updatedAt',
			'goodName' => 'updatedAt',
			'strField' => 'updatedAt',
			'index' => 9,
			'type' => 135,
			'sqlExpression' => 'updatedAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'item' 
		),
		'category_id' => array(
			'name' => 'category_id',
			'goodName' => 'category_id',
			'strField' => 'category_id',
			'index' => 10,
			'type' => 3,
			'sqlExpression' => 'category_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item_category',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name',
					'lookupOrderBy' => 'name',
					'lookupAllowAdd' => true 
				) 
			),
			'tableName' => 'item',
			'viewLinkTable' => 'item_category',
			'viewLinkLookup' => true 
		),
		'unit_id' => array(
			'name' => 'unit_id',
			'goodName' => 'unit_id',
			'strField' => 'unit_id',
			'index' => 17,
			'type' => 3,
			'sqlExpression' => 'unit_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 2,
					'lookupTable' => 'itemunit',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name',
					'lookupOrderBy' => 'name',
					'lookupAllowAdd' => true 
				) 
			),
			'tableName' => 'item',
			'viewLinkTable' => 'itemunit',
			'viewLinkLookup' => true 
		),
		'sku' => array(
			'name' => 'sku',
			'goodName' => 'sku',
			'strField' => 'sku',
			'index' => 18,
			'sqlExpression' => 'sku',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'item' 
		),
		'item_classification' => array(
			'name' => 'item_classification',
			'goodName' => 'item_classification',
			'strField' => 'item_classification',
			'index' => 19,
			'type' => 129,
			'sqlExpression' => 'item_classification',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'defaultValue' => 'RAW_MATERIAL',
					'lookupType' => 0,
					'lookupValues' => array( 
						'RAW_MATERIAL',
						'KIT' 
					) 
				) 
			),
			'tableName' => 'item' 
		),
		'parent_item_id' => array(
			'name' => 'parent_item_id',
			'goodName' => 'parent_item_id',
			'strField' => 'parent_item_id',
			'index' => 12,
			'type' => 3,
			'sqlExpression' => 'parent_item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'parent_item_name',
					'lookupOrderBy' => 'sku',
					'lookupControlType' => 1,
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'sku',
							'lookupField' => 'sku' 
						),
						array(
							'masterField' => 'name',
							'lookupField' => 'name' 
						),
						array(
							'masterField' => 'description',
							'lookupField' => 'description' 
						) 
					),
					'fieldEvents' => array( 
						array(
							'event' => 'click',
							'handlerId' => 2584 
						) 
					) 
				) 
			),
			'tableName' => 'item',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'procurement_type' => array(
			'name' => 'procurement_type',
			'goodName' => 'procurement_type',
			'strField' => 'procurement_type',
			'index' => 13,
			'type' => 129,
			'sqlExpression' => 'procurement_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 0,
					'lookupValues' => array( 
						'PROCURE',
						'NON_PROCURE' 
					),
					'fieldEvents' => array( 
						array(
							'event' => 'blur',
							'handlerId' => 2584 
						) 
					) 
				) 
			),
			'tableName' => 'item' 
		),
		'brand_id' => array(
			'name' => 'brand_id',
			'goodName' => 'brand_id',
			'strField' => 'brand_id',
			'index' => 14,
			'type' => 3,
			'sqlExpression' => 'brand_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'itembrand',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'brand_name',
					'lookupAllowAdd' => true,
					'fieldEvents' => array( 
						array(
							'event' => 'click',
							'handlerId' => 2584 
						) 
					) 
				) 
			),
			'tableName' => 'item',
			'viewLinkTable' => 'itembrand',
			'viewLinkLookup' => true 
		),
		'weight' => array(
			'name' => 'weight',
			'goodName' => 'weight',
			'strField' => 'weight',
			'index' => 15,
			'sqlExpression' => 'weight',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'fieldEvents' => array( 
						array(
							'event' => 'blur',
							'handlerId' => 2544 
						) 
					) 
				) 
			),
			'tableName' => 'item' 
		),
		'dimensions' => array(
			'name' => 'dimensions',
			'goodName' => 'dimensions',
			'strField' => 'dimensions',
			'index' => 16,
			'sqlExpression' => 'dimensions',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'fieldEvents' => array( 
						array(
							'event' => 'click',
							'handlerId' => 2584 
						) 
					) 
				) 
			),
			'tableName' => 'item' 
		),
		'subcategory_id' => array(
			'name' => 'subcategory_id',
			'goodName' => 'subcategory_id',
			'strField' => 'subcategory_id',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'subcategory_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item_subcategory',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name',
					'lookupAllowAdd' => true,
					'lookupDependent' => true,
					'lookupDependentFields' => array( 
						array(
							'masterField' => 'category_id',
							'lookupField' => 'category_id' 
						) 
					) 
				) 
			),
			'tableName' => 'item',
			'viewLinkTable' => 'item_subcategory',
			'viewLinkLookup' => true 
		),
		'brand' => array(
			'name' => 'brand',
			'goodName' => 'brand',
			'strField' => 'brand',
			'index' => 20,
			'sqlExpression' => 'brand',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'item' 
		),
		'parent_item_name' => array(
			'name' => 'parent_item_name',
			'goodName' => 'parent_item_name',
			'strField' => 'parent_item_name',
			'index' => 21,
			'sqlExpression' => 'parent_item_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'description',
					'lookupDisplayField' => 'description',
					'lookupControlType' => 1,
					'lookupFreeInput' => true,
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'parent_item_id',
							'lookupField' => 'id' 
						) 
					) 
				) 
			),
			'tableName' => 'item',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'priority' => array(
			'name' => 'priority',
			'goodName' => 'priority',
			'strField' => 'priority',
			'index' => 22,
			'type' => 3,
			'sqlExpression' => 'priority',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'item' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 23,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'Pending',
						'Approved',
						'Rejected' 
					) 
				) 
			),
			'tableName' => 'item' 
		) 
	),
	'detailsTables' => array( 
		'augmentation_request_allocation' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	reference_number,
	name,
	description,
	reorder_level,
	warranty_period_months,
	shelf_life_days,
	createdAt,
	updatedAt,
	category_id,
	subcategory_id,
	parent_item_id,
	procurement_type,
	brand_id,
	weight,
	dimensions,
	unit_id,
	sku,
	item_classification,
	brand,
	parent_item_name,
	priority,
	status
FROM
	item
WHERE
status =\'Pending\'
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'reference_number',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'reference_number' 
				),
				'encrypted' => false,
				'columnName' => 'reference_number' 
			),
			array(
				'sql' => 'name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'name' 
				),
				'encrypted' => false,
				'columnName' => 'name' 
			),
			array(
				'sql' => 'description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'description' 
				),
				'encrypted' => false,
				'columnName' => 'description' 
			),
			array(
				'sql' => 'reorder_level',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'reorder_level' 
				),
				'encrypted' => false,
				'columnName' => 'reorder_level' 
			),
			array(
				'sql' => 'warranty_period_months',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'warranty_period_months' 
				),
				'encrypted' => false,
				'columnName' => 'warranty_period_months' 
			),
			array(
				'sql' => 'shelf_life_days',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'shelf_life_days' 
				),
				'encrypted' => false,
				'columnName' => 'shelf_life_days' 
			),
			array(
				'sql' => 'createdAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'createdAt' 
				),
				'encrypted' => false,
				'columnName' => 'createdAt' 
			),
			array(
				'sql' => 'updatedAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'updatedAt' 
				),
				'encrypted' => false,
				'columnName' => 'updatedAt' 
			),
			array(
				'sql' => 'category_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'category_id' 
				),
				'encrypted' => false,
				'columnName' => 'category_id' 
			),
			array(
				'sql' => 'subcategory_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'subcategory_id' 
				),
				'encrypted' => false,
				'columnName' => 'subcategory_id' 
			),
			array(
				'sql' => 'parent_item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'parent_item_id' 
				),
				'encrypted' => false,
				'columnName' => 'parent_item_id' 
			),
			array(
				'sql' => 'procurement_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'procurement_type' 
				),
				'encrypted' => false,
				'columnName' => 'procurement_type' 
			),
			array(
				'sql' => 'brand_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'brand_id' 
				),
				'encrypted' => false,
				'columnName' => 'brand_id' 
			),
			array(
				'sql' => 'weight',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'weight' 
				),
				'encrypted' => false,
				'columnName' => 'weight' 
			),
			array(
				'sql' => 'dimensions',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'dimensions' 
				),
				'encrypted' => false,
				'columnName' => 'dimensions' 
			),
			array(
				'sql' => 'unit_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'unit_id' 
				),
				'encrypted' => false,
				'columnName' => 'unit_id' 
			),
			array(
				'sql' => 'sku',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'sku' 
				),
				'encrypted' => false,
				'columnName' => 'sku' 
			),
			array(
				'sql' => 'item_classification',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'item_classification' 
				),
				'encrypted' => false,
				'columnName' => 'item_classification' 
			),
			array(
				'sql' => 'brand',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'brand' 
				),
				'encrypted' => false,
				'columnName' => 'brand' 
			),
			array(
				'sql' => 'parent_item_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'parent_item_name' 
				),
				'encrypted' => false,
				'columnName' => 'parent_item_name' 
			),
			array(
				'sql' => 'priority',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'priority' 
				),
				'encrypted' => false,
				'columnName' => 'priority' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'item',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'item',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'item',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'reference_number',
						'name',
						'description',
						'reorder_level',
						'warranty_period_months',
						'shelf_life_days',
						'createdAt',
						'updatedAt',
						'category_id',
						'subcategory_id',
						'parent_item_id',
						'parent_item_name',
						'procurement_type',
						'brand_id',
						'brand',
						'weight',
						'dimensions',
						'unit_id',
						'sku',
						'item_classification',
						'food_classification_id',
						'priority',
						'status',
						'approved_by',
						'approved_date',
						'approval_remarks' 
					),
					'name' => 'item' 
				),
				'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' => 'status =\'Pending\'',
			'parsed' => true,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => array(
				'sql' => '',
				'parsed' => true,
				'type' => 'SQLField',
				'table' => 'item',
				'name' => 'status' 
			),
			'case' => '=\'Pending\'',
			'useAlias' => false 
		),
		'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' => 0,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	reference_number,
	name,
	description,
	reorder_level,
	warranty_period_months,
	shelf_life_days,
	createdAt,
	updatedAt,
	category_id,
	subcategory_id,
	parent_item_id,
	procurement_type,
	brand_id,
	weight,
	dimensions,
	unit_id,
	sku,
	item_classification,
	brand,
	parent_item_name,
	priority,
	status',
		'fromListSql' => 'FROM
	item',
		'whereSql' => 'status =\'Pending\'',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'item',
	'originalPagesByType' => array(
		'export' => array( 
			'export' 
		),
		'list' => array( 
			'list' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'export' => 'export',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'export' => 'export',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'reference_number',
			'name',
			'description',
			'reorder_level',
			'warranty_period_months',
			'shelf_life_days',
			'createdAt',
			'updatedAt',
			'category_id',
			'unit_id',
			'sku',
			'item_classification',
			'parent_item_id',
			'procurement_type',
			'brand_id',
			'weight',
			'dimensions',
			'subcategory_id',
			'brand',
			'parent_item_name',
			'priority',
			'status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'reference_number',
			'name',
			'description',
			'reorder_level',
			'warranty_period_months',
			'shelf_life_days',
			'createdAt',
			'updatedAt',
			'category_id',
			'unit_id',
			'sku',
			'item_classification',
			'parent_item_id',
			'procurement_type',
			'brand_id',
			'weight',
			'dimensions',
			'subcategory_id',
			'brand',
			'parent_item_name',
			'priority',
			'status' 
		) 
	),
	'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['item_for_approval'] = array(
	'tableCaption' => 'Item For Approval',
	'fieldLabels' => array(
		'id' => 'ID',
		'reference_number' => 'Reference Number',
		'name' => 'Name',
		'description' => 'Description',
		'reorder_level' => 'Reorder Level',
		'warranty_period_months' => 'Warranty Period Months',
		'shelf_life_days' => 'Shelf Life Days',
		'createdAt' => 'Created At',
		'updatedAt' => 'Updated At',
		'category_id' => 'Category ',
		'unit_id' => 'Unit',
		'sku' => 'Stock Keeping Unit (SKU)',
		'item_classification' => 'Item Classification',
		'parent_item_id' => 'Parent Item Name',
		'procurement_type' => 'Procurement Type',
		'brand_id' => 'Brand',
		'weight' => 'Weight',
		'dimensions' => 'Dimensions',
		'subcategory_id' => 'Subcategory',
		'brand' => 'Brand',
		'parent_item_name' => 'Parent Item Name',
		'priority' => 'Priority',
		'status' => 'Status' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'reference_number' => '',
		'name' => '',
		'description' => '',
		'reorder_level' => '',
		'warranty_period_months' => '',
		'shelf_life_days' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'category_id' => '',
		'unit_id' => '',
		'sku' => '',
		'item_classification' => '',
		'parent_item_id' => '',
		'procurement_type' => '',
		'brand_id' => '',
		'weight' => '',
		'dimensions' => '',
		'subcategory_id' => '',
		'brand' => '',
		'parent_item_name' => '',
		'priority' => '',
		'status' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'reference_number' => '',
		'name' => '',
		'description' => '',
		'reorder_level' => '',
		'warranty_period_months' => '',
		'shelf_life_days' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'category_id' => '',
		'unit_id' => '',
		'sku' => '',
		'item_classification' => '',
		'parent_item_id' => '',
		'procurement_type' => '',
		'brand_id' => '',
		'weight' => '',
		'dimensions' => '',
		'subcategory_id' => '',
		'brand' => '',
		'parent_item_name' => '',
		'priority' => '',
		'status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>