Árvore de páginas

Versões comparadas

Chave

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

Índice
maxLevel4

01. VISÃO GERAL

A Conciliação de dados é uma técnica que realiza o cruzamento (match) de dados na origem e destino, realizando comparações e verificando divergências, permitindo assim, a diminuição de erros, falta ou redundância de dados, promove ganhos como aumento da precisão, facilidade nos fechamentos, evitar fraudes e possibilidade de correções.

...

Informações
titleAtenção

Este conjunto de funcionalidades estará disponível apenas no release 12.1.33

02. ARQUITETURA

draw.io Diagram
bordertrue
viewerToolbartrue
fitWindowfalse
diagramNameConciliação
simpleViewerfalse
width
diagramWidth993
revision2

03. CONFIGURAÇÃO

O desenvolvimento da funcionalidade Conciliador Protheus será realizada na plataforma web, assim, será necessária a utilização de desenvolvimento client-side (Front-End) com a tecnologia Angular e a biblioteca PO-UI e server-side (Back-End) com a tecnologia TLPP.

Front-End:

Criando um novo projeto Angular com PO UI


Pré-requisitos:

...

Fonte: PO UI - Primeiros passos

Menu

O desenvolvimento será On-Premises, ou seja, será necessário adicionar o item Conciliação Contábil no Menu Protheus para que esteja disponível, como trata-se de uma funcionalidade web, esses aplicativos devem se armazenados no RPO e possuir um controle de alterações:

...

Os arquivos serão gerados dentro da pasta dist dentro da pasta principal do projeto.

Back-End:

A comunicação será realizada através das configurações disponíveis:

...

Tdn: Abrindo Aplicativos Web no Protheus

Deploy


Deploy de pipeline PO-UI usando Gitea + Drone

...

Informações
titleConceitos Importantes

Fundamentos de Devops

POUI - Desenvolvimentos e expedições

04. Cadastros e APIs

Cadastro de Configurações

Totvs custom tabs box
tabsImplementação,Imagens
idscadastro_configuracoes

Será necessário realizar os cadastros iniciais para utilização do conciliador, serão as configurações para utilização, as informações serão gravados na tabela QLB (Conciliador Contábil - Chaves) e devem conter:

Totvs custom tabs box items
defaultyes
referenciacampos

QLB_CODCFG - Código identificador da configuração a ser conciliada

QLB_DESCFG - Descrição da configuração a ser conciliada

QLB_TABORI - Tabela de Origem da conciliação

QLB_TABDES - Tabela de Destino da conciliação

QLB_FIELDS - Campos que serão apresentados no conciliador (origem e destino)

Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Configuração - QLB_FIelds
linenumberstrue
collapsetrue
{ "data_ori": ["E1_FILIAL", "E1_PREFIXO", "E1_NUM", "E1_PARCELA", "E1_TIPO", "E1_CLIENTE", "E1_LOJA", "E1_EMISSAO", "E1_VALOR"], "data_des": [ "CT2_FILIAL", "CT2_DATA", "CT2_LOTE", "CT2_SBLOTE", "CT2_DOC", "CT2_LINHA", "CT2_VALOR", "CT2_HIST"] }

QLB_REGORI - Regras a serem utilizadas na query dos das de origem

Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Configuração - QLB_REGORI
linenumberstrue
collapsetrue
[ { "table": "CV3", "typejoin": "left", "relation": [ "E1_FILIAL = SUBSTRING(CV3_KEY, 1, 8)", "E1_PREFIXO = SUBSTRING(CV3_KEY, 9, 2)", "E1_NUM = SUBSTRING(CV3_KEY, 11, 6)", "E1_PARCELA = SUBSTRING(CV3_KEY, 17, 1)", "E1_TIPO = SUBSTRING(CV3_KEY, 18, 1)" ] } ]

QLB_REGDES - Regras a serem utilizadas na query dos das de destino

Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Configuração - QLB_REGDES
linenumberstrue
collapsetrue
[ { "table": "CV3", "typejoin": "left", "relation": [ "CT2_FILIAL = CV3_FILIAL", "CT2_LOTE = CV3_LOTKEY", "CT2_SBLOTE = CV3_SBLKEY", "CT2_DOC = CV3_DOCKEY", "CT2_LINHA = CV3_LINKEY", "CT2_TPSALD = CV3_TPSKEY", "CT2_EMPORI = CV3_EMPKEY", "CT2_FILORI = CV3_FLOKEY " ] } ]

