Use the CHARGE_LIG entry point to take over upon loading of open items in the payment lines when open items are selected via picking.
There is no transaction in progress.
There is no open log file.
The entry point is called just before the transfer of the open items in the WMPY1XXX [PAY1] payment line mask.
The WMPY1XXX [PAY1] mask (XXX corresponding to the current payment transaction) is open. This is the default mask.
Table | Significant content | Table Title |
GACCDUDATE [DUD] | Yes | Open items |
GACCDENCOD | Yes | Accounting destinations |
Use the CRITERE entry point to take over in order to modify the filter applied to open items in the picking of open items in payment entry.
There is no transaction in progress.
There is no open log file.
The entry point is called at the end of the FILGAUCHE action.
The WMPY1XXX [PAY1] mask (XXX corresponding to the current payment transaction) is open. This is the default mask.
The FILGAUSUP variable contains the different criteria in standard.
The ILIS variable corresponds to ILISDU5 (Open item selection panel) and ILISDU6 (Grouped open item selection panel)
Table | Significant content | Table Title |
GACCENTRY | No | Accounting documents |
GTYPACCENT | No | Entry types |
Use the ESCAGIO entry point to take over just before the discount/charge calculation in order to trigger the discount/charge calculation in open item picking for credit memos.
There is no transaction in progress.
There is no open log file.
The entry point is called just before the discount/charge calculation.
In standard mode, the discount/charge calculation is not launched in open item picking for credit memos. If the CAL_ESCAGIO variable is initialized to 2 in specific, the discount/charge calculation will also be triggered for credit memos.
Table | Significant content | Table Title |
GACCDUDATE | Yes | Open items |
GACCDENCOD | Yes | Accounting destinations |
Use this entry point to take over at the end of the calculation for the VAT split on discount lines.
The ECLVAT variable set to 0 is used to stop the VAT split.
There is no transaction in progress.
There is no open log file.
The entry point is called at the end of the VAT split calculation - ECLAT_TVA sub-program.
Sub-program variables
Variables | Definition |
Value SOCIETE | Payment company |
Value SENS | Payment sign |
Value NUMERO | Number of the open item to pay |
Value ACC_NUM | Internal number of the open item to pay |
TTC variable | Open item amount |
NBTAX variable | Tax number of the invoice |
TCODTAX() variable | Tax code list of the invoice |
TBASTAX() variable | Tax basis list by tax code |
TAMTTAX() variable | Tax amount list by tax code |
ECLVAT variable | Value 0: there will be no split Value 1: there will be a VAT split according to NBTAX |
Table | Significant content | Table Title |
GACCOUNT | No | Accounts |
PINVOICE | No | Purchase invoices |
SINVOICE | No | Sales invoices |
GACCENTRYD | No | Accounting entry lines |
GACCDUDATE | No | Open items |