Leave
The Leave view details staff leave.
Leave is inclusive of the recorded start and end dates.
Employee Code is the relevant field when identifying an employee; Employee Name is for reference only
It is good practice to clear leave entries once they have passed to reduce load on the optimiser.
The Leave Mappings view will translate the Reason Code to an actual leave shift. If the Reason Code is not in Leave Mappings, then it is assumed that no mapping is required, and the value is the actual name of the leave shift (e.g. “A/L”)