QLB_FILTER - Filtros utilizados para busca dos dados (origem e destino)

Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Configuração - QLB_FILTER
linenumberstrue
collapsetrue
{ "tabori": [ { "order": "10", "field": "E1_TIPO", "operation": "=" }, { "order": "11", "field": "E1_NATUREZ", "operation": "=" }, { "order": "12", "field": "E1_VALOR", "operation": ">=" }, { "order": "13", "field": "E1_VALOR", "operation": "=<" }, { "order": "01", "field": "E1_EMISSAO", "operation": ">=" }, { "order": "02", "field": "E1_EMISSAO", "operation": "<=" }, { "order": "03", "field": "E1_VENCREA", "operation": ">=" }, { "order": "04", "field": "E1_VENCREA", "operation": "<=" }, { "order": "05", "field": "E1_CLIENTE", "operation": "=" }, { "order": "06", "field": "E1_LOJA", "operation": "=" }, { "order": "07", "field": "E1_PREFIXO", "operation": "=" }, { "order": "08", "field": "E1_NUM", "operation": ">=" }, { "order": "09", "field": "E1_NUM", "operation": "=<" } ],  "tabdes": [ { "order": "01", "field": "CT2_DATA", "operation": ">=" }, { "order": "02", "field": "CT2_DATA", "operation": "<=" }, { "order": "03", "field": "CT2_LOTE", "operation": "=" }, { "order": "04", "field": "CT2_DEBITO", "operation": "=" }, { "order": "05", "field": "CT2_CCD", "operation": "=" }, { "order": "06", "field": "CT2_ITEMD", "operation": "=" }, { "order": "07", "field": "CT2_CLVLDB", "operation": "=" } ] }

QLB_CIDOR - Campo ID da tabela de origem

QLB_CIDDES - Campo ID da tabela de destino 

QLB_DESCOR - Descrição da tabela origem

QLB_DESCDE - Descrição da tabela destino


APIs

Totvs custom tabs box
tabsImplementação,Imagens
idsapis_imagens

CONFIGURAÇÕES e FILTROS

Possibilitará ao usuário buscar as configurações cadastradas no conciliador e também os filtros para obter os dados de origem e destino.

Totvs custom tabs box items
defaultyes
referenciaconfiguracoes_filtros

