How to get absence plan accrual balance using GET_ACCRUAL_BALANCE formula — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to get absence plan accrual balance using GET_ACCRUAL_BALANCE formula

edited May 14, 2018 7:28AM in Workforce Management 11 comments

Summary

GET_ACCRUAL_BALANCE formula function is not returning the correct balance value

Content

We have a requirement which requires using the GET_ACCRUAL_BALANCE formula. Below is a sample Global Absence Accrual formula that we are using for testing;

ln_assignment_id = GET_CONTEXT(HR_ASSIGNMENT_ID,0)
L_Person_Id = GET_CONTEXT(PERSON_ID,1)
L_Eff_Dt = GET_CONTEXT(EFFECTIVE_DATE,'0001/12/31 00:00:00' (date))
L_Accrual_Plan_ID = GET_CONTEXT(ACCRUAL_PLAN_ID,0)
L_Leave_Balance = GET_ACCRUAL_BALANCE()
l_txt_o = 'L_Leave_Balance'||to_char(L_Leave_Balance)
l_log = ESS_LOG_WRITE(l_txt_o)

accrual = 2.5

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!