LeaveRules
| Data Element | Data Type | What is it | Mandatory |
|---|---|---|---|
| Id | Integer | The unique id of the record | No |
| Name | VarChar | The name of the leave condition | Yes |
| Type | Integer | The type of leave Sick leave = 1 | Yes |
| Description | Blob | A description for the leave condition | No |
| MaxAllowedAnnually | Float | A maximum amount allowed to be accrued for this leave condition | No |
| PaidLeave | Integer | Determines whether this leave is paid or not 0 = Unpaid | No |
| AnnualRollover | Boolean True/False | Whether the leave is allowed to roll over each year or not | No |
| Visible | Boolean True/False | Whether the leave is visible to employees or not | No |
| UnitType | Integer | The type of leave accrual Hours = 0 or null | Yes |
| ExportType | Integer | The export rule to use for timesheet payroll exports 0 = Do not export for payroll | No |
| ResetType | Integer | Frequency that the leave is reset 0 = Never reset | No |
| CalcType | Integer | The calculation type for the leave accrual 1 = Accrued hours per payroll period | No |
| Creator | Integer | The id of the user who created the record | No |
| Created | DateTime | The time the record was created | No |
| PayrollCategory | VarChar | Export Code of Leave Condition | No |