NOTRGLT script: Payment notification
FILTRE: Additional filter on invoices
This entry point is used to add an additional filter on the invoices available for the notification.
Context and operating mode
Transaction block
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
This entry point is called on each triggering of the loading of invoices in the grid and is used to evaluate the selection criteria entered.
Available variables and masks
The [L]CRITERE variable is available and will be applied as a filter on the invoice file. It is set to 250 characters.
The NOTRGLT mask is also on line.
Variable or mask |
Definition |
Char CRITERE(250) |
Selection criteria for the invoice file |
Mask NOTRGLT [DIA] |
Payment notification mask |
Open tables
No table has got significant content in this context. However, the Invoice, Document type and Open item tables are declared and open.
Table |
Significant content |
Table Title |
SINVOICE |
|
BP invoices |
GACCDUDATE |
|
Scheduled invoices |
GTYPACCENT |
|
Entry type |
AFTLINMTC: After matching a line
- Use this entry point to take control on an invoice line after the standard matching process.
Context and operating mode
Transaction block
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
This entry point is located in the processing loop run on the open item lines, after the standard matching of a line (i.e. after processing a line and before processing the next one).
Available screens
- GACCENT2[HAE2] Journal entry
- NOTRGLT [DIA] Payment notification
Available variables
GOK variable: set to 0 or -1 if an error occurs and you want to exit the transaction.
Open tables
- SINVOICE BP invoices
- GACCDUDATE Open items
- GTYPACCENT [GTE] Entry type
- GACCENTRY [HAE1] Accounting entries
- FACTOR[FCT] Factors