Global Absences Annual Accrual Limit
The Global Absences Annual Accrual Limit fast formula is used to specify an annual accrual limit for each worker (each enrolment) based on custom criteria.
An organization might have an annual accrual limit rule that generally allows a worker in an accrual plan to accrue a maximum of 30 days. However, the workers in a particular department accrue an additional 5 days due to the nature of their work. In such cases, this logic can be composed into the fast formula so that when the accrual process determines the annual accrual limit, the application dynamically allocates different limits to different workers depending on their department.
Configuration Point in HCM Cloud
If you have created this formula, you can attach this formula to the absence plan definition.
Navigation
- In the Absence Administration work area, click Absence Plans to open the Absence Plans page.
- On the Search Results section toolbar, click Create to open the Create Absence Plan dialog box.
- In the Plan Type field, select Accrual.
- Click Continue.
- On the Edit Absence Plan page Accruals tab Plan Limits section, select Formula in the Annual Accrual Limit Rule field.
- Select the defined formula from the Limit Formula field.
Contexts
The following contexts are available in this formula type:
Context Name | Data Type |
---|---|
ABSENCE_ENTRY_ID | Number |
ABSENCE_TYPE_ID | Number |
ACCRUAL_PLAN_ID | Number |
DATE_EARNED | Date |
EFFECTIVE_DATE | Date |
END_DATE | Date |
ENTERPRISE_ID | Number |
HR_ASSIGNMENT_ID | Number |
HR_RELATIONSHIP_ID | Number |
HR_TERM_ID | Number |
JOB_ID | Number |
LEGAL_EMPLOYER_ID | Number |
LEGISLATIVE_DATA_GROUP_ID | Number |
ORGANIZATION_ID | Number |
PAYROLL_ASSIGNMENT_ID | Number |
PAYROLL_ID | Number |
PAYROLL_RELATIONSHIP_ID | Number |
PAYROLL_TERM_ID | Number |
PERSON_ID | Number |
START_DATE | Date |
Input Values
Variable Name | Data Type | Description |
---|---|---|
IV_ACCRUAL | Number | Accrual value received from the accrual matrix. |
IV_CARRYOVER | Number | Carryover limit received from accrual matrix. |
IV_CEILING | Number | Ceiling limit received from the accrual matrix. |
IV_ACCRUAL_CEILING | Number | Annual accrual limit received from the accrual matrix. |
IV_ACCRUALPERIODSTARTDATE | Date | Start date of accrual period. |
IV_ACCRUALPERIODENDDATE | Date | End date of accrual period. |
IV_CALEDARSTARTDATE | Date | Start date of accrual calendar year. |
IV_CALEDARENDDATE | Date | End date of accrual calendar year. |
IV_PLANENROLLMENTSTARTDATE | Date | Start date of enrollment. |
IV_PLANENROLLMENTENDDATE | Date | End date of enrollment. |
Return Variables
Variable Name | Data Type | Description |
---|---|---|
ACCRUALCEILING | Number | Maximum time that a worker can accrue in annual year. |
Sample Formula
Requirement: The organization has an annual accrual limit rule, which allows workers to accrue up to a maximum of 30 days in an annual year. However, workers belonging to business unit ‘OBU1’ accrue up to a maximum of 40 days in an annual year.
Solution: A Global Absence Annual Accrual Limit formula such as the one below can be used.
FORMULA NAME: ANC_ANNUALCEIL
FORMULA TYPE: Global Absences Annual Accrual Limit
DESCRIPTION: This formula returns the annual accrual limit for workers enrolled into Vacation plan differentiated based on their business unit
DEFAULT FOR PER_ASG_BUSINESS_UNIT_NAME IS ' '
accrualceiling = 30
IF (PER_ASG_BUSINESS_UNIT_NAME = 'OBU1')
THEN
(ACCRUALCEILING = 40)
RETURN accrualceiling