In offline accounting (CTBAFIN), when the totalizer variable "VALOR" is used, records from bills (SE2), and their respective bank transfers (SE5) will not be available. For example, to build the history for LP CT5_HIST: - Do not use SE2/SE5 fields: "Pagamento do titulo "+ SE2→E2_NUM+SE2→E2_PREFIXO+ " no borderô" + SE2→E2_NUMBOR.
- Use fields from table SEA: "Pagamento Total Ref. Borderô: " + SEA→EA_NUMBOR + " de Emissão: " + SEA->EA_DATABOR
EA_FILIAL | EA_NUMBOR | EA_DATABOR | EA_PREFIXO | EA_NUM | EA_PARCELA | EA_TIPO | EA_FORNECE | EA_LOJA | E2_EMISSAO | E2_VENCREA | E2_VALOR | E5_DATA | E5_VALOR | E5_VLDESCO | E5_VLJUROS | D RJ 02 | CTBF01 | 20200120 | CTB | CTBFIN087 | 1 | NF | CTBFIN | 1 | 20200120 | 20200120 | 1000 | 20200120 | 1100 | 0 | 100 | D RJ 02 | CTBF01 | 20200120 | CTB | CTBFIN087 | 2 | NF | CTBFIN | 2 | 20200120 | 20200120 | 1000 | 20200120 | 900 | 100 | 0 | D RJ 02 | CTBF02 | 20200120 | CTB | CTBFIN087 | 3 | NF | CTBFIN | 1 | 20200120 | 20200120 | 1000 | 20200120 | 1100 | 0 | 100 | D RJ 02 | CTBF02 | 20200120 | CTB | CTBFIN087 | 4 | NF | CTBFIN | 2 | 20200120 | 20200120 | 1000 | 20200120 | 900 | 100 | 0 | D RJ 02 | CTBF03 | 20200120 | CTB | CTBFIN087 | 5 | NF | CTBFIN | 1 | 20200120 | 20200120 | 1000 | 20200120 | 1100 | 0 | 100 | D RJ 02 | CTBF03 | 20200120 | CTB | CTBFIN087 | 6 | NF | CTBFIN | 2 | 20200120 | 20200120 | 1000 | 20200120 | 900 | 100 | 0 |
Aviso |
---|
title | Attention - Important! |
---|
| Behavior according to parameterization in the offline accounting - CTBAFIN Question 13 - Account Bordereau: 1 - Total Bordereaux - Table SEA will be positioned in the last record of the bordereau list accounted in the Period/Process. 2 - Bordereau/Bordereau - Table SEA will be positioned in the last record of each bordereau. |
|