API para recuperar as configurações adicionadas pelo usuário e os filtros a serem utilizados, deverá buscar essas informações nos campos QLB_CODCFG, QLB_DESCFG e QLB_FILTER.

  • matchsetting
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Request
linenumberstrue
collapsetrue
[]
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Response
linenumberstrue
collapsetrue
{
    "items": [
        {
            "filter": {
                "tabdes": [
                    {
                        "order": "01",
                        "field": "CT2_DATA",
                        "title": "Data Lcto",
                        "type": "D",
                        "size": 8,
                        "picture": "99/99/9999",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "02",
                        "field": "CT2_DATA",
                        "title": "Data Lcto",
                        "type": "D",
                        "size": 8,
                        "picture": "99/99/9999",
                        "decimal": 0,
                        "operation": "<="
                    },
                    {
                        "order": "03",
                        "field": "CT2_LOTE",
                        "title": "Numero Lote",
                        "type": "C",
                        "size": 6,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "04",
                        "field": "CT2_DEBITO",
                        "title": "Cta Debito",
                        "type": "C",
                        "size": 20,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "05",
                        "field": "CT2_CCD",
                        "title": "C Custo Deb",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "06",
                        "field": "CT2_ITEMD",
                        "title": "Item Debito",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "07",
                        "field": "CT2_CLVLDB",
                        "title": "Cl Vlr Deb",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    }
                ],
                "tabori": [
                    {
                        "order": "10",
                        "field": "E1_TIPO",
                        "title": "Tipo",
                        "type": "C",
                        "size": 3,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "11",
                        "field": "E1_NATUREZ",
                        "title": "Natureza",
                        "type": "C",
                        "size": 10,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "12",
                        "field": "E1_VALOR",
                        "title": "Vlr.Titulo",
                        "type": "N",
                        "size": 16,
                        "picture": "@E 9,999,999,999,999.99",
                        "decimal": 2,
                        "operation": ">="
                    },
                    {
                        "order": "13",
                        "field": "E1_VALOR",
                        "title": "Vlr.Titulo",
                        "type": "N",
                        "size": 16,
                        "picture": "@E 9,999,999,999,999.99",
                        "decimal": 2,
                        "operation": "=<"
                    },
                    {
                        "order": "01",
                        "field": "E1_EMISSAO",
                        "title": "DT Emissao",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "02",
                        "field": "E1_EMISSAO",
                        "title": "DT Emissao",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": "<="
                    },
                    {
                        "order": "03",
                        "field": "E1_VENCREA",
                        "title": "Vencto real",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "04",
                        "field": "E1_VENCREA",
                        "title": "Vencto real",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": "<="
                    },
                    {
                        "order": "05",
                        "field": "E1_CLIENTE",
                        "title": "Cliente",
                        "type": "C",
                        "size": 6,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "06",
                        "field": "E1_LOJA",
                        "title": "Loja",
                        "type": "C",
                        "size": 2,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "07",
                        "field": "E1_PREFIXO",
                        "title": "Prefixo",
                        "type": "C",
                        "size": 3,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "08",
                        "field": "E1_NUM",
                        "title": "No. Titulo",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "09",
                        "field": "E1_NUM",
                        "title": "No. Titulo",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "=<"
                    }
                ]
            },
            "tabdes": "LANCAMENTOS CONTABEIS(CT2)",
            "codcfg": "0101",
            "tabori": "CONTAS A RECEBER(SE1)",
            "value": "T1||0101",
            "branch": "",
            "label": "0101-CONTABIL X CONTAS A RECEBER"
        },
        {
            "filter": {
                "tabdes": [
                    {
                        "order": "01",
                        "field": "CT2_DATA",
                        "title": "Data Lcto",
                        "type": "D",
                        "size": 8,
                        "picture": "99/99/9999",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "02",
                        "field": "CT2_DATA",
                        "title": "Data Lcto",
                        "type": "D",
                        "size": 8,
                        "picture": "99/99/9999",
                        "decimal": 0,
                        "operation": "<="
                    },
                    {
                        "order": "03",
                        "field": "CT2_LOTE",
                        "title": "Numero Lote",
                        "type": "C",
                        "size": 6,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "04",
                        "field": "CT2_CREDIT",
                        "title": "Cta Credito",
                        "type": "C",
                        "size": 20,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "05",
                        "field": "CT2_CCC",
                        "title": "C Custo Crd",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "06",
                        "field": "CT2_ITEMC",
                        "title": "Item Credito",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "07",
                        "field": "CT2_CLVLCR",
                        "title": "Cl Vlr Cred",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    }
                ],
                "tabori": [
                    {
                        "order": "10",
                        "field": "E2_TIPO",
                        "title": "Tipo",
                        "type": "C",
                        "size": 3,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "11",
                        "field": "E2_NATUREZ",
                        "title": "Natureza",
                        "type": "C",
                        "size": 10,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "12",
                        "field": "E2_VALOR",
                        "title": "Vlr.Titulo",
                        "type": "N",
                        "size": 16,
                        "picture": "@E 9,999,999,999,999.99",
                        "decimal": 2,
                        "operation": ">="
                    },
                    {
                        "order": "13",
                        "field": "E2_VALOR",
                        "title": "Vlr.Titulo",
                        "type": "N",
                        "size": 16,
                        "picture": "@E 9,999,999,999,999.99",
                        "decimal": 2,
                        "operation": "=<"
                    },
                    {
                        "order": "01",
                        "field": "E2_EMISSAO",
                        "title": "DT Emissao",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "02",
                        "field": "E2_EMISSAO",
                        "title": "DT Emissao",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": "<="
                    },
                    {
                        "order": "03",
                        "field": "E2_VENCREA",
                        "title": "Vencto Real",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "04",
                        "field": "E2_VENCREA",
                        "title": "Vencto Real",
                        "type": "D",
                        "size": 8,
                        "picture": "",
                        "decimal": 0,
                        "operation": "<="
                    },
                    {
                        "order": "05",
                        "field": "E2_FORNECE",
                        "title": "Fornecedor",
                        "type": "C",
                        "size": 6,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "06",
                        "field": "E2_LOJA",
                        "title": "Loja",
                        "type": "C",
                        "size": 2,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "07",
                        "field": "E2_PREFIXO",
                        "title": "Prefixo",
                        "type": "C",
                        "size": 3,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "="
                    },
                    {
                        "order": "08",
                        "field": "E2_NUM",
                        "title": "No. Titulo",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": ">="
                    },
                    {
                        "order": "09",
                        "field": "E2_NUM",
                        "title": "No. Titulo",
                        "type": "C",
                        "size": 9,
                        "picture": "@!",
                        "decimal": 0,
                        "operation": "=<"
                    }
                ]
            },
            "tabdes": "LANCAMENTOS CONTABEIS(CT2)",
            "codcfg": "0102",
            "tabori": "CONTAS A PAGAR(SE2)",
            "value": "T1||0102",
            "branch": "",
            "label": "0102-CONTABIL X CONTAS A PAGAR"
        }
    ],
    "hasNext": false,
    "po_sync_date": "2021-08-25T17:19:20Z"
}          


