In payroll reversal, use this entry point to update the data in the VALEMP table in order to manage specific cases of payroll header initialization.
Different call cases
The entry point is called upon payroll reversal creation, before any write operation on the VALEMP file.
The GPE variable is tested when resuming the execution of the processing. If GPE<>0, GOK changes 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 | Reversal date |
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 |