<?php
			$optionsArray = array(
	'details' => array(
		'qa_production_inspection_checklist_result' => array(
			'displayPreview' => 1,
			'previewPageId' => 'list' 
		),
		'qa_production_inspection_detail' => array(
			'displayPreview' => 1,
			'previewPageId' => 'list' 
		) 
	),
	'captcha' => array(
		'captcha' => false 
	),
	'fields' => array(
		'gridFields' => array( 
			'inspection_no',
			'inspected_date_signed',
			'production_date',
			'start_time',
			'end_time',
			'series_number',
			'production_type',
			'production_line',
			'shift',
			'warehouse_id',
			'total_target_output',
			'total_actual_output',
			'variance_output',
			'production_reference_no',
			'production_plan_id',
			'work_order_id',
			'inspector_notes',
			'inspection_summary',
			'concurred_by',
			'inspected_by',
			'approval_status' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			'inspection_no' => array( 
				'integrated_edit_field' 
			),
			'inspected_date_signed' => array( 
				'integrated_edit_field1' 
			),
			'production_date' => array( 
				'integrated_edit_field2' 
			),
			'start_time' => array( 
				'integrated_edit_field3' 
			),
			'end_time' => array( 
				'integrated_edit_field4' 
			),
			'series_number' => array( 
				'integrated_edit_field5' 
			),
			'production_type' => array( 
				'integrated_edit_field6' 
			),
			'production_line' => array( 
				'integrated_edit_field7' 
			),
			'shift' => array( 
				'integrated_edit_field8' 
			),
			'warehouse_id' => array( 
				'integrated_edit_field9' 
			),
			'total_target_output' => array( 
				'integrated_edit_field10' 
			),
			'total_actual_output' => array( 
				'integrated_edit_field11' 
			),
			'variance_output' => array( 
				'integrated_edit_field12' 
			),
			'production_reference_no' => array( 
				'integrated_edit_field13' 
			),
			'production_plan_id' => array( 
				'integrated_edit_field14' 
			),
			'work_order_id' => array( 
				'integrated_edit_field15' 
			),
			'inspector_notes' => array( 
				'integrated_edit_field16' 
			),
			'inspection_summary' => array( 
				'integrated_edit_field17' 
			),
			'concurred_by' => array( 
				'integrated_edit_field19' 
			),
			'inspected_by' => array( 
				'integrated_edit_field20' 
			),
			'approval_status' => array( 
				'integrated_edit_field18' 
			) 
		) 
	),
	'pageLinks' => array(
		'edit' => false,
		'add' => false,
		'view' => false,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'above-grid' => array( 
					'add_message' 
				),
				'below-grid' => array( 
					'add_save',
					'add_reset',
					'add_back_list',
					'add_cancel' 
				),
				'top' => array( 
					'add_header' 
				),
				'grid' => array( 
					'section',
					'section2',
					'section1',
					'section3',
					'section4',
					'details_preview',
					'details_preview1' 
				),
				'section' => array( 
					'integrated_edit_field',
					'integrated_edit_field2',
					'integrated_edit_field3',
					'integrated_edit_field5',
					'integrated_edit_field1',
					'integrated_edit_field4' 
				),
				'section1' => array( 
					'integrated_edit_field6',
					'integrated_edit_field13',
					'integrated_edit_field14',
					'integrated_edit_field15',
					'integrated_edit_field9',
					'integrated_edit_field7',
					'integrated_edit_field8' 
				),
				'section2' => array( 
					'integrated_edit_field10',
					'integrated_edit_field12',
					'integrated_edit_field11' 
				),
				'section3' => array( 
					'integrated_edit_field17',
					'integrated_edit_field16' 
				),
				'section4' => array( 
					'integrated_edit_field20',
					'integrated_edit_field19',
					'integrated_edit_field18' 
				) 
			),
			'formXtTags' => array(
				'above-grid' => array( 
					'message_block' 
				) 
			),
			'itemForms' => array(
				'add_message' => 'above-grid',
				'add_save' => 'below-grid',
				'add_reset' => 'below-grid',
				'add_back_list' => 'below-grid',
				'add_cancel' => 'below-grid',
				'add_header' => 'top',
				'section' => 'grid',
				'section2' => 'grid',
				'section1' => 'grid',
				'section3' => 'grid',
				'section4' => 'grid',
				'details_preview' => 'grid',
				'details_preview1' => 'grid',
				'integrated_edit_field' => 'section',
				'integrated_edit_field2' => 'section',
				'integrated_edit_field3' => 'section',
				'integrated_edit_field5' => 'section',
				'integrated_edit_field1' => 'section',
				'integrated_edit_field4' => 'section',
				'integrated_edit_field6' => 'section1',
				'integrated_edit_field13' => 'section1',
				'integrated_edit_field14' => 'section1',
				'integrated_edit_field15' => 'section1',
				'integrated_edit_field9' => 'section1',
				'integrated_edit_field7' => 'section1',
				'integrated_edit_field8' => 'section1',
				'integrated_edit_field10' => 'section2',
				'integrated_edit_field12' => 'section2',
				'integrated_edit_field11' => 'section2',
				'integrated_edit_field17' => 'section3',
				'integrated_edit_field16' => 'section3',
				'integrated_edit_field20' => 'section4',
				'integrated_edit_field19' => 'section4',
				'integrated_edit_field18' => 'section4' 
			),
			'itemLocations' => array(
				'section' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'section2' => array(
					'location' => 'grid',
					'cellId' => 'c3' 
				),
				'section1' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'section3' => array(
					'location' => 'grid',
					'cellId' => 'c' 
				),
				'section4' => array(
					'location' => 'grid',
					'cellId' => 'c5' 
				),
				'details_preview' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'details_preview1' => array(
					'location' => 'grid',
					'cellId' => 'c4' 
				),
				'integrated_edit_field' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field2' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field3' => array(
					'location' => 'section',
					'cellId' => 'c1' 
				),
				'integrated_edit_field5' => array(
					'location' => 'section',
					'cellId' => 'c' 
				),
				'integrated_edit_field1' => array(
					'location' => 'section',
					'cellId' => 'c' 
				),
				'integrated_edit_field4' => array(
					'location' => 'section',
					'cellId' => 'c' 
				),
				'integrated_edit_field6' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field13' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field14' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field15' => array(
					'location' => 'section1',
					'cellId' => 'c1' 
				),
				'integrated_edit_field9' => array(
					'location' => 'section1',
					'cellId' => 'c' 
				),
				'integrated_edit_field7' => array(
					'location' => 'section1',
					'cellId' => 'c' 
				),
				'integrated_edit_field8' => array(
					'location' => 'section1',
					'cellId' => 'c' 
				),
				'integrated_edit_field10' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field12' => array(
					'location' => 'section2',
					'cellId' => 'c1' 
				),
				'integrated_edit_field11' => array(
					'location' => 'section2',
					'cellId' => 'c' 
				),
				'integrated_edit_field17' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field16' => array(
					'location' => 'section3',
					'cellId' => 'c1' 
				),
				'integrated_edit_field20' => array(
					'location' => 'section4',
					'cellId' => 'c2' 
				),
				'integrated_edit_field19' => array(
					'location' => 'section4',
					'cellId' => 'c3' 
				),
				'integrated_edit_field18' => array(
					'location' => 'section4',
					'cellId' => 'c' 
				) 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'add_header' => array( 
				'add_header' 
			),
			'add_back_list' => array( 
				'add_back_list' 
			),
			'add_cancel' => array( 
				'add_cancel' 
			),
			'add_message' => array( 
				'add_message' 
			),
			'add_save' => array( 
				'add_save' 
			),
			'add_reset' => array( 
				'add_reset' 
			),
			'integrated_edit_field' => array( 
				'integrated_edit_field',
				'integrated_edit_field1',
				'integrated_edit_field2',
				'integrated_edit_field3',
				'integrated_edit_field4',
				'integrated_edit_field5',
				'integrated_edit_field6',
				'integrated_edit_field7',
				'integrated_edit_field8',
				'integrated_edit_field9',
				'integrated_edit_field10',
				'integrated_edit_field11',
				'integrated_edit_field12',
				'integrated_edit_field13',
				'integrated_edit_field14',
				'integrated_edit_field15',
				'integrated_edit_field16',
				'integrated_edit_field17',
				'integrated_edit_field19',
				'integrated_edit_field20',
				'integrated_edit_field18' 
			),
			'section' => array( 
				'section',
				'section1',
				'section2',
				'section3',
				'section4' 
			),
			'details_preview' => array( 
				'details_preview',
				'details_preview1' 
			) 
		),
		'cellMaps' => array(
			'grid' => array(
				'cells' => array(
					'c3' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'section',
							'section2' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'section1',
							'section3' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c5' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							1 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'section4' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c4' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							2 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'details_preview',
							'details_preview1' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c6' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							3 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							 
						),
						'fixedAtServer' => false,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 4 
			),
			'section' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field',
							'integrated_edit_field2',
							'integrated_edit_field3' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field5',
							'integrated_edit_field1',
							'integrated_edit_field4' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 1 
			),
			'section1' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field6',
							'integrated_edit_field13',
							'integrated_edit_field14',
							'integrated_edit_field15' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field9',
							'integrated_edit_field7',
							'integrated_edit_field8' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 1 
			),
			'section2' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field10',
							'integrated_edit_field12' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field11' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 1 
			),
			'section3' => array(
				'cells' => array(
					'c1' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field17',
							'integrated_edit_field16' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 1,
				'height' => 1 
			),
			'section4' => array(
				'cells' => array(
					'c2' => array(
						'cols' => array( 
							0 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field20' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c3' => array(
						'cols' => array( 
							1 
						),
						'rows' => array( 
							0 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field19' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					),
					'c' => array(
						'cols' => array( 
							0,
							1 
						),
						'rows' => array( 
							1 
						),
						'tags' => array( 
							 
						),
						'items' => array( 
							'integrated_edit_field18' 
						),
						'fixedAtServer' => true,
						'fixedAtClient' => false 
					) 
				),
				'width' => 2,
				'height' => 2 
			) 
		) 
	),
	'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 
	),
	'misc' => array(
		'type' => 'add',
		'breadcrumb' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			 
		) 
	) 
);
			$pageArray = array(
	'id' => 'add',
	'type' => 'add',
	'layoutId' => 'nomenu',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'above-grid' => array(
			'modelId' => 'add-above-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'add_message' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'below-grid' => array(
			'modelId' => 'add-below-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'add_save',
						'add_reset',
						'add_back_list',
						'add_cancel' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'top' => array(
			'modelId' => 'add-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'add_header' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c3' 
						),
						array(
							'cell' => 'c' 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c5',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c4',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c6',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c3' => array(
					'model' => 'c3',
					'items' => array( 
						'section',
						'section2' 
					) 
				),
				'c' => array(
					'model' => 'c3',
					'items' => array( 
						'section1',
						'section3' 
					) 
				),
				'c5' => array(
					'model' => 'c3',
					'items' => array( 
						'section4' 
					) 
				),
				'c4' => array(
					'model' => 'c3',
					'items' => array( 
						'details_preview',
						'details_preview1' 
					) 
				),
				'c6' => array(
					'model' => 'c3',
					'items' => array( 
						 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field',
						'integrated_edit_field2',
						'integrated_edit_field3' 
					) 
				),
				'c' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field5',
						'integrated_edit_field1',
						'integrated_edit_field4' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section1' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field6',
						'integrated_edit_field13',
						'integrated_edit_field14',
						'integrated_edit_field15' 
					) 
				),
				'c' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field9',
						'integrated_edit_field7',
						'integrated_edit_field8' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section2' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field10',
						'integrated_edit_field12' 
					) 
				),
				'c' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field11' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section3' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field17',
						'integrated_edit_field16' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		),
		'section4' => array(
			'modelId' => 'simple-edit',
			'grid' => array( 
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c2' 
						),
						array(
							'cell' => 'c3' 
						) 
					) 
				),
				array(
					'section' => '',
					'cells' => array( 
						array(
							'cell' => 'c',
							'colspan' => 2 
						) 
					) 
				) 
			),
			'cells' => array(
				'c2' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field20' 
					) 
				),
				'c3' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field19' 
					) 
				),
				'c' => array(
					'model' => 'c1',
					'items' => array( 
						'integrated_edit_field18' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'columnCount' => 1,
			'inlineLabels' => false,
			'separateLabels' => false 
		) 
	),
	'items' => array(
		'add_header' => array(
			'type' => 'add_header' 
		),
		'add_back_list' => array(
			'type' => 'add_back_list' 
		),
		'add_cancel' => array(
			'type' => 'add_cancel' 
		),
		'add_message' => array(
			'type' => 'add_message' 
		),
		'add_save' => array(
			'type' => 'add_save' 
		),
		'add_reset' => array(
			'type' => 'add_reset' 
		),
		'integrated_edit_field' => array(
			'field' => 'inspection_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'section' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Inspection Information' 
			),
			'location' => 'section',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'integrated_edit_field1' => array(
			'field' => 'inspected_date_signed',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field2' => array(
			'field' => 'production_date',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field3' => array(
			'field' => 'start_time',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field4' => array(
			'field' => 'end_time',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field5' => array(
			'field' => 'series_number',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'section1' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Production Information' 
			),
			'location' => 'section1',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'integrated_edit_field6' => array(
			'field' => 'production_type',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field7' => array(
			'field' => 'production_line',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field8' => array(
			'field' => 'shift',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field9' => array(
			'field' => 'warehouse_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'section2' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Production Output' 
			),
			'location' => 'section2',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'integrated_edit_field10' => array(
			'field' => 'total_target_output',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field11' => array(
			'field' => 'total_actual_output',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field12' => array(
			'field' => 'variance_output',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'section3' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'QA INSPECTION RESULT' 
			),
			'location' => 'section3',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'section4' => array(
			'type' => 'section',
			'title' => array(
				'type' => 0,
				'text' => 'Approval' 
			),
			'location' => 'section4',
			'bsStyle' => 'default',
			'panelType' => 3 
		),
		'integrated_edit_field13' => array(
			'field' => 'production_reference_no',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field14' => array(
			'field' => 'production_plan_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field15' => array(
			'field' => 'work_order_id',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field16' => array(
			'field' => 'inspector_notes',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field17' => array(
			'field' => 'inspection_summary',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field19' => array(
			'field' => 'concurred_by',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field20' => array(
			'field' => 'inspected_by',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'integrated_edit_field18' => array(
			'field' => 'approval_status',
			'type' => 'integrated_edit_field',
			'orientation' => 0 
		),
		'details_preview' => array(
			'type' => 'details_preview',
			'table' => 6379,
			'items' => array( 
				 
			),
			'popup' => false,
			'pageId' => 'list' 
		),
		'details_preview1' => array(
			'type' => 'details_preview',
			'table' => 8498,
			'items' => array( 
				 
			),
			'popup' => false,
			'pageId' => 'list' 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>