Páginas filhas
  • Accounts Payable Clearing - FINA340 - Financials - P12

Versões comparadas

Chave

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

...

Entry point

Note

F340BROW

Entry point F340BROW is called before the browser, which you can use to handle the data displayed by the browser.
Document: {+}http://tdn.totvs.com/x/56Jc+

F340LIBT

The entry point indicates whether to validate the bill release when clearing.
Document: {+}http://tdn.totvs.com/x/_a2FDg+

F340DTFIN

PE is called in MV_DATAFIN parameter validations found in CP Clearing.
Document: {+}http://tdn.totvs.com/x/6qJc+

F340TAXA

In this entry point you can change the currency rates used when clearing accounts payable.
Document: {+}http://tdn.totvs.com/x/aK_FDg+

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.
Document: {+}http://tdn.totvs.com/x/nYIbCQ+

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.
Document: {+}http://tdn.totvs.com/x/7aJc+

F340SE5

Entry point F340SE5 handles Processed Bank Transactions with parameter Recno of records SE5 used in Clearing.
Document: {+}http://tdn.totvs.com/x/sAKqC+

F340GRV

Entry point F340GRV validates the addition in routine Accounts Payable Clearing (FINA340)
Document: {+}http://tdn.totvs.com/x/IgBzB+

F340ACAN

Use this entry point to create a rule to enter when the Reversal will occur, or not.
Document: {+}http://tdn.totvs.com/x/j7GFDg+

F340CAN

Entry Point called upon confirmation of clearance reversal.
Document: {+}http://tdn.totvs.com/x/zoFdAg+

F340GREST

Recording of additional data in clearance reversal
Document: {+}http://tdn.totvs.com/x/iqVc+

F340FCAN

Use this entry point to save complementary data when reversing the clearance.
Document: {+}http://tdn.totvs.com/x/W7KFDg+

FA340QRY

Query complement for cancellation of clearance
Document: {+}http://tdn.totvs.com/x/lgwGD+ 

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()
Document: {+}http://tdn.totvs.com/x/6aJc+

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.
Document: {+}http://tdn.totvs.com/x/nYIbCQ+

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.
Document: {+}http://tdn.totvs.com/x/kvdbDQ+

FA340NDFGrv


F340FLCP

Use this to implement a complementary expression in the bills filter.
Document: {+}http://tdn.totvs.com/x/66Jc+

F340FCPTOP

Use this entry point to create a new filter for the routine  Accounts Payable Clearing - FINA340. 
Document: {+}http://tdn.totvs.com/x/r_xZE+


08. OTHER CLEARING RULES

Deck of Cards
idRules
effectTypefade
Card
id1
labelIndexation
effectTypefade

Rules for generation of indexation in accounts payable clearing process:

  • Clearing of bills with equal contracted rates - the indexation value is generated only if the transaction rate is changed on the clearing screen. In this case, indexation is linked to the bill selected when the clearing starts (not to those bills selected later) and the value is based on the difference between the value with the rate contracted and the value that uses the new rate entered (the daily rate is not used);
  • Clearing of bills without contracted rates - the indexation value is generated for each bill involved in the clearing process, if there is a difference between the rate value on the day of bill addition and the rate value on the day the clearing is posted. Note: If there is a change in the value of the rate at time of clearing, this value is considered only for the bill selected and its indexation refers to the difference between the value with the new rate (entered onscreen) and the value with the rate on the day of addition. For all other bills involved in this clearing process, the rate on the day of clearing and the rate on the day of addition are used.    
  • Clearing of bills with different contracted rates - by default, the system does not allow this type of clearing. However, you can enable it through parameter  MV_CMTXCON ({+}https://tdn.totvs.com/x/7ZVWFw+). In this case, indexation is always generated attached to the invoice. The value refers to the difference of invoice value and cleared payment value.
  • Rate entered in clearing - by default, the system assumes the rate entered in clearing only for the starting bill (selected). However, you can set the use of the rate entered for the entire process through parameter MV_TXPRCON(parameter MV_TXPRCON). In this case, the rate entered is used not only for the starting bill by also for those selected, in accordance with the currency. If you use the rate by process, the indexation occurs through bill rate variation (Day rate or Contracted rate) with the rate entered. If no rate is entered, the system follows the default behavior.
Aviso
titleImportant

To generate the indexation, enable parameter MV_CALCCM.


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).

...