LeaveRules

Data ElementData TypeWhat is itMandatory
IdIntegerThe unique id of the recordNo
NameVarCharThe name of the leave conditionYes
TypeIntegerThe type of leave

Sick leave = 1
Holiday leave = 2
Long service leave = 3
Parental leave = 4
Bereavement leave = 5
Carer's leave = 6
Unpaid leave = 7
Time in lieu = 8
Training = 9
Yes
DescriptionBlobA description for the leave conditionNo
MaxAllowedAnnuallyFloatA maximum amount allowed to be accrued for this leave conditionNo
PaidLeaveIntegerDetermines whether this leave is paid or not

0 = Unpaid
1 = Paid
No
AnnualRolloverBoolean True/FalseWhether the leave is allowed to roll over each year or notNo
VisibleBoolean True/FalseWhether the leave is visible to employees or notNo
UnitTypeIntegerThe type of leave accrual

Hours = 0 or null
Days = 1
Yes
ExportTypeIntegerThe export rule to use for timesheet payroll exports

0 = Do not export for payroll
1 = Export using associated pay condition for employee
2 = Export using export code
No
ResetTypeIntegerFrequency that the leave is reset

0 = Never reset
1 = Reset on Schedule
2 = Reset on Work Anniversary
3 = Not Set
No
CalcTypeIntegerThe calculation type for the leave accrual

1 = Accrued hours per payroll period
2 = Accrued % per gross hours worked
3 = Entered manually
4 = No Accrual
No
CreatorIntegerThe id of the user who created the recordNo
CreatedDateTimeThe time the record was createdNo
PayrollCategoryVarCharExport Code of Leave ConditionNo