Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Criando a classe para manipulação do TOTVSProfile

 

O Framework RM criou um manipulador básico definido pela classe RMSProfiler. Ela define o método DoGetProfileInfo, no qual o desenvolvedor pode montar a lista de Profiles necessária.

Automaticamente ela também acrescenta nesta lista de Profiles o filtro (DataCode) TableInfo contendo os atributos dos campos (ColProps) de uma determinada tabela e as TOTVSActions padrões. 

Para criar, siga os passos abaixo:

  1. Crie uma classe server que herde de RMSProfiler
  2. Sobrescreva o método DoGetTable e retorne a tabela que necessita já contendo as informações dos atributos (ColProps).

 


Bloco de código
languagec#
titleGlbColigadaProfiler
firstline1
linenumberstruecollapsetrue
 public class GlbColigadaProfiler : RMSProfiler
  {
    protected override System.Data.DataTable DoGetTable()
    {
      return new GlbColigada().Tables["GCOLIGADA"];
    }
  }

 

 

 

 

 

 

 

Image Removed

 

Regras para geração do registro:

        * O registro "root" é default e somente pode ser alterado a descrição.

        * O registro que representa o módulo têm como parentID = root

        * Os registros que são rotinas estão com a coluna "caminho absoluto da página" preenchido.

        * Os registros que são policies do lado do RM, estão com Id de execução preenchido.

        * Todos os registros seguem uma estrutura de árvore, ligada pelo parentID.

        * A estrutura deve conter o mesmo conceito do RM de Page/Group/Item/Policy

 

Adicione no "XxxProfileRibbonControl" do seu respectivo módulo os itens seguindo a estrutura definida acima

Image Removed

Adicione no "XxxActionModuleController" do seu respectivo módulo as tags/policies definida na estrutura acima.

 

Adicione as tags de segurança nos respectivos dataServers, pois por se tratar de chamadas rest, o CheckPermission é executado no DataServer.

Utilização do menu HTML

O serviço que disponibiliza a estrutura de menu html utiliza o alias do banco de dados definido na tag DefaultDB. Portanto,  é necessário que esta tag esteja definida no Host

Exemplo do RM.Host.exe.config

Sem Formato
<?xml version="1.0"?>
<configuration>
    <appSettings>
        <add key="JobServer3Camadas" value="true" />
        <add key="Port" value="1213" />
        <add key="ActionsPath" value="C:\RM\Requisitos\FRW-Inovacao\Bin" />
        <add key="LibPath" value="C:\RM\Requisitos\FRW-Inovacao\Bin" />
        <add key="EnableDynamicLocalization" value="false" />
        <add key="EnableCompression" value="false" />
        <add key="LocalizationLanguage" value="pt-BR" />
        <add key="DefaultDB" value="sqa.SQL.1214" />
        <add key="FrameHTMLUser" value="userName" />
        <add key="FrameHTMLPassword" value="password" />
    </appSettings>
    <runtime>
        <NetFx40_LegacySecurityPolicy enabled="true" />
        <generatePublisherEvidence  enabled="false" />
    </runtime>
    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
    </startup>
</configuration>

 

A tela do frame já irá contemplar todos os menus cadastrados acima.

Para que os menus sejam disponibilizados no fluig será necessário executar o sincronismo com o Identity através do onClickConfiguration, 

O JSON de retorno é o seguinte:

Bloco de código
languagejs
titleTOTVS Profile
firstline1
linenumberstrue
collapsetrue
[
  {
    "dataCode": "tableInfo",
    "dataValue": {
      "tableName": "GColigada",
      "columns": [
        {
          "ColumnName": "GColigada.CODCOLIGADA",
          "AllowDBNull": false,
          "AllowCopyPaste": true,
          "AllowInsert": false,
          "AllowEdit": false,
          "AllowFilter": true,
          "Caption": "Código",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CODCOLIGADA",
          "Origin": "CODCOLIGADA",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CODCOLIGADA",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.NOMEFANTASIA",
          "AllowDBNull": false,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Nome Fantasia",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "NOMEFANTASIA",
          "Origin": "NOMEFANTASIA",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 60,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "NOMEFANTASIA",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CGC",
          "AllowDBNull": false,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": false,
          "AllowFilter": true,
          "Caption": "CNPJ / CPF / CEI",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CGC",
          "Origin": "CGC",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 20,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CGC",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.NOME",
          "AllowDBNull": false,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Nome",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "NOME",
          "Origin": "NOME",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 60,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "NOME",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.INSCRICAOESTADUAL",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Inscrição Estadual",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "INSCRICAOESTADUAL",
          "Origin": "INSCRICAOESTADUAL",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 20,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "INSCRICAOESTADUAL",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.TELEFONE",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Telefone",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "TELEFONE",
          "Origin": "TELEFONE",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 15,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": true,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "TELEFONE",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.FAX",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Fax",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "FAX",
          "Origin": "FAX",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 15,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": true,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "FAX",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.EMAIL",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "E-Mail",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "EMAIL",
          "Origin": "EMAIL",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 60,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "EMAIL",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.RUA",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Rua",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "RUA",
          "Origin": "RUA",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 100,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "RUA",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.NUMERO",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Número",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "NUMERO",
          "Origin": "NUMERO",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 8,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "NUMERO",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.COMPLEMENTO",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Complemento",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "COMPLEMENTO",
          "Origin": "COMPLEMENTO",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 30,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "COMPLEMENTO",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.BAIRRO",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Bairro",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "BAIRRO",
          "Origin": "BAIRRO",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 30,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "BAIRRO",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CIDADE",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Cidade",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CIDADE",
          "Origin": "CIDADE",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 32,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CIDADE",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.ESTADO",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Estado",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "ESTADO",
          "Origin": "ESTADO",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 2,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "ESTADO",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.PAIS",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "País",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "PAIS",
          "Origin": "PAIS",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 20,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "PAIS",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CEP",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Cep",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CEP",
          "Origin": "CEP",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 9,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CEP",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CONTROLACGC",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Hist. CNPJ",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CONTROLACGC",
          "Origin": "CONTROLACGC",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CONTROLACGC",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CONTROLE1",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Controle1",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CONTROLE1",
          "Origin": "CONTROLE1",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CONTROLE1",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CONTROLE2",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Controle2",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CONTROLE2",
          "Origin": "CONTROLE2",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CONTROLE2",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CONTROLE3",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Controle3",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CONTROLE3",
          "Origin": "CONTROLE3",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CONTROLE3",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.IDIMAGEM",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Identificador da Imagem",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "IDIMAGEM",
          "Origin": "IDIMAGEM",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "IDIMAGEM",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.PRODUTORRURAL",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Produtor Rural",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "PRODUTORRURAL",
          "Origin": "PRODUTORRURAL",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "PRODUTORRURAL",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.ATIVO",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Ativo",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "ATIVO",
          "Origin": "ATIVO",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 3,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": "T",
          "ValueUnChecked": "F",
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "ATIVO",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.CODEXTERNO",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": false,
          "AllowEdit": false,
          "AllowFilter": true,
          "Caption": "Código Externo",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "CODEXTERNO",
          "Origin": "CODEXTERNO",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 10,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "CODEXTERNO",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.IMPORTADA",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Importada Via Aponta",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "IMPORTADA",
          "Origin": "IMPORTADA",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": 1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "IMPORTADA",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.IMAGEM",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Imagem",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "IDIMAGEM",
          "Origin": "IMAGEM",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "IMAGEM",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        },
        {
          "ColumnName": "GColigada.INTEGRADOFLUIG",
          "AllowDBNull": true,
          "AllowCopyPaste": true,
          "AllowInsert": true,
          "AllowEdit": true,
          "AllowFilter": true,
          "Caption": "Integrado",
          "ControlCaption": null,
          "ReadOnly": false,
          "Visible": true,
          "UserVisible": true,
          "ControlVisible": true,
          "UserRequired": false,
          "SecReadOnly": false,
          "SecVisible": true,
          "SecField": "INTEGRADOFLUIG",
          "Origin": "INTEGRADOFLUIG",
          "DisplayIndex": null,
          "DisplayWidth": null,
          "MaxLength": -1,
          "DefaultValue": null,
          "EmptyText": null,
          "Mask": "",
          "Format": "",
          "DataFormat": null,
          "ControlType": 0,
          "ListItems": null,
          "ListValues": null,
          "LookupAction": null,
          "LookupKey": null,
          "LookupKeyField": null,
          "LookupDisplayField": null,
          "LookupResultFields": null,
          "ValueChecked": null,
          "ValueUnChecked": null,
          "ImageGroup": "",
          "HyperLinkFormatedUrl": null,
          "HyperLinkUrlFields": null,
          "HyperLinkFormatedText": null,
          "HyperLinkNewWindow": null,
          "DownloadController": null,
          "TypeTime": 0,
          "LookupSearchField": null,
          "MasterViewMemoColumn": false,
          "CallLink": false,
          "LookupDesc": null,
          "AutoInc": null,
          "LookupDataField": null,
          "Alias": "INTEGRADOFLUIG",
          "InitiallyVisible": true,
          "SecTableOrigin": "",
          "ConditionalFormat": null,
          "Fixed": 2,
          "MultiLine": false,
          "CalculatedField": null,
          "ControlId": null,
          "ControlParentId": null,
          "ControlEvent": null,
          "ControlLabelLocation": null,
          "LookupFilter": null,
          "ControlDescription": null,
          "IsLookupDescription": false,
          "RemoveLiteralMaskCharactersOnSave": false,
          "LookupDataServer": null,
          "HtmlFieldId": null
        }
      ]
    }
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['NOMEFANTASIA']"
    },
    "dataValue": 60
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['CGC']"
    },
    "dataValue": 20
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['NOME']"
    },
    "dataValue": 60
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['INSCRICAOESTADUAL']"
    },
    "dataValue": 20
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['TELEFONE']"
    },
    "dataValue": 15
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['FAX']"
    },
    "dataValue": 15
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['EMAIL']"
    },
    "dataValue": 60
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['RUA']"
    },
    "dataValue": 100
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['NUMERO']"
    },
    "dataValue": 8
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['COMPLEMENTO']"
    },
    "dataValue": 30
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['BAIRRO']"
    },
    "dataValue": 30
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['CIDADE']"
    },
    "dataValue": 32
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['ESTADO']"
    },
    "dataValue": 2
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['PAIS']"
    },
    "dataValue": 20
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['CEP']"
    },
    "dataValue": 9
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['PRODUTORRURAL']"
    },
    "dataValue": 1
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['ATIVO']"
    },
    "dataValue": 1
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['CODEXTERNO']"
    },
    "dataValue": 10
  },
  {
    "dataCode": {
      "totvsAction": "applyMaxLength",
      "fieldId": "controller_model['IMPORTADA']"
    },
    "dataValue": 1
  }
]

...