EXTPAY script: Payroll reversal
MAJVEPEXT: Updating the payroll header upon reversal
In payroll reversal, use this entry point to update data from the VALEMP table in order to manage specific cases of payroll header initialization.
Context and operating method
Different call cases
This entry point is called upon creation of payroll reversal and before any entry operation on the VALEMP file.
The GPE variable is tested when resuming the execution of the processing. If GPE<>0, GOK is set to 0 and the transaction stops.
Available variables and masksVariable or mask | Definition |
Integer GPE | GPE: Status when resuming the execution of the processing |
Char MATRI | Current ID number |
Char BULLETIN | Reversed payslip |
Date DATEXT | Date of the reversal |
Char NEWBUL | Reversal payslip |
Char CTR | Current contract |
|
|
Open tables
Table | Significant content | Table title |
EMPLO* [ ] | Yes | Employee data |
EMPLOCTR [CTR] | Yes | Contract |
VALEMP [VEP] | Yes | Payroll header being generated |