<?php
			$optionsArray = array( 'pdf' => array( 'pdfView' => false ),
'details' => array( 'stock receiving' => array( 'displayPreview' => 1,
'previewPageId' => 'list2view' ) ),
'fields' => array( 'gridFields' => array( 'id',
'date_and_time',
'outlet_code',
'stock_sender_or_receiver',
'user',
'action',
'id2',
'count_of_bags' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'fieldItems' => array( 'id' => array( 'integrated_edit_field',
'integrated_edit_field8' ),
'date_and_time' => array( 'integrated_edit_field1',
'integrated_edit_field10' ),
'outlet_code' => array( 'integrated_edit_field2',
'integrated_edit_field14' ),
'stock_sender_or_receiver' => array( 'integrated_edit_field3',
'integrated_edit_field11' ),
'user' => array( 'integrated_edit_field4',
'integrated_edit_field15' ),
'action' => array( 'integrated_edit_field5',
'integrated_edit_field13' ),
'id2' => array( 'integrated_edit_field6',
'integrated_edit_field9' ),
'count_of_bags' => array( 'integrated_edit_field7',
'integrated_edit_field12' ) ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => false ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'top' => array( 'view_header',
'view_back_list',
'view_close',
'custom_button' ),
'above-grid' => array(  ),
'below-grid' => array(  ),
'grid' => array( 'integrated_edit_field8',
'integrated_edit_field',
'integrated_edit_field14',
'integrated_edit_field9',
'integrated_edit_field10',
'integrated_edit_field1',
'integrated_edit_field11',
'integrated_edit_field3',
'integrated_edit_field13',
'integrated_edit_field5',
'integrated_edit_field12',
'integrated_edit_field7',
'details_preview1',
'integrated_edit_field15',
'integrated_edit_field4',
'integrated_edit_field2',
'integrated_edit_field6' ) ),
'formXtTags' => array( 'above-grid' => array(  ),
'below-grid' => array(  ) ),
'itemForms' => array( 'view_header' => 'top',
'view_back_list' => 'top',
'view_close' => 'top',
'custom_button' => 'top',
'integrated_edit_field8' => 'grid',
'integrated_edit_field' => 'grid',
'integrated_edit_field14' => 'grid',
'integrated_edit_field9' => 'grid',
'integrated_edit_field10' => 'grid',
'integrated_edit_field1' => 'grid',
'integrated_edit_field11' => 'grid',
'integrated_edit_field3' => 'grid',
'integrated_edit_field13' => 'grid',
'integrated_edit_field5' => 'grid',
'integrated_edit_field12' => 'grid',
'integrated_edit_field7' => 'grid',
'details_preview1' => 'grid',
'integrated_edit_field15' => 'grid',
'integrated_edit_field4' => 'grid',
'integrated_edit_field2' => 'grid',
'integrated_edit_field6' => 'grid' ),
'itemLocations' => array( 'integrated_edit_field8' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field' => array( 'location' => 'grid',
'cellId' => 'c2' ),
'integrated_edit_field14' => array( 'location' => 'grid',
'cellId' => 'c' ),
'integrated_edit_field9' => array( 'location' => 'grid',
'cellId' => 'c3' ),
'integrated_edit_field10' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'integrated_edit_field1' => array( 'location' => 'grid',
'cellId' => 'c6' ),
'integrated_edit_field11' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'integrated_edit_field3' => array( 'location' => 'grid',
'cellId' => 'c8' ),
'integrated_edit_field13' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'integrated_edit_field5' => array( 'location' => 'grid',
'cellId' => 'c10' ),
'integrated_edit_field12' => array( 'location' => 'grid',
'cellId' => 'c13' ),
'integrated_edit_field7' => array( 'location' => 'grid',
'cellId' => 'c14' ),
'details_preview1' => array( 'location' => 'grid',
'cellId' => 'c1' ),
'integrated_edit_field15' => array( 'location' => 'grid',
'cellId' => 'c15' ),
'integrated_edit_field4' => array( 'location' => 'grid',
'cellId' => 'c16' ),
'integrated_edit_field2' => array( 'location' => 'grid',
'cellId' => 'c18' ),
'integrated_edit_field6' => array( 'location' => 'grid',
'cellId' => 'c27' ) ),
'itemVisiblity' => array(  ) ),
'itemsByType' => array( 'view_header' => array( 'view_header' ),
'view_back_list' => array( 'view_back_list' ),
'view_close' => array( 'view_close' ),
'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' ),
'details_preview' => array( 'details_preview1' ),
'edit_field_label' => array( 'integrated_edit_field8',
'integrated_edit_field9',
'integrated_edit_field10',
'integrated_edit_field11',
'integrated_edit_field12',
'integrated_edit_field13',
'integrated_edit_field14',
'integrated_edit_field15' ),
'custom_button' => array( 'custom_button' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'c4' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array( 'id_fieldblock' ),
'items' => array( 'integrated_edit_field8' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c2' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c3' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'id2_fieldblock' ),
'items' => array( 'integrated_edit_field9' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c27' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field6' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c5' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array( 'date_and_time_fieldblock' ),
'items' => array( 'integrated_edit_field10' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c6' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c13' => array( 'cols' => array( 0 ),
'rows' => array( 3 ),
'tags' => array( 'count_of_bags_fieldblock' ),
'items' => array( 'integrated_edit_field12' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c14' => array( 'cols' => array( 1 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field7' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c7' => array( 'cols' => array( 0 ),
'rows' => array( 4 ),
'tags' => array( 'stock_sender_or_receiver_fieldblock' ),
'items' => array( 'integrated_edit_field11' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c8' => array( 'cols' => array( 1 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c9' => array( 'cols' => array( 0 ),
'rows' => array( 5 ),
'tags' => array( 'action_fieldblock' ),
'items' => array( 'integrated_edit_field13' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c10' => array( 'cols' => array( 1 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field5' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c1' => array( 'cols' => array( 0,
1 ),
'rows' => array( 6 ),
'tags' => array(  ),
'items' => array( 'details_preview1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c15' => array( 'cols' => array( 0 ),
'rows' => array( 7 ),
'tags' => array( 'user_fieldblock' ),
'items' => array( 'integrated_edit_field15' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c16' => array( 'cols' => array( 1 ),
'rows' => array( 7 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field4' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c' => array( 'cols' => array( 0 ),
'rows' => array( 8 ),
'tags' => array( 'outlet_code_fieldblock' ),
'items' => array( 'integrated_edit_field14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c18' => array( 'cols' => array( 1 ),
'rows' => array( 8 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ) ),
'width' => 2,
'height' => 9 ) ) ),
'loginForm' => array( 'loginForm' => 3 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array(  ) ),
'hasCustomButtons' => true,
'customButtons' => array( 'PRINT' ) ),
'misc' => array( 'type' => 'view',
'breadcrumb' => false,
'nextPrev' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array( 'PRINT' ) ) );
			$pageArray = array( 'id' => 'view',
'type' => 'view',
'layoutId' => 'nomenu',
'disabled' => 0,
'default' => 0,
'forms' => array( 'top' => array( 'modelId' => 'view-header',
'grid' => array( array( 'section' => '',
'cells' => array( array( 'cell' => 'c' ) ) ),
array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'view_header' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'align' => 'center',
'underline' => true ),
'c' => array( 'model' => 'c1',
'items' => array( 'view_back_list',
'view_close',
'custom_button' ),
'align' => 'center' ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'view-above-grid',
'grid' => array(  ),
'cells' => array(  ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'view-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
array( 'cell' => 'c2' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'simple-edit',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c4' ),
array( 'cell' => 'c2' ) ),
'section' => '' ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c3' ),
array( 'cell' => 'c27' ) ) ),
array( 'cells' => array( array( 'cell' => 'c5' ),
array( 'cell' => 'c6' ) ),
'section' => '' ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c13' ),
array( 'cell' => 'c14' ) ) ),
array( 'cells' => array( array( 'cell' => 'c7' ),
array( 'cell' => 'c8' ) ),
'section' => '' ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c9' ),
array( 'cell' => 'c10' ) ) ),
array( 'cells' => array( array( 'cell' => 'c1',
'colspan' => 2 ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c15' ),
array( 'cell' => 'c16' ) ),
'section' => '' ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c' ),
array( 'cell' => 'c18' ) ) ) ),
'cells' => array( 'c4' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field8' ),
'field' => 'id',
'align' => 'left' ),
'c2' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field' ),
'field' => 'id' ),
'c' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field14' ),
'align' => 'left' ),
'c3' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field9' ),
'align' => 'left' ),
'c5' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field10' ),
'field' => 'date_and_time',
'align' => 'left' ),
'c6' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field1' ),
'field' => 'date_and_time' ),
'c7' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field11' ),
'field' => 'stock_sender_or_receiver',
'align' => 'left' ),
'c8' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field3' ),
'field' => 'stock_sender_or_receiver' ),
'c9' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field13' ),
'align' => 'left' ),
'c10' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field5' ) ),
'c13' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field12' ),
'align' => 'left' ),
'c14' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field7' ) ),
'c1' => array( 'model' => 'c1',
'items' => array( 'details_preview1' ),
'field' => null,
'align' => 'center' ),
'c15' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field15' ),
'field' => 'user',
'align' => 'left' ),
'c16' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field4' ),
'field' => 'user' ),
'c18' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field2' ) ),
'c27' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field6' ) ) ),
'deferredItems' => array(  ),
'columnCount' => 1,
'inlineLabels' => true,
'separateLabels' => true ) ),
'items' => array( 'view_header' => array( 'type' => 'view_header',
'title' => array( 'page' => 'view',
'table' => 'stock_transfer - receiving',
'type' => 7 ) ),
'view_back_list' => array( 'type' => 'view_back_list',
'buttonSize' => 'large',
'buttonStyle' => 'info' ),
'view_close' => array( 'type' => 'view_close',
'buttonSize' => 'large',
'buttonStyle' => 'warning' ),
'integrated_edit_field' => array( 'field' => 'id',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field1' => array( 'field' => 'date_and_time',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field2' => array( 'field' => 'outlet_code',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field3' => array( 'field' => 'stock_sender_or_receiver',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field4' => array( 'field' => 'user',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'details_preview1' => array( 'type' => 'details_preview',
'table' => 'stock receiving',
'items' => array(  ),
'popup' => false,
'pageId' => 'list2view' ),
'integrated_edit_field5' => array( 'field' => 'action',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field6' => array( 'field' => 'id2',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field7' => array( 'field' => 'count_of_bags',
'type' => 'edit_field',
'font-size' => '20px',
'underline' => true ),
'integrated_edit_field8' => array( 'type' => 'edit_field_label',
'field' => 'id',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field9' => array( 'type' => 'edit_field_label',
'field' => 'id2',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field10' => array( 'type' => 'edit_field_label',
'field' => 'date_and_time',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field11' => array( 'type' => 'edit_field_label',
'field' => 'stock_sender_or_receiver',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field12' => array( 'type' => 'edit_field_label',
'field' => 'count_of_bags',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field13' => array( 'type' => 'edit_field_label',
'field' => 'action',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field14' => array( 'type' => 'edit_field_label',
'field' => 'outlet_code',
'font-size' => '20px',
'bold' => true ),
'integrated_edit_field15' => array( 'type' => 'edit_field_label',
'field' => 'user',
'font-size' => '20px',
'bold' => true ),
'custom_button' => array( 'type' => 'custom_button',
'eventId' => 'PRINT',
'label' => array( 'text' => 'PRINT',
'type' => 0 ),
'buttonSize' => 'large',
'buttonStyle' => 'success' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>