<?php
			$optionsArray = array(
	'fields' => array(
		'gridFields' => array( 
			'id',
			'sales_detail_uuid',
			'sales_id',
			'item_id',
			'item_code_snapshot',
			'description',
			'uom_code',
			'quantity',
			'unit_price',
			'commercial_discount_rate',
			'commercial_discount_amount',
			'discount_type_id',
			'statutory_discount_rate',
			'statutory_discount_amount',
			'vat_tax_code_id',
			'vat_rate_snapshot',
			'withholding_tax_code_id',
			'withholding_rate_snapshot',
			'warehouse_id',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'sales_agent_id',
			'campaign_id',
			'created_at',
			'updated_at' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			'id' => array( 
				'import_field' 
			),
			'sales_detail_uuid' => array( 
				'import_field1' 
			),
			'sales_id' => array( 
				'import_field2' 
			),
			'item_id' => array( 
				'import_field4' 
			),
			'item_code_snapshot' => array( 
				'import_field5' 
			),
			'description' => array( 
				'import_field6' 
			),
			'uom_code' => array( 
				'import_field7' 
			),
			'quantity' => array( 
				'import_field8' 
			),
			'unit_price' => array( 
				'import_field9' 
			),
			'commercial_discount_rate' => array( 
				'import_field11' 
			),
			'commercial_discount_amount' => array( 
				'import_field12' 
			),
			'discount_type_id' => array( 
				'import_field13' 
			),
			'statutory_discount_rate' => array( 
				'import_field14' 
			),
			'statutory_discount_amount' => array( 
				'import_field15' 
			),
			'vat_tax_code_id' => array( 
				'import_field17' 
			),
			'vat_rate_snapshot' => array( 
				'import_field18' 
			),
			'withholding_tax_code_id' => array( 
				'import_field23' 
			),
			'withholding_rate_snapshot' => array( 
				'import_field24' 
			),
			'warehouse_id' => array( 
				'import_field28' 
			),
			'department_id' => array( 
				'import_field29' 
			),
			'cost_center_id' => array( 
				'import_field30' 
			),
			'project_id' => array( 
				'import_field31' 
			),
			'project_task_id' => array( 
				'import_field32' 
			),
			'sales_agent_id' => array( 
				'import_field33' 
			),
			'campaign_id' => array( 
				'import_field34' 
			),
			'created_at' => array( 
				'import_field35' 
			),
			'updated_at' => array( 
				'import_field36' 
			) 
		) 
	),
	'pageLinks' => array(
		'edit' => false,
		'add' => false,
		'view' => false,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'supertop' => array( 
					 
				),
				'top' => array( 
					'import_header' 
				),
				'grid' => array( 
					'import_field',
					'import_field1',
					'import_field2',
					'import_field4',
					'import_field5',
					'import_field6',
					'import_field7',
					'import_field8',
					'import_field9',
					'import_field11',
					'import_field12',
					'import_field13',
					'import_field14',
					'import_field15',
					'import_field17',
					'import_field18',
					'import_field23',
					'import_field24',
					'import_field28',
					'import_field29',
					'import_field30',
					'import_field31',
					'import_field32',
					'import_field33',
					'import_field34',
					'import_field35',
					'import_field36' 
				) 
			),
			'formXtTags' => array(
				'supertop' => array( 
					 
				) 
			),
			'itemForms' => array(
				'import_header' => 'top',
				'import_field' => 'grid',
				'import_field1' => 'grid',
				'import_field2' => 'grid',
				'import_field4' => 'grid',
				'import_field5' => 'grid',
				'import_field6' => 'grid',
				'import_field7' => 'grid',
				'import_field8' => 'grid',
				'import_field9' => 'grid',
				'import_field11' => 'grid',
				'import_field12' => 'grid',
				'import_field13' => 'grid',
				'import_field14' => 'grid',
				'import_field15' => 'grid',
				'import_field17' => 'grid',
				'import_field18' => 'grid',
				'import_field23' => 'grid',
				'import_field24' => 'grid',
				'import_field28' => 'grid',
				'import_field29' => 'grid',
				'import_field30' => 'grid',
				'import_field31' => 'grid',
				'import_field32' => 'grid',
				'import_field33' => 'grid',
				'import_field34' => 'grid',
				'import_field35' => 'grid',
				'import_field36' => 'grid' 
			),
			'itemLocations' => array(
				 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'import_header' => array( 
				'import_header' 
			),
			'import_field' => array( 
				'import_field',
				'import_field1',
				'import_field2',
				'import_field4',
				'import_field5',
				'import_field6',
				'import_field7',
				'import_field8',
				'import_field9',
				'import_field11',
				'import_field12',
				'import_field13',
				'import_field14',
				'import_field15',
				'import_field17',
				'import_field18',
				'import_field23',
				'import_field24',
				'import_field28',
				'import_field29',
				'import_field30',
				'import_field31',
				'import_field32',
				'import_field33',
				'import_field34',
				'import_field35',
				'import_field36' 
			) 
		),
		'cellMaps' => array(
			 
		) 
	),
	'loginForm' => array(
		'loginForm' => 3 
	),
	'page' => array(
		'verticalBar' => false,
		'labeledButtons' => array(
			'update_records' => array(
				 
			),
			'print_pages' => array(
				 
			),
			'register_activate_message' => array(
				 
			),
			'details_found' => array(
				 
			) 
		),
		'hasCustomButtons' => false,
		'customButtons' => array( 
			 
		),
		'codeSnippets' => array( 
			 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			 
		) 
	) 
);
			$pageArray = array(
	'id' => 'import',
	'type' => 'import',
	'layoutId' => 'first',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'supertop' => array(
			'modelId' => 'panel-top',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'top' => array(
			'modelId' => 'import-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'import_header' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'import-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'import_field',
						'import_field1',
						'import_field2',
						'import_field4',
						'import_field5',
						'import_field6',
						'import_field7',
						'import_field8',
						'import_field9',
						'import_field11',
						'import_field12',
						'import_field13',
						'import_field14',
						'import_field15',
						'import_field17',
						'import_field18',
						'import_field23',
						'import_field24',
						'import_field28',
						'import_field29',
						'import_field30',
						'import_field31',
						'import_field32',
						'import_field33',
						'import_field34',
						'import_field35',
						'import_field36' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		) 
	),
	'items' => array(
		'import_header' => array(
			'type' => 'import_header' 
		),
		'import_field' => array(
			'field' => 'id',
			'type' => 'import_field' 
		),
		'import_field1' => array(
			'field' => 'sales_detail_uuid',
			'type' => 'import_field' 
		),
		'import_field2' => array(
			'field' => 'sales_id',
			'type' => 'import_field' 
		),
		'import_field4' => array(
			'field' => 'item_id',
			'type' => 'import_field' 
		),
		'import_field5' => array(
			'field' => 'item_code_snapshot',
			'type' => 'import_field' 
		),
		'import_field6' => array(
			'field' => 'description',
			'type' => 'import_field' 
		),
		'import_field7' => array(
			'field' => 'uom_code',
			'type' => 'import_field' 
		),
		'import_field8' => array(
			'field' => 'quantity',
			'type' => 'import_field' 
		),
		'import_field9' => array(
			'field' => 'unit_price',
			'type' => 'import_field' 
		),
		'import_field11' => array(
			'field' => 'commercial_discount_rate',
			'type' => 'import_field' 
		),
		'import_field12' => array(
			'field' => 'commercial_discount_amount',
			'type' => 'import_field' 
		),
		'import_field13' => array(
			'field' => 'discount_type_id',
			'type' => 'import_field' 
		),
		'import_field14' => array(
			'field' => 'statutory_discount_rate',
			'type' => 'import_field' 
		),
		'import_field15' => array(
			'field' => 'statutory_discount_amount',
			'type' => 'import_field' 
		),
		'import_field17' => array(
			'field' => 'vat_tax_code_id',
			'type' => 'import_field' 
		),
		'import_field18' => array(
			'field' => 'vat_rate_snapshot',
			'type' => 'import_field' 
		),
		'import_field23' => array(
			'field' => 'withholding_tax_code_id',
			'type' => 'import_field' 
		),
		'import_field24' => array(
			'field' => 'withholding_rate_snapshot',
			'type' => 'import_field' 
		),
		'import_field28' => array(
			'field' => 'warehouse_id',
			'type' => 'import_field' 
		),
		'import_field29' => array(
			'field' => 'department_id',
			'type' => 'import_field' 
		),
		'import_field30' => array(
			'field' => 'cost_center_id',
			'type' => 'import_field' 
		),
		'import_field31' => array(
			'field' => 'project_id',
			'type' => 'import_field' 
		),
		'import_field32' => array(
			'field' => 'project_task_id',
			'type' => 'import_field' 
		),
		'import_field33' => array(
			'field' => 'sales_agent_id',
			'type' => 'import_field' 
		),
		'import_field34' => array(
			'field' => 'campaign_id',
			'type' => 'import_field' 
		),
		'import_field35' => array(
			'field' => 'created_at',
			'type' => 'import_field' 
		),
		'import_field36' => array(
			'field' => 'updated_at',
			'type' => 'import_field' 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>