LeaveAccrual

Leave accrual records are those which track leave balances linked to an employee. They may be related to annual, personal or other leave types and track how much has been accrued, and depending on the type of transaction being applied, will deduct from or add to the leave balance appropriately

Data ElementData TypeWhat is itMandatory
IdIntegerThe unique id of the recordNo
EmployeeMixedEmployee details associated with the leave accrual objectYes
EmployeeHistoryIntegerThe id of the employee history record associated with this leave accrual recordNo
TransactionDateDateTimeDate and time the leave balance was last updatedYes
TypeIntegerThe type of leave accrual

1 - Accrual Entry
2 - Leave Entry
Yes
LeaveRuleIntegerThe id of the leave rule record that applies to this accrual objectYes
HoursFloatAccrued leave in hoursYes
DaysFloatAccrued leave in daysYes
CommentVarCharCustom comments added to the leave recordNo
FkIdIntegerForeign keys associated to the recordNo
CreatorIntegerThe id of the user who created this recordNo
CreatedDateTimeThe time the record was originally createdNo
ModifiedDateTimeThe time the record was last modifiedNo

Foreign Objects which can be linked with the Resource API

Note: Accrued leave is calculated in hours or days depending on what is set in the field UnitType in the Leave Rules API.