API para criar as tabelas e popular temporárias origem e destino, conterá os campos utilizados e as informações das tabelas, utilizará os campos QLB_TABORI, QLB_TABDES, QLB_FIELDS, QLB_REGORI e QLB_REGDES.

  • matchprocessing
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Request
linenumberstrue
collapsetrue
{
   "codcfg": "0101",
   "date": "20210728",
   "time": "16:12",
   "user": "a.santos",
   "tabdes": [
      {
         "field": "CT2_DATA",
         "operation": ">=",
         "value": "20210701",
         "type": "D"
      },
      {
         "field": "CT2_DATA",
         "operation": "<=",
         "value": "20210731",
         "type": "D"
      },
      {
         "field": "CT2_LOTE",
         "operation": "=",
         "value": "008850",
         "type": "C"
      },
      {
         "field": "(CT2_DEBITO OR CT2_CREDIT)",
         "operation": "=",
         "value": "",
         "type": "C"
      },
      {
         "field": "(CT2_CCD OR CT2_CCC)",
         "operation": "=",
         "value": "",
         "type": "C"
      },
      {
         "field": "(CT2_ITEMD OR CT2_ITEMC)",
         "operation": "=",
         "value": "",
         "type": "C"
      },
      {
         "field": "(CT2_CLVLDB OR CT2_CLVLCR)",
         "operation": "=",
         "value": "",
         "type": "C"
      }
   ],
   "tabori": [
      {
          "field": "E1_TIPO",
          "operation": "=",
          "value": "",
          "type": "C"
      },
      {
          "field": "E1_NATUREZ",
          "operation": "=",
          "value": "",
          "type": "C"
      },
      {
          "field": "E1_VALOR",
          "operation": ">=",
          "value": 0.00,
          "type": "N"
      },
      {
          "field": "E1_VALOR",
          "operation": "<=",
          "value": 1000.00,
          "type": "N"
      },
      {
          "field": "E1_EMISSAO",
          "operation": ">=",
          "value": "20210701",
          "type": "D"
      },
      {
          "field": "E1_EMISSAO",
          "operation": "<=",
          "value": "20210731",
          "type": "D"
      },
      {
          "field": "E1_VENCREA",
          "operation": ">=",
          "value": "",
          "type": "D"
      },
      {
          "field": "E1_VENCREA",
          "operation": "<=",
          "value": "",
          "type": "D"
      },
      {
          "field": "E1_CLIENTE",
          "operation": "=",
          "value": "",
          "type": "C"
      },
      {
          "field": "E1_LOJA",
          "operation": "=",
          "value": "",
          "type": "C"
      },
      {
          "field": "E1_PREFIXO",
          "operation": "=",
          "value": "",
          "type": "C"
      },
      {
           "field": "E1_NUM",
           "operation": ">=",
           "value": "",
           "type": "C"
      },
      {
          "field": "E1_NUM",
          "operation": "=<",
          "value": "",
          "type": "C"
      }
   ]
}
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Response
linenumberstrue
collapsetrue
{
    "tabori": "TC25144444",
    "tabdes": "TC25144448"
}

...

GRID

grid_alert
Totvs custom tabs box
tabsImplementação,Grid, Modal de Confirmação, Alerta de Status
idsgrid_implementacao,grid_imagem,grid_modal,grid_alert

Os grids apresentarão as informações utilizadas na conciliação, serão separadas em Origem e Destino, os campos para apresentação dos dados serão configuráveis e devem ser adicionados na tabela QLB, campo QLB_FIELDS.

Teremos essas opções no combobox citado acima: 

  • Registros conciliados
  • Registros não conciliados

Os registros serão apresentados conforme os filtros adicionados pelo usuário, as informações que tiverem match automático aparecerão marcados na origem e destino e estão prontos para conciliação, não poderão ser desmarcados pois atenderam a regra automática. Já os registros que não tiverem match automático, poderão ser selecionados na origem e destino para conciliação manual.

Após clicar no botão "Conciliar", um modal (aba 3) será exibido para que o usuário confirme sua ação. O modal será construído com o componente Modal do PO UI. Depois da confirmação do usuário, o sistema irá exibir um alerta para o usuário informando o usuário sobre o resultado da ação (aba 4). O alerta será construído com o Interceptor do PO UI, em conjunto com o back-end.

Será possível realizar a exportação das tabelas via excel. Ao exportar o arquivo, os matches precisam estar alinhados para facilitar a visualização. No arquivo também terá a informação dos filtros que foram selecionados.


Também é necessário que o back-end retorne a propriedade _messages no objeto de retorno nas APIs de exclusão, edição e salvamento da conciliação de registros, como explicado detalhadamente nesta página do PO UI. Resumindo, essa propriedade serve para que o front-end exiba as mensagens de alerta conforme o status da requisição.

05. Campos e Parâmetros

06. Tabelas Utilizadas

  • QLA - Conciliacao Contabil
Totvs custom tabs box items
defaultyes
referenciagrid_implementacao

