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 Element | Data Type | What is it | Mandatory |
---|---|---|---|
Id | Integer | The unique id of the record | No |
Employee | Mixed | Employee details associated with the leave accrual object | Yes |
EmployeeHistory | Integer | The id of the employee history record associated with this leave accrual record | No |
TransactionDate | DateTime | Date and time the leave balance was last updated | Yes |
Type | Integer | The type of leave accrual 1 - Accrual Entry 2 - Leave Entry | Yes |
LeaveRule | Integer | The id of the leave rule record that applies to this accrual object | Yes |
Hours | Float | Accrued leave in hours | Yes |
Days | Float | Accrued leave in days | Yes |
Comment | VarChar | Custom comments added to the leave record | No |
FkId | Integer | Foreign keys associated to the record | No |
Creator | Integer | The id of the user who created this record | No |
Created | DateTime | The time the record was originally created | No |
Modified | DateTime | The time the record was last modified | No |
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.
Updated about 2 years ago