Content
Table Title
FACILITY [FCY]
Yes
Site (current record = employee's site)
COMPANY [CPY]
Yes
Company (current record = employee's company)
TIMCOD [TIM]
Yes
Event (current record = GTPSW)
EMPLOPAY [PAY]
No
Employee's payroll information
EMPLOCPT [CPT]
No
Employee's accounting information
EMPLOAD [AD]
No
Employee's administrative information
EMPLOCUM [EPC]
No
Employee totals
EMPLOID [ID]
No
Employee's civil status
EMPLOCTR [CTR]
No
Employee's employment contract
EMPLOENT [ENT]
No
Employee arrival/departure
EMPLOEXM [EXM]
No
Employee's degrees
EMPLOCHD [CHD]
No
Employee's children
EMPLOMED [MED]
No
Employee's medical examinations
EMPLOTRY [TRY]
No
Professional experience
EMPLOPRO [PRO]
No
Employee's professional status
EMPLORIB [RIB]
No
Employee's bank ID
EMPLOSAL [SAL]
No
Employee's salary evolution
PERIOD [PEO]
No
Extraction periods
HLYDAY [HLY]
No
Public holidays
TIMEMP [TIP]
No
Employee working times
TIMANA [TIA]
No
Analytical times
TIMEMPDAT [TID]
No
Last WI/sickness date
PLANTYP [PLN]
No
Reference plannings
PLANEMPLO [PLP]
No
Employee's planning
WEEKTYP [WTY]
No
Reference weeks
SERVICE [SRV]
No
Departments
PROFIL [PRF]
No
User profiles
POPULA [POA]
No
Employee populations
TIMREGUL [TIG]
No
Time adjustments
ADOVAL [ADW]
No
Parameter values
ACCESS [ACC]
No
Access
AUTILIS [AUS]
No
User
In automatic generation of times, use this entry point to modify the TIMEMP file that contains the time entry by employee. This entry point is called after the valuation of the employee's planning and before the update of the TIMEMP file.
In the context of the entry point :
A log file can be open, if the processing is called by the "Time cut-off" or "Employee values" functions. The GTRACE variable must be tested. If GTRACE<> » » a log file is opened , otherwise GTRACE= » ».
This processing is called from the following functions:
At any rate, this entry point is used to take over before the processing updates the employee times.
The following variables are sized according to the number of days covered by the pay period. The umpteenth element of a variable corresponds to the umpteenth day of the period. These variables are updated before the entry point, according to the employee's planning.
The TRTREM processing populates the time entry days that do not have an event and updates the TIMEMP file. In the entry point, you can update the TIMEMP file by assigning a day with no event, that is to say by filling a slot in the time entry. However it is necessary to set the EVT variable to 1 to prevent the standard processing from overwriting the modification. In addition, it is necessary that each added event is entered on a single day (start date = end date).
Variable or mask | Definition |
Char() MATRI | Employee's ID number |
Date DATPAY | Pay date |
Date DATDEB | Payroll period start date |
Date DATFIN | Payroll period end date |
Integer MODULATION | 1 if the employee is in smoothing, 0 otherwise |
Table | Significant | Table Title |
FACILITY [FCY] | Yes | Site (current record = employee's site) |
COMPANY [CPY] | Yes | Company (current record = employee's company) |
TIMCOD [TIM] | Yes | Event (current record = GTPSW) |
EMPLOPAY [PAY] | No | Employee's payroll information |
EMPLOCPT [CPT] | No | Employee's accounting information |
EMPLOAD [AD] | No | Employee's administrative information |
EMPLOCUM [EPC] | No | Employee totals |
EMPLOID [ID] | No | Employee's civil status |
EMPLOCTR [CTR] | No | Employee's employment contract |
EMPLOENT [ENT] | No | Employee arrival/departure |
EMPLOEXM [EXM] | No | Employee's degrees |
EMPLOCHD [CHD] | No | Employee's children |
EMPLOMED [MED] | No | Employee's medical examinations |
EMPLOTRY [TRY] | No | Professional experience |
EMPLOPRO [PRO] | No | Employee's professional status |
EMPLORIB [RIB] | No | Employee's bank ID |
EMPLOSAL [SAL] | No | Employee's salary evolution |
PERIOD [PEO] | No | Extraction periods |
HLYDAY [HLY] | No | Public holidays |
TIMEMP [TIP] | No | Employee working times |
TIMANA [TIA] | No | Analytical times |
TIMEMPDAT [TID] | No | Last WI/sickness date |
PLANTYP [PLN] | No | Reference plannings |
PLANEMPLO [PLP] | No | Employee's planning |
WEEKTYP [WTY] | No | Reference weeks |
SERVICE [SRV] | No | Departments |
PROFIL [PRF] | No | User profiles |
POPULA [POA] | No | Employee population |
TIMREGUL [TIG] | No | Time adjustments |
ADOVAL [ADW] | No | Parameter values |
ACCESS [ACC] | No | Access |
AUTILIS [AUS] | No | User |
The GTPSW global variable, which contains the "W" standard work code, is used in certain processings. For example:
In automatic generation of times, use this entry point to modify the TIMEMP file that contains the time entry by employee, while taking into account the setup of the event included in the GTPSW global variable. This entry point is called after the valuation of the employee's planning and after the update of the TIMEMP file for the days without event.
In the context of the entry point :
A log file can be open, if the processing is called by the "Time cut-off" or "Employee values" functions. The GTRACE variable must be tested. If GTRACE<> » » a log file is opened , otherwise GTRACE= » ».
This processing is called from the following functions:
At any rate, this entry point is used to take over once the processing has updated the employees' times.
The following variables are sized according to the number of days covered by the pay period. The umpteenth element of a variable corresponds to the umpteenth day of the period.
The TRTREM processing populates the time entry days that do not have an event and updates the TIMEMP file. In the entry point, you can update the TIMEMP file by assigning a day with no event, that is to say by filling a slot in the time entry. However it is necessary to set the EVT variable to 1 to prevent the standard processing from overwriting the modification. In addition, it is necessary that each added event is entered on a single day (start date = end date).
Variable or mask | Definition |
Char() MATRI | Employee's ID number |
Date DATPAY | Pay date |
Date DATDEB | Payroll period start date |
Date DATFIN | Payroll period end date |
Integer MODULATION | 1 if the employee is in smoothing, 0 otherwise |
Table | Significant | Table Title |
FACILITY [FCY] | Yes | Site (current record = employee's site) |
COMPANY [CPY] | Yes | Company (current record = employee's company) |
TIMCOD [TIM] | Yes | Event (current record = GTPSW) |
EMPLOPAY [PAY] | No | Employee's payroll information |
EMPLOCPT [CPT] | No | Employee's accounting information |
EMPLOAD [AD] | No | Employee's administrative information |
EMPLOCUM [EPC] | No | Employee totals |
EMPLOID [ID] | No | Employee's civil status |
EMPLOCTR [CTR] | No | Employee's employment contract |
EMPLOENT [ENT] | No | Employee arrival/departure |
EMPLOEXM [EXM] | No | Employee's degrees |
EMPLOCHD [CHD] | No | Employee's children |
EMPLOMED [MED] | No | Employee's medical examinations |
EMPLOTRY [TRY] | No | Professional experience |
EMPLOPRO [PRO] | No | Employee's professional status |
EMPLORIB [RIB] | No | Employee's bank ID |
EMPLOSAL [SAL] | No | Employee's salary evolution |
PERIOD [PEO] | No | Extraction periods |
HLYDAY [HLY] | No | Public holidays |
TIMEMP [TIP] | No | Employee working times |
TIMANA [TIA] | No | Analytical times |
TIMEMPDAT [TID] | No | Last WI/sickness date |
PLANTYP [PLN] | No | Reference plannings |
PLANEMPLO [PLP] | No | Employee's planning |
WEEKTYP [WTY] | No | Reference weeks |
SERVICE [SRV] | No | Departments |
PROFIL [PRF] | No | User profiles |
POPULA [POA] | No | Employee populations |
TIMREGUL [TIG] | No | Time adjustments |
ADOVAL [ADW] | No | Parameter values |
ACCESS [ACC] | No | Access |
AUTILIS [AUS] | No | User |
Use this entry point to modify the values of "LIG" in the table TIMEMP and also add a value to the specific field "CCE" if it is empty.