Api responsável por realizar a consulta nas tabelas temporárias de origem e destino e apresentar as informações para apresentação no front-end.

  • conciliateitemsAPI para informações de Origem dos Lançamentos:
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Request
linenumberstrue
collapsetrue
[]
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Response: Get
linenumberstrue
collapsetrue
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Response: Post, Put e Delete
linenumberstrue
collapsetrue
  • API para informações de Lançamentos Contabilizados:
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Request
linenumberstrue
collapsetrue
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Response: Get
linenumberstrue
collapsetrue
Bloco de código
languagecoldfusion
themeDJango
firstline1
titleJson Response: Post, Put e Delete
linenumberstrue
collapsetrue

Campo

Titulo

Descrição

QLA_FILIALFilialFilial do Sistema
QLA_CODIGOCodigo Codigo da Conciliacao
QLA_TABORITabela OrigemTabela de Origem
QLA_CHVORIChave OrigemChave Registro Origem
QLA_CHVCTBChave ContabilChave Registro Contabil
QLA_USERUsuarioUsuario da Conciliacao
QLA_DATAData ConcData da Conciliacao
QLA_HORAHora ConcHora da Conciliacao
Informações
titleImportante

Serão realizadas as gravações de data, hora e usuário responsável pela conciliação.

Totvs custom tabs box items
defaultno
referenciagrid_imagem
{
    "items": [
        {
            "a1tpcamp": "",
            "a1loja": "01",
            "a1prior": "",
            "a1pais": "",
            "a1rimamt": "",
            "a1regpb": "",
            "a1dtfimv": "",
            "a1condpag": "",
            "a1diaspag": 0,
            "a1tribfav": "",
            "a1pessoa": "J",
            "a1endcob": "TESTEMACARIO, 1977",
            "a1dest2": "",
            "a1endent": "",
            "a1subcod": "",
            "a1tpissrs": "",
            "a1dest1": "",
            "a1dest3": "",
            "a1prfcod": "",
            "a1clicnv": "",
            "a1pricom": "1987-8-31",
            "a1ultcom": "2021-8-6",
            "a1nrocom": 254,
            "a1bco1": "",
            "a1bco2": "",
            "a1bco3": "",
            "a1bco4": "",
            "a1bco5": "",
            "a1lc": 1000000,
            "a1iencont": "",
            "a1hrtrans": "",
            "a1compent": "",
            "a1percatm": 0,
            "a1abatimp": "",
            "a1contab": "",
            "a1nome": "CLIENTE PADRAO",
            "a1codmune": "",
            "a1nropag": 64,
            "a1unidven": "",
            "a1outrmun": "",
            "a1aliqir": 15,
            "a1munc": "",
            "a1end": "R...",
            "a1vend": "",
            "a1mune": "",
            "a1cond": "",
            "a1codmemb": "",
            "a1simples": "",
            "a1naturez": "IRGCT",
            "a1tipprfl": "",
            "a1inovaut": "",
            "a1userlga": "0#  3@  20 30c",
            "a1cod": "000001",
            "a1userlgi": "",
            "a1tabela": "",
            "a1cargo1": "",
            "a1cargo2": "",
            "a1comis": 0,
            "a1cepe": "",
            "a1venclc": "",
            "a1cargo3": "",
            "a1tipcli": "",
            "a1cepc": "",
            "a1tipo": "F",
            "a1tpmemb": "",
            "a1codpais": "",
            "a1incult": "",
            "a1cnae": "",
            "a1grptrib": "",
            "a1tipper": "",
            "a1tpfret": "",
            "a1recfet": "",
            "a1cdrdes": "",
            "a1rg": "",
            "a1fax": "",
            "a1mundfc": "",
            "a1indret": "",
            "a1contrib": "",
            "a1msexp": "",
            "a1alifixa": "",
            "a1desc": 0,
            "a1entid": "",
            "a1codter": "",
            "a1lcfin": 0,
            "a1tda": "",
            "a1super": "",
            "a1moedalc": 0,
            "a1est": "SP",
            "a1ddd": "",
            "a1estc": "",
            "a1telex": "",
            "a1ddi": "",
            "a1tipocli": "",
            "a1este": "",
            "a1reccsll": "",
            "a1issrslc": "",
            "a1vinculo": "",
            "a1tpdp": "",
            "a1suframa": "",
            "a1metr": 89.66,
            "a1atr": 0,
            "a1rtec": "",
            "a1matr": 0,
            "a1codfid": "",
            "a1fomezer": "",
            "a1tel": "",
            "a1perfil": 0,
            "a1mun": "SAO PAULO",
            "a1chqdevo": 0,
            "a1salfin": 0,
            "a1clifat": "",
            "a1resfat": "",
            "a1calcsuf": "",
            "a1minirf": "",
            "a1entori": "",
            "a1rfasemt": "",
            "a1m996": "",
            "a1inscrm": "",
            "a1clasven": "",
            "a1salfinm": 0,
            "a1cxposta": "",
            "a1sativ2": "",
            "a1dtnasc": "",
            "a1sativ4": "",
            "a1ibge": "",
            "a1classe": "",
            "a1observ": "",
            "a1sativ8": "",
            "a1sativ6": "",
            "a1sativ7": "",
            "a1sativ1": "",
            "a1complem": "",
            "a1vacum": 110083.67,
            "a1codhist": "",
            "a1contato": "",
            "a1tpessoa": "",
            "a1agreg": "",
            "a1sativ3": "",
            "a1reciss": "",
            "a1tmpstd": "00:00",
            "a1ctare": "",
            "a1inciss": "",
            "a1numra": "",
            "a1loccons": "",
            "a1irbax": "",
            "a1sativ5": "",
            "a1usadda": "",
            "a1maidupl": 103835.32,
            "a1saldupm": 57365.05,
            "a1idhist": "",
            "a1msaldo": 119276.7,
            "a1imgumov": "",
            "a1idestn": "",
            "a1pagatr": 190479.97,
            "a1endrec": "",
            "a1salped": 94.74,
            "a1fildeb": "",
            "a1codmarc": "",
            "a1fretiss": "",
            "a1dscreg": "",
            "a1simpnac": "",
            "a1tpreg": "",
            "a1nif": "",
            "a1nvestn": 0,
            "a1codmun": "",
            "a1grpven": "",
            "a1mcompra": 152889,
            "a1codmusu": "",
            "a1codsiaf": "",
            "a1recirrf": "1",
            "a1ec06db": "",
            "a1pfisica": "",
            "a1codloc": "",
            "a1hrcad": "",
            "a1dtcad": "",
            "a1ec06cr": "",
            "a1perfecp": 0,
            "a1salpedb": 0,
            "a1bairroc": "",
            "a1recinss": "",
            "a1bairroe": "",
            "a1rfabov": "",
            "a1endnot": "",
            "a1codfor": "",
            "a1salpedl": -111.450000000000003,
            "a1hrexpo": "",
            "a1ec08db": "",
            "a1timekee": "",
            "a1filial": "D MG",
            "a1msblql": "",
            "a1chvcam": "",
            "a1regiao": "",
            "a1inscrur": "",
            "a1temvis": 0,
            "a1ultvis": "",
            "a1prstser": "",
            "a1tmpvis": "",
            "a1dtiniv": "",
            "a1reserve": "",
            "a1reccofi": "",
            "a1ec08cr": "",
            "a1recpis": "",
            "a1crdma": "",
            "a1mensage": "",
            "a1prfvld": "",
            "a1tpj": "",
            "a1formvis": "",
            "a1dtultit": "",
            "a1recfmd": "",
            "a1regesim": "",
            "a1saldup": 724493.56,
            "a1dtulchq": "",
            "a1b2b": "",
            "a1nreduz": "CLIENTE PADRAO",
            "a1blemail": "",
            "a1cbo": "",
            "a1obs": "",
            "a1codage": "",
            "a1comage": 0,
            "a1email": "",
            "a1hpage": "",
            "a1incltmg": "",
            "a1cep": "",
            "a1conta": "",
            "a1inscr": "",
            "a1abics": "",
            "a1rfacs": "",
            "a1filtrf": "",
            "a1clipri": "",
            "a1lojpri": "",
            "a1bairro": "",
            "a1ativida": "",
            "a1situa": "",
            "a1cgc": "",
            "a1prfobs": "",
            "a1ipweb": "",
            "a1transf": "",
            "a1tpnfse": "",
            "a1transp": "",
            "a1ec09db": "",
            "a1ec09cr": "",
            "a1ceinss": "",
            "a1ec05db": "",
            "a1titprot": -1,
            "a1ec05cr": "",
            "a1origct": "",
            "a1ec07db": "",
            "a1estado": "",
            "a1ec07cr": "",
            "a1cbairre": "",
            "a1codseg": "",
            "a1origem": "",
            "a1matfun": "",
            "a1risco": ""
        },
        {
            "a1tpcamp": "",
            "a1loja": "01",
            "a1prior": "",
            "a1pais": "",
            "a1rimamt": "",
            "a1regpb": "",
            "a1dtfimv": "",
            "a1condpag": "",
            "a1diaspag": 0,
            "a1tribfav": "",
            "a1pessoa": "J",
            "a1endcob": "",
            "a1dest2": "",
            "a1endent": "",
            "a1subcod": "",
            "a1tpissrs": "",
            "a1dest1": "",
            "a1dest3": "",
            "a1prfcod": "",
            "a1clicnv": "",
            "a1pricom": "1998-1-12",
            "a1ultcom": "2021-5-14",
            "a1nrocom": 50,
            "a1bco1": "",
            "a1bco2": "",
            "a1bco3": "",
            "a1bco4": "",
            "a1bco5": "",
            "a1lc": 0,
            "a1iencont": "",
            "a1hrtrans": "",
            "a1compent": "",
            "a1percatm": 0,
            "a1abatimp": "1",
            "a1contab": "",
            "a1nome": "CLIENTE ANDREA",
            "a1codmune": "",
            "a1nropag": 18,
            "a1unidven": "",
            "a1outrmun": "",
            "a1aliqir": 0,
            "a1munc": "",
            "a1end": "RUA DAS ESTRELAS,100",
            "a1vend": "",
            "a1mune": "",
            "a1cond": "",
            "a1codmemb": "",
            "a1simples": "",
            "a1naturez": "000001",
            "a1tipprfl": "",
            "a1inovaut": "2",
            "a1userlga": "0#  6@  50Ž 40€",
            "a1cod": "000002",
            "a1userlgi": "0#  0@  50z 40h",
            "a1tabela": "",
            "a1cargo1": "",
            "a1cargo2": "",
            "a1comis": 0,
            "a1cepe": "",
            "a1venclc": "",
            "a1cargo3": "",
            "a1tipcli": "1",
            "a1cepc": "",
            "a1tipo": "F",
            "a1tpmemb": "",
            "a1codpais": "",
            "a1incult": "",
            "a1cnae": "",
            "a1grptrib": "",
            "a1tipper": "",
            "a1tpfret": "",
            "a1recfet": "",
            "a1cdrdes": "",
            "a1rg": "",
            "a1fax": "",
            "a1mundfc": "",
            "a1indret": "",
            "a1contrib": "",
            "a1msexp": "",
            "a1alifixa": "",
            "a1desc": 0,
            "a1entid": "",
            "a1codter": "",
            "a1lcfin": 0,
            "a1tda": "",
            "a1super": "",
            "a1moedalc": 2,
            "a1est": "SP",
            "a1ddd": "",
            "a1estc": "",
            "a1telex": "",
            "a1ddi": "",
            "a1tipocli": "",
            "a1este": "",
            "a1reccsll": "S",
            "a1issrslc": "",
            "a1vinculo": "",
            "a1tpdp": "2",
            "a1suframa": "",
            "a1metr": -9.970000000000001,
            "a1atr": 0,
            "a1rtec": "",
            "a1matr": 4,
            "a1codfid": "",
            "a1fomezer": "",
            "a1tel": "",
            "a1perfil": 0,
            "a1mun": "SAO PAULO",
            "a1chqdevo": 0,
            "a1salfin": 0,
            "a1clifat": "",
            "a1resfat": "",
            "a1calcsuf": "",
            "a1minirf": "2",
            "a1entori": "",
            "a1rfasemt": "",
            "a1m996": "",
            "a1inscrm": "",
            "a1clasven": "",
            "a1salfinm": 0,
            "a1cxposta": "",
            "a1sativ2": "",
            "a1dtnasc": "",
            "a1sativ4": "",
            "a1ibge": "",
            "a1classe": "",
            "a1observ": "",
            "a1sativ8": "",
            "a1sativ6": "",
            "a1sativ7": "",
            "a1sativ1": "",
            "a1complem": "",
            "a1vacum": 62768.3,
            "a1codhist": "",
            "a1contato": "",
            "a1tpessoa": "",
            "a1agreg": "",
            "a1sativ3": "",
            "a1reciss": "",
            "a1tmpstd": "00:00",
            "a1ctare": "",
            "a1inciss": "",
            "a1numra": "",
            "a1loccons": "",
            "a1irbax": "2",
            "a1sativ5": "",
            "a1usadda": "2",
            "a1maidupl": 25063.91,
            "a1saldupm": 23812.1,
            "a1idhist": "",
            "a1msaldo": 31290.38,
            "a1imgumov": "",
            "a1idestn": "",
            "a1pagatr": 3000,
            "a1endrec": "",
            "a1salped": 0,
            "a1fildeb": "",
            "a1codmarc": "",
            "a1fretiss": "",
            "a1dscreg": "",
            "a1simpnac": "",
            "a1tpreg": "",
            "a1nif": "",
            "a1nvestn": 0,
            "a1codmun": "",
            "a1grpven": "",
            "a1mcompra": 25063.91,
            "a1codmusu": "",
            "a1codsiaf": "",
            "a1recirrf": "",
            "a1ec06db": "",
            "a1pfisica": "",
            "a1codloc": "",
            "a1hrcad": "",
            "a1dtcad": "",
            "a1ec06cr": "",
            "a1perfecp": 0,
            "a1salpedb": 0,
            "a1bairroc": "",
            "a1recinss": "",
            "a1bairroe": "",
            "a1rfabov": "",
            "a1endnot": "",
            "a1codfor": "",
            "a1salpedl": 0,
            "a1hrexpo": "",
            "a1ec08db": "",
            "a1timekee": "",
            "a1filial": "D MG",
            "a1msblql": "2",
            "a1chvcam": "",
            "a1regiao": "",
            "a1inscrur": "",
            "a1temvis": 0,
            "a1ultvis": "",
            "a1prstser": "",
            "a1tmpvis": "00:00",
            "a1dtiniv": "",
            "a1reserve": "",
            "a1reccofi": "S",
            "a1ec08cr": "",
            "a1recpis": "S",
            "a1crdma": "",
            "a1mensage": "",
            "a1prfvld": "",
            "a1tpj": "",
            "a1formvis": "",
            "a1dtultit": "",
            "a1recfmd": "",
            "a1regesim": "2",
            "a1saldup": 80936.3,
            "a1dtulchq": "",
            "a1b2b": "2",
            "a1nreduz": "CLIENTE ANDREA",
            "a1blemail": "",
            "a1cbo": "",
            "a1obs": "",
            "a1codage": "",
            "a1comage": 0,
            "a1email": "",
            "a1hpage": "",
            "a1incltmg": "",
            "a1cep": "",
            "a1conta": "",
            "a1inscr": "",
            "a1abics": "",
            "a1rfacs": "",
            "a1filtrf": "",
            "a1clipri": "",
            "a1lojpri": "",
            "a1bairro": "",
            "a1ativida": "",
            "a1situa": "",
            "a1cgc": "56061652416451",
            "a1prfobs": "",
            "a1ipweb": "",
            "a1transf": "",
            "a1tpnfse": "",
            "a1transp": "",
            "a1ec09db": "",
            "a1ec09cr": "",
            "a1ceinss": "",
            "a1ec05db": "",
            "a1titprot": 0,
            "a1ec05cr": "",
            "a1origct": "",
            "a1ec07db": "",
            "a1estado": "",
            "a1ec07cr": "",
            "a1cbairre": "",
            "a1codseg": "",
            "a1origem": "",
            "a1matfun": "",
            "a1risco": ""
        }
    ],
    "hasNext": true,
    "po_sync_date": "2021-08-25T18:13:18Z"
}


