CRITSPE1 contains the condition that differentiates the line of the treasury account from the one from the
payment. CRITSPE2 is not empty and contains the selection condition for the treasury account line.
Use example of the entry point when the detail criteria entered in line 10 of the STEPN automatic journal is the check number.
CRITSPE1 = ([M:HAEW]FCYLIN(W-1)<>[F:PYH3]FCY | (GLIGTRES2="STEPN/10" & [M:HAEW]DES(W-1)<>[F:PYH3]CHQNUM) )
CRITSPE2 -= ' & (GLIGTRES2<>"STEPN/10" | [M:HAEW]DES(W+W_STR-1)=[F:PYH3]CHQNUM)'
Variable or mask | Definition |
Mask GACCENTW [HAEW] | Payment lines |
Mask GACCENT0 [HAE0] | Accounting document header |
Mask GACCENT1 [HAE1] | Accounting document header |
Mask GACCENT2 [HAE2] | Accounting document lines |
Mask VENTILE [VTL] | Analytical breakdowns |
Mask VENTILE2 [VT2] | Analytical breakdowns |
Table | Significant content | Table Title |
PAYMENTH [PYH3] | Yes | Payment header |
GAUTACE [GAU] | Yes | Automatic journals |
GAUTACED [GAD] | Yes | Automatic journals (lines) |
Use this entry point to take over just before the generation of a payment automatic journal.
In the context of the entry point :
There is one transaction in progress.
There is an open log file.
This entry point intervenes in the read of the automatic journals linked to the automatic journal group used for the payment validation and is located just before the call to the sub-program used to generate the payment automatic journal.
According to the posting stage in process, the PAYMEP, PAYREMCPT or PAYREMBAN mask is on line in the processing.
Variable or mask | Definition |
Mask PAYMEP [DIA] | Cash criteria |
Mask PAYREMCPT [DIA] | Intermediate deposit transfer criteria |
Mask PAYREMBAN [DIA] | Criteria for the remittance to bank |
The tables of the Automatic journal groups [GRA] and Automatic journals [GAU] are on line in this entry point.
Use this entry point to replace the standard filter on a user for payments selection.
In the context of the entry point :
There is no transaction in progress.
There is an open log file.
This entry point is used when creating the payment selection filter, before the payment posting step. It should be used to replace the standard filter on a user.
If the CRITSPE variable is returned with a value other than empty, the value of CRITSPE replaces the filter on a user for payment selection.
If the CRITSPE variable is returned with an empty value, the standard filter on a user is used for payment selection.
The variable available in this entry point is the CRITSPE variable with a length of 250. It is reinitialized before the entry point is called.
According to the posting stage in process, the following masks are on line in the processing:
Variable or mask | Definition |
Mask PAYMEP [DIA] | Bank receipt posting |
Mask PAYREMCPT [DIA] | Intermediate deposit transfer |
Mask PAYREMBAN [DIA] | Bank posting |
Variable char CRITSPE(250) | Entry of additional criteria |
Table | Significant content | Table Title |
TABPAYTYP [TPY] |
| Payment transaction |
PAYMENTH [PYH] |
| Payment header |
BANK [BAN] |
| Bank account |