Leave_accrual_rule_to_user

Use the leave accrual rule – user link [Leave_accrual_rule_to_user] object to associate leave accrual rules with users. A user can have multiple entries for the same rule but the date ranges must not overlap.

Review the Usage Guidelines for the Leave_accrual_rule_to_user object.

XML

SOAP

REST

Database table

Object

Leave_accrual_rule_to_user

oaLeave_accrual_rule_to_user

leave_accrual_rule_to_user

Supported Commands

Add, Read, Modify

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

The Leave_accrual_rule_to_user object has the following properties:

XML / SOAP

dATABASE

Description

created

created

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

end_date

end_date

The date the accrual rule stops applying to the user. 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.

start_date

start_date

[Required] The date the accrual rule starts applying to the user. This is required. See Date Fields.

transfer_balance_to

transfer_balance_to

ID of leave_accrual_rule_to_user record where balance should be transferred to.

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.

Usage Guidelines

The date range defined by start_date and end_date must not overlap with that of another Leave_accrual_rule_to_user object for the same user [userid][.