POR_FILT_TIM entry point

Use this entry point to add row-level permissions to an event code according to the employee concerned by the absence to take.

Context and operating method

Call context

This entry point is called when creating the list of event codes available for the entry of absences. This concerns the collaborative portal only. It is called for each event composing the list that will be available for entry.
The usual controls linked to the GUSER current user are already performed.

Classes [F] on line: 

  • TIMCOD [F:TIM]: upon saving the event code to control

Variables on line: 

  • EMP: employee code to control
  • CTR: contract code to control

In return, to give the possibility to enter the event code for the employee, the following must be returned:

  • STAT: Access type granted for this event 
    1 for NOT AVAILABLE FOR ENTRY
    2 for AVAILABLE FOR ENTRY