Leave_accrual_transaction

A leave accrual transaction [Leave_accrual_transaction] is either one of the periodic increases of an employee's leave entitlement or a leave balance adjustment when the employee takes time off.

XML

SOAP

REST

Database table

Object

Leave_accrual_transaction

oaLeave_accrual_transaction

leave_accrual_transaction

Supported Commands

Add, Read, Modify

add(), read(), modify(), upsert()

The Leave_accrual_transaction object has the following properties:

XML / SOAP

XML / SOAP

Description

amount

amount

The number of hours. A draw down must be a negative number. An accrual is typically a positive number but can be a negative number.

created

created

[Read-only] Time the record was created. See Date Fields.

date

date

[Required] The date of the transaction.

from_run

from_run

Indicates if this was generated from a run the leave accrual rules. See Date Fields.

id

id

[Read-only] Unique ID. Automatically assigned by OpenAir.

leave_accrual_ruleid

leave_accrual_rule_id

[Required] The ID of the associated accrual rule. This is a required field.

notes

notes

Notes associated with the leave accrual transaction.

taskid

task_id

The ID of the associated task if this is a draw down against a timesheet entry.

type

type

Indicates type of draw down: the type of the amount field.

  • D - draw down.

  • A - Accrual.

updated

updated

[Read-only] Time the record was last updated or modified. See Date Fields.

userid

user_id

[Required] The ID of the associated user. The user must exist, must not be marked as deleted and must be active.