05. Campos e Parâmetros

Campo

Titulo

Descrição

QLA_FILIALFilialFilial do Sistema
QLA_CODCONCd. ConciliaSequencial da Conciliação
QLA_CODCFGCod. ConfigCódigo da Configuração
QLA_TABORITabela OrigemTabela de Origem
QLA_TABDESTabela DestinoTabela de Destino
QLA_USERUsuarioUsuario da Conciliacao
QLA_DATAData ConcData da Conciliacao
QLA_HORAHora ConcHora da Conciliacao

Campo

Titulo

Descrição

QLB_FILIALFilial      Filial do Sistema        
QLB_CODCFGCod. Config.Código da Configuração   
QLB_DESCFGDesc. ConfigDescrição da Configuração
QLB_FIELDSCampos Conc.Campos do conciliador    
QLB_FILTERFiltros ConcFiltros do Conciliador   
QLB_TABORITab. Origem Tabela de Origem         
QLB_DESCORDesc Tab OriDescrição Tabela Origem  
QLB_REGORIRegra OrigemRegra de Origem          
QLB_CIDORICpo Id Orig Campo Id. Origem         
QLB_TABDESTab. DestinoTabela de Destino        
QLB_DESCDEDesc Tab DesDescrição Tabela Destino 
QLB_REGDESReg Destino Regras de Destino        
QLB_CIDDESCpo Id Dest Campo Id de destino      

Campo

Titulo

Descrição

QLC_FILIALFilial      Filial do Sistema        
QLC_CODCONCd. ConciliaSequencial de Conciliação
QLC_IDCONCId. ConciliaId de conciliação        
QLC_REGCONRegra ConcilRegra de Conciliação     
QLC_SEQUENSequencia   Código Sequencial        
QLC_IDDESTId. Destino Id do registro de Destino
QLC_IDORIGId. Origem  Id do Registro de Origem 

06. Tabelas Utilizadas

  • QLA - Conciliação Genérica
  • QLB - Conciliador - Chaves
  • QLC - Registros Conciliados
Totvs custom tabs box items
defaultno
referenciagrid_modal
Totvs custom tabs box items
defaultno
referencia



HTML
<!-- esconder o menu --> 


<style>
div.theme-default .ia-splitter #main {
    margin-left: 0px;
}
.ia-fixed-sidebar, .ia-splitter-left {
    display: none;
}
#main {
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
}

.aui-header-primary .aui-nav,  .aui-page-panel {
    margin-left: 0px !important;
}
.aui-header-primary .aui-nav {
    margin-left: 0px !important;
}
</style>