The accounting of processes applied to an accounts payable clearance via Financials module is performed using the 597 standard entry.
Important
The clearance accounting is always based on data from the cleared bill, which can be any bond type: NF, TX, DP, etc. as long as the transfer (SE5) has the following classification: E5_TIPODOC = 'CP' and E5_MOTBX = 'CMP'
CT5_FILIAL | D MG 01 |
CT5_LANPAD | 597 |
CT5_STATUS | 1 |
CT5_DESC | LP597 - ACCOUNTS PAYABLE CLEARANCE |
CT5_DC | 3 |
CT5_DEBITO | 1 |
CT5_CREDIT | 2 |
CT5_MOEDAS | 12222 |
CT5_VLR01 | SE5->E5_VALOR |
CT5_HIST | CP - ACCOUNTS PAYABLE CLEARANCE LP597 |
Notes
List of variables that can be used to configure Standard Entry 597 (AP Clearance) for ONLINE Accounting of AP Clearance (FINA340):
VALOR - Stores the cleared amount.
VALOR2 - Increase Amount.
VALOR3 - Decrease Amount.
VALOR4 - Variation of monetary correction.
VLRINSTR - Stores the amount cleared.
nSldReal - Stores the amount cleared in the corresponding bill currency.
ABATIMENTO - Deduction amounts.
REGVALOR - Recno of current record.
STRLCTPAD - Key of main bill + document number.
List of variables that can be used to configure Standard Entry 597 (AP Clearance) for OFFLINE Accounting of AP Clearance (FINA340):
VALOR - Stores the cleared amount.
VALOR2 - Increase amount.
VALOR3 - Decrease Amount.
REGVALOR - Recno of current record.
STRLCTPAD - Key of main bill + document number.
VARIACAO - Monetary variation amount. (The ABS() function must be used to make it positive).
Important
The clearance accounting is always based on the Invoice data.
TABLE | DESCRIPTION |
---|---|
SE2 | Accounts Payable record |
SE5 | SE5 - Bank transfer - In process of discontinuation. |
SED | Nature Registration |
SA2 | Supplier Registration |