Process SUBTPT: SUBTPT
FERIES: Non-working days calculation
The number of non-working days between two dates is calculated as a function of the holiday/non-working calendar associated with the current site. This entry point is used to assign a different holiday/non working day calendar to that associated with the site.
Context and operating method
Transaction
Warning, this sub-program is called both in entry contexts and during updates when a transaction is in process.
Log file
There is no open log file.
Call case
The entry point is called just after the read of the current site and just before the number of public holidays calculation.
Available variables and masks
The SITE variable contains the current site.
Open tables
Table |
Significant content |
Table Title |
FACILITY [FCY] |
Yes |
Sites |
TABPAYTERM [TPT] |
Yes |
Payment conditions |
TABUNAVAIL [TUV] |
No |
Unavailabilities |
DATCLC: Due date calculation
Starting from the contents of the payment condition lines, a sub-program calculates the open items and send the variables grid. The date calculation can be replaced by a specific/custom process via this entry point, in order to impose fixed dates for example.
Context and operating method
Transaction
Warning, this sub-program is called both in entry contexts and during updates when a transaction is in process.
Log file
There is no open log file.
Call case
The entry point is called just after the determination of the due date within the line processing loop.
Available variables and masks
The local variable DAT contains the date determined by the payment condition line information; it's this variable that will be loaded in the entry point.
Open tables
Table |
Significant content |
Table Title |
FACILITY [FCY] |
Yes |
Sites |
TABPAYTERM [TPT] |
Yes |
Payment conditions |
TABUNAVAIL [TUV] |
No |
Unavailabilities |