SUBENT script: SUBENT
MAJMATRI: Update of the ID when hiring an employee
The entry point is used to assign an ID different from the one assigned by the MAT counter, when the employee is hired. To hire, click the hire button in the employee arrival.
Context and operating method
Different call cases
This entry point is called after the assignment of a new ID chrono to the NEWREFNUM variable. To assign a different ID to an employee, the value of the NEWREFNUM variable has to be modified.
Available variables and masks
The ENTSAL0 [ENT0], ENTSAL1 [ENT1], ENTSAL2 [ENT2] and ENTSAL3 [ENT3] masks are available in this entry point. The NEWREFNUM variable contains the new ID of the employee after the hiring. If the GOK variable is set to 0, the script is interrupted.
Open tables
The EMPLO*, POPUL [POP], POPULA [POA], ATABDIV [ADI] TXTCTR [TXC] CAISSE [PCA] EMPLOID [IDB] ACTIV [ACV] DUEEMP [DUE] EMPCTR [ECT] tables are opened but their content is not significant.
Transaction
There is no transaction in process.
Log file
No trace file is open
MAJMATAUT: Update of the recordings linked to the ID of the hiring.
This entry point is used to update recordings linked to the ID different from the EMPLOPAR, EMPLOEXN and EMPLOAD tables. To hire, click the hire button in the employee arrival.
Context and operating method
Different call cases
This entry point is called after the update of the EMPLOID, EMPLOCTR, EMPLOEXN tables.
Available variables and masks
The ENTSAL0 [ENT0], ENTSAL1 [ENT1], ENTSAL2 [ENT2] and ENTSAL3 [ENT3] masks are available in this entry point. The NEWREFNUM variable contains the new ID of the employee after the hiring. If the GOK variable is set to 0, the script is interrupted.
Open tables
The EMPLO*, POPUL [POP], POPULA [POA], ATABDIV [ADI] TXTCTR [TXC] CAISSE [PCA] EMPLOID [IDB] ACTIV [ACV] DUEEMP [DUE] EMPCTR [ECT] tables are opened but their content is not significant.
Transaction
There is one transaction in progress.
Log file
No trace file is open
MAJCTRFRA: Update of specific contract data for France
This entry point is used to assign specific contract data for France. To hire, click the hire button in the employee arrival.
Context and operating method
Different call cases
This entry point is called after the creation of a new contract.
Available variables and masks
The ENTSAL0 [ENT0], ENTSAL1 [ENT1], ENTSAL2 [ENT2] and ENTSAL3 [ENT3] masks are available in this entry point. The entry point is called inside a loop on the table of contracts. If the GOK variable is set to 0, the script is interrupted.
Open tables
The EMPLO*, POPUL [POP], POPULA [POA], ATABDIV [ADI] TXTCTR [TXC] CAISSE [PCA] EMPLOID [IDB] ACTIV [ACV] DUEEMP [DUE] EMPCTR [ECT] tables are opened but their content is not significant.
Transaction
There is no transaction in process.
Log file
No trace file is open