Hi Friends,
I am trying to get the accrual plan balance for my absence plan using get_plan_balance in absence entry validation formula. But, the function is returning zero where as the accrual balance is 23. Has any one used it? Please provide your inputs.
CHANGE_CONTEXTS(HR_ASSIGNMENT_ID = l_term_id, PERSON_ID = L_Person_Id, EFFECTIVE_DATE =l_current_date, LEGISLATIVE_DATA_GROUP_ID = l_leg_id)
(
L_Leave_Balance = GET_PLAN_BALANCE(l_ldg)
)