...
Entry point | Note |
F340BROW | Entry point F340BROW is called before the browser, which you can use to handle the data displayed by the browser. |
F340LIBT | The entry point indicates whether to validate the bill release when clearing. |
F340DTFIN | PE is called in MV_DATAFIN parameter validations found in CP Clearing. |
F340TAXA | In this entry point you can change the currency rates used when clearing accounts payable. |
F340ATLIS | Use this entry point to handle the aTitulos Array, to change the listBox of the clearing screen.Document: {+}http://tdn.totvs.com/x/gKRc+ |
F340TOTCP | Use entry point F340TOTCP() to handle the total values of bills to be cleared. |
F340MKTIT | Use entry point F340MKTIT to customize bills already selected in the markbrowse. You can handle an array that contains the bills and, with its 8th occurrence, containing a logical value that indicates whether the bill is selected or not.Document:{+}http://tdn.totvs.com/x/L6Rc+ |
F340NAT | |
F340_PA | Entry point F340_PA is executed after booking each clearance payable bill. |
F340SE5 | Entry point F340SE5 handles Processed Bank Transactions with parameter Recno of records SE5 used in Clearing. |
F340GRV | Entry point F340GRV validates the addition in routine Accounts Payable Clearing (FINA340) |
F340ACAN | Use this entry point to create a rule to enter when the Reversal will occur, or not. |
F340CAN | Entry Point called upon confirmation of clearance reversal. |
F340GREST | Recording of additional data in clearance reversal |
F340FCAN | Use this entry point to save complementary data when reversing the clearance. |
FA340QRY | Query complement for cancellation of clearance |
FA340FILT | Run entry point FA340FILT when assembling the table of bills to clear and use it to select which bills you will clearDocument: {+}http://tdn.totvs.com/x/rqNc+ |
F340CMP | Use this entry point to calculate the NDF or PA bill. It is called in function Fa340Tit() |
FA340ORD | Use this Entry Point to edit the index, changing the order of bills displayed on the markbrowse for clearing payableDocument: {+}http://tdn.totvs.com/x/r6Nc+ |
F340ValOk | Entry point F340ValOk allows controlling data and confirming the payable bills clearing screenDocument: {+}http://tdn.totvs.com/x/fKVc+ |
F340TOTCP | Use this entry point to handle the total values of bills to be cleared. |
F340VLD | Use this entry point to validate whether a bill will be cleared or not.Document: {+}http://tdn.totvs.com/x/J6Vc+ |
F340LEGE | |
SE5FI340 | Use this Entry Point to make complementary recordings in table SE5, after recording the bank transaction of the main bill in automatic clearing payableDocument: {+}http://tdn.totvs.com/x/56Rc+ |
SE5FI341 | Use this Entry Point to make complementary recordings in table SE5, after recording the bank transaction of the Advance bill in automatic clearing payable.Document: {+}http://tdn.totvs.com/x/6KRc+ |
F340GERNDF | Use this to save additional fields when adding the NDF generated by the clearing payable. |
FA340NDFGrv | |
F340FLCP | Use this to implement a complementary expression in the bills filter. |
F340FCPTOP | Use this entry point to create a new filter for the routine Accounts Payable Clearing - FINA340. |
Deck of Cards | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Cleared Taxes Difference
Accumulated DIC
...
The routine performs the clearing calculation internally in three parts, as if it was clearing each PA separately, generating the DIC only in the last clearing.
1st clearing - Clear NF x PA:
NF balance = BRL 1,000.00 (NF balance) - BRL 13.95 (PCC generated in clearing) - BRL 286.05 (cleared value) = 700.00
Transaction: BRL 300.00
Generated the taxes configured in posting, in example, PCC in value of BRL 13.95 with calculation base of BRL 300.00
PA balance = 300.00 (PA balance) - 300.00 (cleared value) = 0.00
Value related to Difference of calculated tax: 13.95
{}Important*
As previously mentioned, the DIC is not generated at this time.
...
Attention
For clearings done individually (1 PA x 1 NF), the system generates an independent DIC, that is, one DIC for each clearing. No accumulated DIC will be generated
DIC Booking
DIC Booking
You can book the addition of a DIC type bill through LP 510 (Accounts Payable - Addition of Bills).
...