LeaveOrder
Updated
A leave order: grants an Employee a leave. Posting creates the TimeOff record that the vacation pay and the time sheet read; voiding removes it.
| Kind | Document |
| Module | HR |
| Menu | HR → Operations → Leave orders |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
Number | number sequence |
Employee |
Employee | Employee |
LeaveKind |
Leave kind | enum LeaveKind: Annual (0), Additional (1), Study (2), Maternity (3), ChildCare (4), Unpaid (5) |
DateFrom |
From | date: the first day |
DateTo |
To (inclusive) | date: the last day |
Days |
Calendar days | integer: counted on a draft |
WorkYearFrom |
Working year from | date: for an annual leave, from the hire date, unless set |
WorkYearTo |
Working year to | date |
Basis |
Basis | string, 256 |
TimeOff |
Absence record | TimeOff: created on posting |
Employee, DateFrom and DateTo are required. The leave kind decides the absence record: Annual, Additional and Study make a Vacation (paid by average earnings by PayrollAccrual), Maternity, ChildCare and Unpaid make an Absence.
ID comes from LeaveOrderSeq: LVE-{YYYY}- and six digits.
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Post the order | Posted. A TimeOff record of the employee from the first to the last day is created and written into Absence record. |
| Posted | Void the order | Voided. The absence record is deleted. |
The posting is refused without an employee or a period, for a period backwards, one that starts before the hire date or ends after the termination date, or one that overlaps an absence of the employee. Voiding is refused when a posted payroll accrual line points at the record. Posted and Voided are read-only.
Ukraine#
The localization adds the print form Leave order (П-3) and, for an Unpaid leave, sets Unpaid leave (D1 G13) on the absence record.