<?php
			$optionsArray = array( 'list' => array( 'inlineAdd' => false,
'detailsAdd' => false,
'inlineEdit' => false,
'delete' => false,
'updateSelected' => false,
'addInPopup' => null,
'editInPopup' => null,
'viewInPopup' => true,
'clickSort' => true,
'sortDropdown' => true,
'showHideFields' => false,
'reorderFields' => false ),
'listSearch' => array( 'alwaysOnPanelFields' => array(  ),
'searchPanel' => true,
'fixedSearchPanel' => false,
'simpleSearchOptions' => true,
'searchSaving' => false ),
'totals' => array( 'mcalcID' => array( 'totalsType' => '' ),
'pdtoID' => array( 'totalsType' => '' ),
'data' => array( 'totalsType' => '' ),
'versao' => array( 'totalsType' => '' ),
'componente' => array( 'totalsType' => '' ),
'material' => array( 'totalsType' => '' ),
'consumo' => array( 'totalsType' => '' ),
'quebra' => array( 'totalsType' => '' ),
'tempo' => array( 'totalsType' => '' ),
'txo' => array( 'totalsType' => '' ),
'divisao' => array( 'totalsType' => '' ),
'CMO' => array( 'totalsType' => '' ),
'CMat' => array( 'totalsType' => '' ),
'vigente' => array( 'totalsType' => '' ),
'GGF' => array( 'totalsType' => '' ),
'RModel' => array( 'totalsType' => '' ),
'markup' => array( 'totalsType' => '' ),
'Mlucro' => array( 'totalsType' => '' ),
'MKP' => array( 'totalsType' => '' ),
'CBruto' => array( 'totalsType' => 'AVERAGE' ),
'PVenda' => array( 'totalsType' => 'AVERAGE' ),
'referencia' => array( 'totalsType' => '' ),
'nome_aux' => array( 'totalsType' => '' ),
'categoria' => array( 'totalsType' => '' ),
'status' => array( 'totalsType' => '' ),
'foto' => array( 'totalsType' => '' ),
'pdtoiD1' => array( 'totalsType' => '' ),
'Rat_modelagem' => array( 'totalsType' => '' ),
'vigente1' => array( 'totalsType' => '' ),
'pv_minimo' => array( 'totalsType' => '' ),
'pv_negociado' => array( 'totalsType' => 'AVERAGE' ),
'Resultado' => array( 'totalsType' => '' ),
'data1' => array( 'totalsType' => '' ),
'validade' => array( 'totalsType' => '' ),
'clienteID' => array( 'totalsType' => '' ),
'cliente' => array( 'totalsType' => '' ),
'clienteID1' => array( 'totalsType' => '' ) ),
'fields' => array( 'gridFields' => array( 'mcalcID',
'data',
'versao',
'componente',
'referencia',
'CBruto',
'PVenda',
'status',
'vigente1',
'Mlucro',
'pv_negociado',
'Resultado',
'data1',
'validade',
'cliente',
'nome_aux' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array( 'componente',
'nome_aux',
'cliente',
'validade',
'data1',
'Resultado',
'pv_negociado',
'pv_minimo',
'Mlucro',
'vigente1',
'status',
'referencia',
'PVenda',
'CBruto',
'GGF',
'CMat',
'CMO',
'versao',
'mcalcID',
'data' ),
'filterFields' => array(  ),
'inlineAddFields' => array(  ),
'inlineEditFields' => array(  ),
'fieldItems' => array( 'mcalcID' => array( 'simple_grid_field',
'simple_grid_field11' ),
'data' => array( 'simple_grid_field2',
'simple_grid_field13' ),
'versao' => array( 'simple_grid_field3',
'simple_grid_field14' ),
'componente' => array( 'simple_grid_field4',
'simple_grid_field15' ),
'referencia' => array( 'grid_field3',
'grid_field_label3' ),
'CBruto' => array( 'grid_field5',
'grid_field_label5',
'grid_field_totals2' ),
'PVenda' => array( 'grid_field6',
'grid_field_label6',
'grid_field_totals' ),
'status' => array( 'grid_field9',
'grid_field_label9' ),
'vigente1' => array( 'grid_field1',
'grid_field_label1' ),
'Mlucro' => array( 'grid_field',
'grid_field_label' ),
'pv_negociado' => array( 'grid_field12',
'grid_field_label12',
'grid_field_totals1' ),
'Resultado' => array( 'grid_field13',
'grid_field_label13' ),
'data1' => array( 'grid_field14',
'grid_field_label14' ),
'validade' => array( 'grid_field15',
'grid_field_label15' ),
'cliente' => array( 'grid_field4',
'grid_field_label4' ),
'nome_aux' => array( 'grid_field2',
'grid_field_label2' ) ),
'hideEmptyFields' => array(  ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => true,
'print' => true ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'left' => array( 'image',
'expand_button',
'menu',
'search_panel' ),
'supertop' => array( 'collapse_button',
'breadcrumb',
'simple_search_field',
'simple_search_option',
'simple_search',
'list_options',
'loginform_login',
'username_button' ),
'above-grid' => array( 'text1',
'details_found',
'page_size',
'print_panel',
'sort_dropdown' ),
'below-grid' => array( 'pagination' ),
'grid' => array( 'simple_grid_field11',
'simple_grid_field',
'simple_grid_field15',
'simple_grid_field4',
'grid_view',
'grid_checkbox_head',
'grid_checkbox',
'grid_field_label12',
'grid_field12',
'grid_field_totals1',
'grid_field_label3',
'grid_field3',
'simple_grid_field13',
'simple_grid_field2',
'grid_field_label6',
'grid_field6',
'grid_field_totals',
'grid_field_label15',
'grid_field15',
'grid_field_label13',
'grid_details_link',
'grid_field13',
'grid_field_label14',
'grid_field14',
'grid_field_label1',
'grid_field1',
'text',
'grid_field_label5',
'grid_field5',
'grid_field_totals2',
'simple_grid_field14',
'simple_grid_field3',
'grid_field_label9',
'grid_field9',
'grid_field_label',
'grid_field',
'grid_field_label4',
'grid_field4',
'grid_field_label2',
'grid_field2' ),
'top' => array( 'master_info' ) ),
'formXtTags' => array( 'below-grid' => array( 'pagination' ),
'top' => array( 'mastertable_block' ) ),
'itemForms' => array( 'image' => 'left',
'expand_button' => 'left',
'menu' => 'left',
'search_panel' => 'left',
'collapse_button' => 'supertop',
'breadcrumb' => 'supertop',
'simple_search_field' => 'supertop',
'simple_search_option' => 'supertop',
'simple_search' => 'supertop',
'list_options' => 'supertop',
'loginform_login' => 'supertop',
'username_button' => 'supertop',
'text1' => 'above-grid',
'details_found' => 'above-grid',
'page_size' => 'above-grid',
'print_panel' => 'above-grid',
'sort_dropdown' => 'above-grid',
'pagination' => 'below-grid',
'simple_grid_field11' => 'grid',
'simple_grid_field' => 'grid',
'simple_grid_field15' => 'grid',
'simple_grid_field4' => 'grid',
'grid_view' => 'grid',
'grid_checkbox_head' => 'grid',
'grid_checkbox' => 'grid',
'grid_field_label12' => 'grid',
'grid_field12' => 'grid',
'grid_field_totals1' => 'grid',
'grid_field_label3' => 'grid',
'grid_field3' => 'grid',
'simple_grid_field13' => 'grid',
'simple_grid_field2' => 'grid',
'grid_field_label6' => 'grid',
'grid_field6' => 'grid',
'grid_field_totals' => 'grid',
'grid_field_label15' => 'grid',
'grid_field15' => 'grid',
'grid_field_label13' => 'grid',
'grid_details_link' => 'grid',
'grid_field13' => 'grid',
'grid_field_label14' => 'grid',
'grid_field14' => 'grid',
'grid_field_label1' => 'grid',
'grid_field1' => 'grid',
'text' => 'grid',
'grid_field_label5' => 'grid',
'grid_field5' => 'grid',
'grid_field_totals2' => 'grid',
'simple_grid_field14' => 'grid',
'simple_grid_field3' => 'grid',
'grid_field_label9' => 'grid',
'grid_field9' => 'grid',
'grid_field_label' => 'grid',
'grid_field' => 'grid',
'grid_field_label4' => 'grid',
'grid_field4' => 'grid',
'grid_field_label2' => 'grid',
'grid_field2' => 'grid',
'master_info' => 'top' ),
'itemLocations' => array( 'simple_grid_field11' => array( 'location' => 'grid',
'cellId' => 'headcell_field' ),
'simple_grid_field' => array( 'location' => 'grid',
'cellId' => 'cell_field' ),
'simple_grid_field15' => array( 'location' => 'grid',
'cellId' => 'headcell_field4' ),
'simple_grid_field4' => array( 'location' => 'grid',
'cellId' => 'cell_field4' ),
'grid_view' => array( 'location' => 'grid',
'cellId' => 'cell_icons' ),
'grid_checkbox_head' => array( 'location' => 'grid',
'cellId' => 'headcell_checkbox' ),
'grid_checkbox' => array( 'location' => 'grid',
'cellId' => 'cell_checkbox' ),
'grid_field_label12' => array( 'location' => 'grid',
'cellId' => 'headcell_field14' ),
'grid_field12' => array( 'location' => 'grid',
'cellId' => 'cell_field14' ),
'grid_field_totals1' => array( 'location' => 'grid',
'cellId' => 'footcell_field14' ),
'grid_field_label3' => array( 'location' => 'grid',
'cellId' => 'cell_field5' ),
'grid_field3' => array( 'location' => 'grid',
'cellId' => 'cell_field6' ),
'simple_grid_field13' => array( 'location' => 'grid',
'cellId' => 'headcell_field16' ),
'simple_grid_field2' => array( 'location' => 'grid',
'cellId' => 'cell_field19' ),
'grid_field_label6' => array( 'location' => 'grid',
'cellId' => 'headcell_field17' ),
'grid_field6' => array( 'location' => 'grid',
'cellId' => 'cell_field20' ),
'grid_field_totals' => array( 'location' => 'grid',
'cellId' => 'footcell_field17' ),
'grid_field_label15' => array( 'location' => 'grid',
'cellId' => 'headcell_field18' ),
'grid_field15' => array( 'location' => 'grid',
'cellId' => 'cell_field21' ),
'grid_field_label13' => array( 'location' => 'grid',
'cellId' => 'cell_field24' ),
'grid_details_link' => array( 'location' => 'grid',
'cellId' => 'cell_details' ),
'grid_field13' => array( 'location' => 'grid',
'cellId' => 'cell_field25' ),
'grid_field_label14' => array( 'location' => 'grid',
'cellId' => 'cell_field27' ),
'grid_field14' => array( 'location' => 'grid',
'cellId' => 'cell_field28' ),
'grid_field_label1' => array( 'location' => 'grid',
'cellId' => 'cell_field30' ),
'grid_field1' => array( 'location' => 'grid',
'cellId' => 'cell_field31' ),
'text' => array( 'location' => 'grid',
'cellId' => 'cell_field32' ),
'grid_field_label5' => array( 'location' => 'grid',
'cellId' => 'cell_field33' ),
'grid_field5' => array( 'location' => 'grid',
'cellId' => 'cell_field34' ),
'grid_field_totals2' => array( 'location' => 'grid',
'cellId' => 'cell_field35' ),
'simple_grid_field14' => array( 'location' => 'grid',
'cellId' => 'cell_field36' ),
'simple_grid_field3' => array( 'location' => 'grid',
'cellId' => 'cell_field37' ),
'grid_field_label9' => array( 'location' => 'grid',
'cellId' => 'cell_field39' ),
'grid_field9' => array( 'location' => 'grid',
'cellId' => 'cell_field40' ),
'grid_field_label' => array( 'location' => 'grid',
'cellId' => 'cell_field42' ),
'grid_field' => array( 'location' => 'grid',
'cellId' => 'cell_field43' ),
'grid_field_label4' => array( 'location' => 'grid',
'cellId' => 'cell_field2' ),
'grid_field4' => array( 'location' => 'grid',
'cellId' => 'cell_field8' ),
'grid_field_label2' => array( 'location' => 'grid',
'cellId' => 'headcell_field5' ),
'grid_field2' => array( 'location' => 'grid',
'cellId' => 'headcell_field6' ) ),
'itemVisiblity' => array( 'expand_button' => 5,
'menu' => 3,
'search_panel' => 5,
'collapse_button' => 5,
'simple_search_field' => 3,
'simple_search_option' => 3,
'simple_search' => 3,
'list_options' => 3,
'loginform_login' => 3,
'username_button' => 3,
'print_panel' => 5 ) ),
'itemsByType' => array( 'page_size' => array( 'page_size' ),
'details_found' => array( 'details_found' ),
'breadcrumb' => array( 'breadcrumb' ),
'menu' => array( 'menu' ),
'simple_search' => array( 'simple_search' ),
'pagination' => array( 'pagination' ),
'search_panel' => array( 'search_panel' ),
'list_options' => array( 'list_options' ),
'show_search_panel' => array( 'show_search_panel' ),
'hide_search_panel' => array( 'hide_search_panel' ),
'search_panel_field' => array( 'search_panel_field',
'search_panel_field2',
'search_panel_field5',
'search_panel_field10',
'search_panel_field11',
'search_panel_field12',
'search_panel_field13',
'search_panel_field16',
'search_panel_field17',
'search_panel_field18',
'search_panel_field21',
'search_panel_field24',
'search_panel_field26',
'search_panel_field29',
'search_panel_field30',
'search_panel_field31',
'search_panel_field32',
'search_panel_field33',
'search_panel_field3',
'search_panel_field1' ),
'collapse_button' => array( 'collapse_button' ),
'grid_view' => array( 'grid_view' ),
'print_panel' => array( 'print_panel' ),
'print_scope' => array( 'print_scope' ),
'print_button' => array( 'print_button' ),
'print_records' => array( 'print_records' ),
'grid_checkbox' => array( 'grid_checkbox' ),
'grid_checkbox_head' => array( 'grid_checkbox_head' ),
'-' => array( '-',
'-1',
'-2',
'-3' ),
'advsearch_link' => array( 'advsearch_link' ),
'grid_field' => array( 'simple_grid_field',
'simple_grid_field2',
'simple_grid_field3',
'simple_grid_field4',
'grid_field3',
'grid_field5',
'grid_field6',
'grid_field9',
'grid_field1',
'grid_field',
'grid_field12',
'grid_field13',
'grid_field14',
'grid_field15',
'grid_field4',
'grid_field2' ),
'master_info' => array( 'master_info' ),
'grid_field_label' => array( 'simple_grid_field11',
'simple_grid_field13',
'simple_grid_field14',
'simple_grid_field15',
'grid_field_label3',
'grid_field_label5',
'grid_field_label6',
'grid_field_label9',
'grid_field_label1',
'grid_field_label',
'grid_field_label12',
'grid_field_label13',
'grid_field_label14',
'grid_field_label15',
'grid_field_label4',
'grid_field_label2' ),
'grid_details_link' => array( 'grid_details_link' ),
'image' => array( 'image' ),
'username_button' => array( 'username_button' ),
'adminarea_link' => array( 'adminarea_link' ),
'loginform_login' => array( 'loginform_login' ),
'logout_link' => array( 'logout_link' ),
'sort_dropdown' => array( 'sort_dropdown' ),
'simple_search_field' => array( 'simple_search_field' ),
'simple_search_option' => array( 'simple_search_option' ),
'grid_field_totals' => array( 'grid_field_totals',
'grid_field_totals1',
'grid_field_totals2' ),
'text' => array( 'text',
'text1' ),
'expand_button' => array( 'expand_button' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array( 'checkbox_column' ),
'items' => array( 'grid_checkbox_head' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_details' => array( 'cols' => array( 2 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field2' => array( 'cols' => array( 3 ),
'rows' => array( 0 ),
'tags' => array( 'cliente_fieldheadercolumn' ),
'items' => array( 'grid_field_label4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field' => array( 'cols' => array( 4 ),
'rows' => array( 0 ),
'tags' => array( 'mcalcID_fieldheadercolumn' ),
'items' => array( 'simple_grid_field11' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field5' => array( 'cols' => array( 5 ),
'rows' => array( 0 ),
'tags' => array( 'referencia_fieldheadercolumn' ),
'items' => array( 'grid_field_label3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field5' => array( 'cols' => array( 6 ),
'rows' => array( 0 ),
'tags' => array( 'nome_aux_fieldheadercolumn' ),
'items' => array( 'grid_field_label2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field4' => array( 'cols' => array( 7 ),
'rows' => array( 0 ),
'tags' => array( 'componente_fieldheadercolumn' ),
'items' => array( 'simple_grid_field15' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field16' => array( 'cols' => array( 8 ),
'rows' => array( 0 ),
'tags' => array( 'data_fieldheadercolumn' ),
'items' => array( 'simple_grid_field13' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field36' => array( 'cols' => array( 9 ),
'rows' => array( 0 ),
'tags' => array( 'versao_fieldheadercolumn' ),
'items' => array( 'simple_grid_field14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field39' => array( 'cols' => array( 10 ),
'rows' => array( 0 ),
'tags' => array( 'status_fieldheadercolumn' ),
'items' => array( 'grid_field_label9' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field30' => array( 'cols' => array( 11 ),
'rows' => array( 0 ),
'tags' => array( 'vigente1_fieldheadercolumn' ),
'items' => array( 'grid_field_label1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field33' => array( 'cols' => array( 12 ),
'rows' => array( 0 ),
'tags' => array( 'CBruto_fieldheadercolumn' ),
'items' => array( 'grid_field_label5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field42' => array( 'cols' => array( 13 ),
'rows' => array( 0 ),
'tags' => array( 'Mlucro_fieldheadercolumn' ),
'items' => array( 'grid_field_label' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field17' => array( 'cols' => array( 14 ),
'rows' => array( 0 ),
'tags' => array( 'PVenda_fieldheadercolumn' ),
'items' => array( 'grid_field_label6' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field14' => array( 'cols' => array( 15 ),
'rows' => array( 0 ),
'tags' => array( 'pv_negociado_fieldheadercolumn' ),
'items' => array( 'grid_field_label12' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field24' => array( 'cols' => array( 16 ),
'rows' => array( 0 ),
'tags' => array( 'Resultado_fieldheadercolumn' ),
'items' => array( 'grid_field_label13' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field27' => array( 'cols' => array( 17 ),
'rows' => array( 0 ),
'tags' => array( 'data1_fieldheadercolumn' ),
'items' => array( 'grid_field_label14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field18' => array( 'cols' => array( 18 ),
'rows' => array( 0 ),
'tags' => array( 'validade_fieldheadercolumn' ),
'items' => array( 'grid_field_label15' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field1' => array( 'cols' => array( 19 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field3' => array( 'cols' => array( 20 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field2' => array( 'cols' => array( 21 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'view_column' ),
'items' => array( 'grid_view' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array( 'checkbox_column' ),
'items' => array( 'grid_checkbox' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_details' => array( 'cols' => array( 2 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'grid_details_link' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'cell_field8' => array( 'cols' => array( 3 ),
'rows' => array( 1 ),
'tags' => array( 'cliente_fieldcolumn' ),
'items' => array( 'grid_field4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field' => array( 'cols' => array( 4 ),
'rows' => array( 1 ),
'tags' => array( 'mcalcID_fieldcolumn' ),
'items' => array( 'simple_grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field6' => array( 'cols' => array( 5 ),
'rows' => array( 1 ),
'tags' => array( 'referencia_fieldcolumn' ),
'items' => array( 'grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field6' => array( 'cols' => array( 6 ),
'rows' => array( 1 ),
'tags' => array( 'nome_aux_fieldcolumn' ),
'items' => array( 'grid_field2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field4' => array( 'cols' => array( 7 ),
'rows' => array( 1 ),
'tags' => array( 'componente_fieldcolumn' ),
'items' => array( 'simple_grid_field4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field19' => array( 'cols' => array( 8 ),
'rows' => array( 1 ),
'tags' => array( 'data_fieldcolumn' ),
'items' => array( 'simple_grid_field2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field37' => array( 'cols' => array( 9 ),
'rows' => array( 1 ),
'tags' => array( 'versao_fieldcolumn' ),
'items' => array( 'simple_grid_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field40' => array( 'cols' => array( 10 ),
'rows' => array( 1 ),
'tags' => array( 'status_fieldcolumn' ),
'items' => array( 'grid_field9' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field31' => array( 'cols' => array( 11 ),
'rows' => array( 1 ),
'tags' => array( 'vigente1_fieldcolumn' ),
'items' => array( 'grid_field1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field34' => array( 'cols' => array( 12 ),
'rows' => array( 1 ),
'tags' => array( 'CBruto_fieldcolumn' ),
'items' => array( 'grid_field5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field43' => array( 'cols' => array( 13 ),
'rows' => array( 1 ),
'tags' => array( 'Mlucro_fieldcolumn' ),
'items' => array( 'grid_field' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field20' => array( 'cols' => array( 14 ),
'rows' => array( 1 ),
'tags' => array( 'PVenda_fieldcolumn' ),
'items' => array( 'grid_field6' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field14' => array( 'cols' => array( 15 ),
'rows' => array( 1 ),
'tags' => array( 'pv_negociado_fieldcolumn' ),
'items' => array( 'grid_field12' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field25' => array( 'cols' => array( 16 ),
'rows' => array( 1 ),
'tags' => array( 'Resultado_fieldcolumn' ),
'items' => array( 'grid_field13' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field28' => array( 'cols' => array( 17 ),
'rows' => array( 1 ),
'tags' => array( 'data1_fieldcolumn' ),
'items' => array( 'grid_field14' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field21' => array( 'cols' => array( 18 ),
'rows' => array( 1 ),
'tags' => array( 'validade_fieldcolumn' ),
'items' => array( 'grid_field15' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field1' => array( 'cols' => array( 19 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field3' => array( 'cols' => array( 20 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field10' => array( 'cols' => array( 21 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_icons' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_checkbox' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_details' => array( 'cols' => array( 2 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field9' => array( 'cols' => array( 3 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field' => array( 'cols' => array( 4 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field7' => array( 'cols' => array( 5 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'headcell_field7' => array( 'cols' => array( 6 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field4' => array( 'cols' => array( 7 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field16' => array( 'cols' => array( 8 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field38' => array( 'cols' => array( 9 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field41' => array( 'cols' => array( 10 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field32' => array( 'cols' => array( 11 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'text' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'cell_field35' => array( 'cols' => array( 12 ),
'rows' => array( 2 ),
'tags' => array( 'CBruto_fieldfootercolumn' ),
'items' => array( 'grid_field_totals2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field44' => array( 'cols' => array( 13 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field17' => array( 'cols' => array( 14 ),
'rows' => array( 2 ),
'tags' => array( 'PVenda_fieldfootercolumn' ),
'items' => array( 'grid_field_totals' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field14' => array( 'cols' => array( 15 ),
'rows' => array( 2 ),
'tags' => array( 'pv_negociado_fieldfootercolumn' ),
'items' => array( 'grid_field_totals1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field26' => array( 'cols' => array( 16 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'cell_field29' => array( 'cols' => array( 17 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field18' => array( 'cols' => array( 18 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field1' => array( 'cols' => array( 19 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field3' => array( 'cols' => array( 20 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'footcell_field2' => array( 'cols' => array( 21 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ) ),
'width' => 22,
'height' => 3 ) ) ),
'loginForm' => array( 'loginForm' => 0 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array( 'details_found' => array( 'tag' => 'DISPLAYING',
'type' => 2 ) ) ),
'gridType' => 0,
'recsPerRow' => 1,
'hasCustomButtons' => false,
'customButtons' => array(  ) ),
'misc' => array( 'type' => 'list',
'breadcrumb' => true ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array(  ) ),
'dataGrid' => array( 'groupFields' => array(  ) ) );
			$pageArray = array( 'id' => 'list',
'type' => 'list',
'layoutId' => 'leftbar',
'disabled' => 0,
'default' => 0,
'forms' => array( 'left' => array( 'modelId' => 'leftbar-menu',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c0' => array( 'model' => 'c0',
'items' => array( 'image',
'expand_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c1' => array( 'model' => 'c1',
'items' => array( 'menu',
'search_panel' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'supertop' => array( 'modelId' => 'leftbar-top',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
array( 'cell' => 'c2' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'collapse_button',
'breadcrumb' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'simple_search_field',
'simple_search_option',
'simple_search',
'list_options',
'loginform_login',
'username_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'list-above-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
array( 'cell' => 'c2' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c3' ),
array( 'cell' => 'c4' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'text1' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'details_found',
'page_size',
'print_panel' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c3' => array( 'model' => 'c3',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c4' => array( 'model' => 'c4',
'items' => array( 'sort_dropdown' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'list-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'pagination' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'horizontal-grid',
'grid' => array( array( 'section' => 'head',
'cells' => array( array( 'cell' => 'headcell_icons' ),
array( 'cell' => 'headcell_checkbox' ),
array( 'cell' => 'headcell_details' ),
array( 'cell' => 'cell_field2' ),
array( 'cell' => 'headcell_field' ),
array( 'cell' => 'cell_field5' ),
array( 'cell' => 'headcell_field5' ),
array( 'cell' => 'headcell_field4' ),
array( 'cell' => 'headcell_field16' ),
array( 'cell' => 'cell_field36' ),
array( 'cell' => 'cell_field39' ),
array( 'cell' => 'cell_field30' ),
array( 'cell' => 'cell_field33' ),
array( 'cell' => 'cell_field42' ),
array( 'cell' => 'headcell_field17' ),
array( 'cell' => 'headcell_field14' ),
array( 'cell' => 'cell_field24' ),
array( 'cell' => 'cell_field27' ),
array( 'cell' => 'headcell_field18' ),
array( 'cell' => 'headcell_field1' ),
array( 'cell' => 'headcell_field3' ),
array( 'cell' => 'headcell_field2' ) ) ),
array( 'section' => 'body',
'cells' => array( array( 'cell' => 'cell_icons' ),
array( 'cell' => 'cell_checkbox' ),
array( 'cell' => 'cell_details' ),
array( 'cell' => 'cell_field8' ),
array( 'cell' => 'cell_field' ),
array( 'cell' => 'cell_field6' ),
array( 'cell' => 'headcell_field6' ),
array( 'cell' => 'cell_field4' ),
array( 'cell' => 'cell_field19' ),
array( 'cell' => 'cell_field37' ),
array( 'cell' => 'cell_field40' ),
array( 'cell' => 'cell_field31' ),
array( 'cell' => 'cell_field34' ),
array( 'cell' => 'cell_field43' ),
array( 'cell' => 'cell_field20' ),
array( 'cell' => 'cell_field14' ),
array( 'cell' => 'cell_field25' ),
array( 'cell' => 'cell_field28' ),
array( 'cell' => 'cell_field21' ),
array( 'cell' => 'cell_field1' ),
array( 'cell' => 'cell_field3' ),
array( 'cell' => 'cell_field10' ) ) ),
array( 'section' => 'foot',
'cells' => array( array( 'cell' => 'footcell_icons' ),
array( 'cell' => 'footcell_checkbox' ),
array( 'cell' => 'footcell_details' ),
array( 'cell' => 'cell_field9' ),
array( 'cell' => 'footcell_field' ),
array( 'cell' => 'cell_field7' ),
array( 'cell' => 'headcell_field7' ),
array( 'cell' => 'footcell_field4' ),
array( 'cell' => 'footcell_field16' ),
array( 'cell' => 'cell_field38' ),
array( 'cell' => 'cell_field41' ),
array( 'cell' => 'cell_field32' ),
array( 'cell' => 'cell_field35' ),
array( 'cell' => 'cell_field44' ),
array( 'cell' => 'footcell_field17' ),
array( 'cell' => 'footcell_field14' ),
array( 'cell' => 'cell_field26' ),
array( 'cell' => 'cell_field29' ),
array( 'cell' => 'footcell_field18' ),
array( 'cell' => 'footcell_field1' ),
array( 'cell' => 'footcell_field3' ),
array( 'cell' => 'footcell_field2' ) ) ) ),
'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field11' ),
'field' => 'mcalcID',
'columnName' => 'field' ),
'cell_field' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field' ),
'field' => 'mcalcID',
'columnName' => 'field' ),
'footcell_field' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field4' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field15' ),
'field' => 'componente',
'columnName' => 'field' ),
'cell_field4' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field4' ),
'field' => 'componente',
'columnName' => 'field' ),
'footcell_field4' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_icons' => array( 'model' => 'headcell_icons',
'items' => array(  ),
'columnName' => 'view' ),
'cell_icons' => array( 'model' => 'cell_icons',
'items' => array( 'grid_view' ),
'columnName' => 'view' ),
'footcell_icons' => array( 'model' => 'footcell_icons',
'items' => array(  ),
'columnName' => 'view' ),
'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
'items' => array( 'grid_checkbox_head' ),
'columnName' => 'checkbox' ),
'cell_checkbox' => array( 'model' => 'cell_checkbox',
'items' => array( 'grid_checkbox' ),
'columnName' => 'checkbox' ),
'footcell_checkbox' => array( 'model' => 'footcell_checkbox',
'items' => array(  ),
'columnName' => 'checkbox' ),
'headcell_field14' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label12' ),
'field' => 'pv_negociado',
'columnName' => 'field' ),
'cell_field14' => array( 'model' => 'cell_field',
'items' => array( 'grid_field12' ),
'field' => 'pv_negociado',
'columnName' => 'field' ),
'footcell_field14' => array( 'model' => 'footcell_field',
'items' => array( 'grid_field_totals1' ),
'field' => 'pv_negociado',
'columnName' => 'field' ),
'cell_field5' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label3' ),
'columnName' => 'field',
'field' => 'referencia' ),
'cell_field6' => array( 'model' => 'cell_field',
'items' => array( 'grid_field3' ),
'columnName' => 'field',
'field' => 'referencia' ),
'cell_field7' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field16' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field13' ),
'field' => 'data',
'columnName' => 'field' ),
'cell_field19' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field2' ),
'field' => 'data',
'columnName' => 'field' ),
'footcell_field16' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field17' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label6' ),
'field' => 'PVenda',
'columnName' => 'field' ),
'cell_field20' => array( 'model' => 'cell_field',
'items' => array( 'grid_field6' ),
'field' => 'PVenda',
'columnName' => 'field' ),
'footcell_field17' => array( 'model' => 'footcell_field',
'items' => array( 'grid_field_totals' ),
'field' => 'PVenda',
'columnName' => 'field' ),
'headcell_field18' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label15' ),
'field' => 'validade',
'columnName' => 'field' ),
'cell_field21' => array( 'model' => 'cell_field',
'items' => array( 'grid_field15' ),
'field' => 'validade',
'columnName' => 'field' ),
'footcell_field18' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'cell_field24' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label13' ),
'columnName' => 'field',
'field' => 'Resultado' ),
'headcell_details' => array( 'model' => 'headcell_details',
'items' => array(  ),
'columnName' => 'details' ),
'cell_details' => array( 'model' => 'cell_details',
'items' => array( 'grid_details_link' ),
'columnName' => 'details' ),
'footcell_details' => array( 'model' => 'footcell_details',
'items' => array(  ),
'columnName' => 'details' ),
'headcell_field1' => array( 'model' => 'headcell_field',
'items' => array(  ),
'columnName' => '' ),
'cell_field1' => array( 'model' => 'cell_field',
'items' => array(  ),
'columnName' => '' ),
'footcell_field1' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ),
'cell_field25' => array( 'model' => 'cell_field',
'items' => array( 'grid_field13' ),
'columnName' => 'field',
'field' => 'Resultado' ),
'cell_field26' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'cell_field27' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label14' ),
'columnName' => 'field',
'field' => 'data1' ),
'cell_field28' => array( 'model' => 'cell_field',
'items' => array( 'grid_field14' ),
'columnName' => 'field',
'field' => 'data1' ),
'cell_field29' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'cell_field30' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label1' ),
'columnName' => 'field',
'field' => 'vigente1' ),
'cell_field31' => array( 'model' => 'cell_field',
'items' => array( 'grid_field1' ),
'columnName' => 'field',
'field' => 'vigente1' ),
'cell_field32' => array( 'model' => 'footcell_field',
'items' => array( 'text' ) ),
'cell_field33' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label5' ),
'columnName' => 'field',
'field' => 'CBruto' ),
'cell_field34' => array( 'model' => 'cell_field',
'items' => array( 'grid_field5' ),
'columnName' => 'field',
'field' => 'CBruto' ),
'cell_field35' => array( 'model' => 'footcell_field',
'items' => array( 'grid_field_totals2' ),
'columnName' => 'field',
'field' => 'CBruto' ),
'cell_field36' => array( 'model' => 'headcell_field',
'items' => array( 'simple_grid_field14' ),
'columnName' => 'field',
'field' => 'versao' ),
'cell_field37' => array( 'model' => 'cell_field',
'items' => array( 'simple_grid_field3' ),
'columnName' => 'field',
'field' => 'versao' ),
'cell_field38' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'cell_field39' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label9' ),
'columnName' => 'field',
'field' => 'status' ),
'cell_field40' => array( 'model' => 'cell_field',
'items' => array( 'grid_field9' ),
'columnName' => 'field',
'field' => 'status' ),
'cell_field41' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'cell_field42' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label' ),
'columnName' => 'field',
'field' => 'Mlucro' ),
'cell_field43' => array( 'model' => 'cell_field',
'items' => array( 'grid_field' ),
'columnName' => 'field',
'field' => 'Mlucro' ),
'cell_field44' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'cell_field2' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label4' ),
'columnName' => 'field',
'field' => 'cliente' ),
'headcell_field3' => array( 'model' => 'headcell_field',
'items' => array(  ),
'columnName' => '' ),
'cell_field3' => array( 'model' => 'cell_field',
'items' => array(  ),
'columnName' => '' ),
'footcell_field3' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ),
'cell_field8' => array( 'model' => 'cell_field',
'items' => array( 'grid_field4' ),
'columnName' => 'field',
'field' => 'cliente' ),
'cell_field9' => array( 'model' => 'footcell_field',
'items' => array(  ) ),
'headcell_field2' => array( 'model' => 'headcell_field',
'items' => array(  ),
'columnName' => '' ),
'cell_field10' => array( 'model' => 'cell_field',
'items' => array(  ),
'columnName' => '' ),
'footcell_field2' => array( 'model' => 'footcell_field',
'items' => array(  ),
'columnName' => '' ),
'headcell_field5' => array( 'model' => 'headcell_field',
'items' => array( 'grid_field_label2' ),
'columnName' => 'field',
'field' => 'nome_aux' ),
'headcell_field6' => array( 'model' => 'cell_field',
'items' => array( 'grid_field2' ),
'columnName' => 'field',
'field' => 'nome_aux' ),
'headcell_field7' => array( 'model' => 'footcell_field',
'items' => array(  ) ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'top' => array( 'modelId' => 'list-sidebar-top',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c2' ) ),
'section' => '' ) ),
'cells' => array( 'c2' => array( 'model' => 'c2',
'items' => array( 'master_info' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ) ),
'items' => array( 'page_size' => array( 'type' => 'page_size' ),
'details_found' => array( 'type' => 'details_found' ),
'breadcrumb' => array( 'type' => 'breadcrumb' ),
'menu' => array( 'type' => 'menu' ),
'simple_search' => array( 'type' => 'simple_search' ),
'pagination' => array( 'type' => 'pagination' ),
'search_panel' => array( 'type' => 'search_panel',
'items' => array( 'search_panel_field',
'search_panel_field1',
'search_panel_field3',
'search_panel_field33',
'search_panel_field32',
'search_panel_field31',
'search_panel_field30',
'search_panel_field29',
'search_panel_field26',
'search_panel_field24',
'search_panel_field21',
'search_panel_field18',
'search_panel_field17',
'search_panel_field16',
'search_panel_field13',
'search_panel_field11',
'search_panel_field12',
'search_panel_field10',
'search_panel_field5',
'search_panel_field2' ) ),
'list_options' => array( 'type' => 'list_options',
'items' => array( 'advsearch_link',
'show_search_panel',
'hide_search_panel' ) ),
'show_search_panel' => array( 'type' => 'show_search_panel' ),
'hide_search_panel' => array( 'type' => 'hide_search_panel' ),
'search_panel_field' => array( 'field' => 'componente',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field2' => array( 'field' => 'data',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field5' => array( 'field' => 'mcalcID',
'type' => 'search_panel_field',
'required' => false ),
'search_panel_field10' => array( 'field' => 'versao',
'type' => 'search_panel_field',
'required' => false ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'grid_view' => array( 'type' => 'grid_view',
'popup' => true ),
'print_panel' => array( 'type' => 'print_panel',
'items' => array( 'print_scope',
'print_records',
'print_button' ) ),
'print_scope' => array( 'type' => 'print_scope' ),
'print_button' => array( 'type' => 'print_button' ),
'print_records' => array( 'type' => 'print_records' ),
'grid_checkbox' => array( 'type' => 'grid_checkbox' ),
'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ),
'-' => array( 'type' => '-' ),
'-1' => array( 'type' => '-' ),
'-2' => array( 'type' => '-' ),
'advsearch_link' => array( 'type' => 'advsearch_link' ),
'-3' => array( 'type' => '-' ),
'simple_grid_field' => array( 'field' => 'mcalcID',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field2' => array( 'field' => 'data',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field3' => array( 'field' => 'versao',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'simple_grid_field4' => array( 'field' => 'componente',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'master_info' => array( 'type' => 'master_info',
'tables' => array( 'tb_produtos' => 'true' ) ),
'simple_grid_field11' => array( 'type' => 'grid_field_label',
'field' => 'mcalcID',
'clickSort' => true,
'label' => array( 'field' => 'mcalcID',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'simple_grid_field13' => array( 'type' => 'grid_field_label',
'field' => 'data',
'clickSort' => true,
'label' => array( 'field' => 'data',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'simple_grid_field14' => array( 'type' => 'grid_field_label',
'field' => 'versao',
'clickSort' => true,
'label' => array( 'field' => 'versao',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'simple_grid_field15' => array( 'type' => 'grid_field_label',
'field' => 'componente',
'clickSort' => true ),
'search_panel_field11' => array( 'field' => 'CMat',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field12' => array( 'field' => 'CMO',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field13' => array( 'field' => 'GGF',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'grid_field3' => array( 'field' => 'referencia',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label3' => array( 'type' => 'grid_field_label',
'field' => 'referencia',
'clickSort' => true,
'label' => array( 'field' => 'referencia',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'grid_field5' => array( 'field' => 'CBruto',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'bold' => true,
'font-size' => '14px' ),
'grid_field_label5' => array( 'type' => 'grid_field_label',
'field' => 'CBruto',
'clickSort' => true,
'label' => array( 'field' => 'CBruto',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'search_panel_field16' => array( 'field' => 'CBruto',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'grid_field6' => array( 'field' => 'PVenda',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'bold' => true,
'font-size' => '14px',
'color' => '#0c46bd' ),
'grid_field_label6' => array( 'type' => 'grid_field_label',
'field' => 'PVenda',
'clickSort' => true,
'label' => array( 'field' => 'PVenda',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'search_panel_field17' => array( 'field' => 'PVenda',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'search_panel_field18' => array( 'field' => 'referencia',
'type' => 'search_panel_field',
'required' => false ),
'grid_field9' => array( 'field' => 'status',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label9' => array( 'type' => 'grid_field_label',
'field' => 'status',
'clickSort' => true ),
'search_panel_field21' => array( 'field' => 'status',
'type' => 'search_panel_field',
'required' => false ),
'grid_details_link' => array( 'type' => 'grid_details_link',
'table' => 'tb_negociado',
'badge' => false,
'showCount' => true,
'hideIfNone' => false ),
'grid_field1' => array( 'field' => 'vigente1',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label1' => array( 'type' => 'grid_field_label',
'field' => 'vigente1',
'label' => array( 'field' => 'vigente1',
'table' => 'w_resumo_calculo',
'type' => 3 ),
'clickSort' => true ),
'search_panel_field24' => array( 'field' => 'vigente1',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'grid_field' => array( 'field' => 'Mlucro',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label' => array( 'type' => 'grid_field_label',
'field' => 'Mlucro',
'label' => array( 'field' => 'Mlucro',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'image' => array( 'type' => 'image',
'imagePath' => 'Logo_fatto_software_72x80.png' ),
'username_button' => array( 'type' => 'username_button',
'items' => array( 'logout_link',
'adminarea_link' ) ),
'adminarea_link' => array( 'type' => 'adminarea_link' ),
'loginform_login' => array( 'type' => 'loginform_login',
'popup' => false ),
'logout_link' => array( 'type' => 'logout_link' ),
'search_panel_field26' => array( 'field' => 'Mlucro',
'type' => 'search_panel_field' ),
'sort_dropdown' => array( 'type' => 'sort_dropdown' ),
'simple_search_field' => array( 'type' => 'simple_search_field' ),
'simple_search_option' => array( 'type' => 'simple_search_option' ),
'search_panel_field29' => array( 'field' => 'pv_minimo',
'type' => 'search_panel_field',
'required' => false ),
'grid_field12' => array( 'field' => 'pv_negociado',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'group_by' => false,
'bold' => true,
'font-size' => '14px',
'color' => '#860a99' ),
'grid_field_label12' => array( 'type' => 'grid_field_label',
'field' => 'pv_negociado',
'label' => array( 'field' => 'pv_negociado',
'table' => 'w_resumo_calculo',
'type' => 3 ) ),
'search_panel_field30' => array( 'field' => 'pv_negociado',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'grid_field13' => array( 'field' => 'Resultado',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false,
'bold' => true ),
'grid_field_label13' => array( 'type' => 'grid_field_label',
'field' => 'Resultado' ),
'search_panel_field31' => array( 'field' => 'Resultado',
'type' => 'search_panel_field',
'required' => false,
'alwaysOnPanel' => false ),
'grid_field14' => array( 'field' => 'data1',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label14' => array( 'type' => 'grid_field_label',
'field' => 'data1' ),
'search_panel_field32' => array( 'field' => 'data1',
'type' => 'search_panel_field',
'required' => false ),
'grid_field15' => array( 'field' => 'validade',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label15' => array( 'type' => 'grid_field_label',
'field' => 'validade' ),
'search_panel_field33' => array( 'field' => 'validade',
'type' => 'search_panel_field',
'required' => false ),
'grid_field_totals' => array( 'type' => 'grid_field_totals',
'field' => 'PVenda',
'totals' => 'AVERAGE',
'label' => array( 'type' => 0,
'text' => '' ) ),
'grid_field_totals1' => array( 'type' => 'grid_field_totals',
'field' => 'pv_negociado',
'totals' => 'AVERAGE',
'label' => array( 'type' => 0,
'text' => '' ) ),
'grid_field_totals2' => array( 'type' => 'grid_field_totals',
'field' => 'CBruto',
'totals' => 'AVERAGE',
'label' => array( 'type' => 0,
'text' => '' ) ),
'text' => array( 'type' => 'text',
'label' => array( 'text' => 'Valor médio ',
'type' => 0 ) ),
'text1' => array( 'type' => 'text',
'label' => array( 'text' => 'Resumo de Cálculo ',
'type' => 0 ) ),
'grid_field4' => array( 'field' => 'cliente',
'type' => 'grid_field',
'inlineAdd' => false,
'inlineEdit' => false ),
'grid_field_label4' => array( 'type' => 'grid_field_label',
'field' => 'cliente' ),
'search_panel_field3' => array( 'field' => 'cliente',
'type' => 'search_panel_field',
'required' => false ),
'grid_field2' => array( 'field' => 'nome_aux',
'type' => 'grid_field' ),
'grid_field_label2' => array( 'type' => 'grid_field_label',
'field' => 'nome_aux' ),
'search_panel_field1' => array( 'field' => 'nome_aux',
'type' => 'search_panel_field' ),
'expand_button' => array( 'type' => 'expand_button' ) ),
'dbProps' => array(  ),
'version' => 4,
'fixedTopbar' => true );
		?>