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

I need to restrict assignment tatus = unapaid suspend and unpaid loa on fast formula for PTO ACCRUA

edited Jul 30, 2023 11:44PM in Oracle AI for Fusion Applications 2 comments

I need to restrict assignment tatus = unapaid suspend and unpaid loa on fast formula for PTO ACCRUAL I developed accrual ff but it is not getting restricted for accrual.





INPUTS ARE IV_ACCRUAL

,IV_ACCRUALPERIODSTARTDATE (date)

,IV_ACCRUALPERIODENDDATE (date)

,IV_CALEDARSTARTDATE (date)

,IV_PLANENROLLMENTSTARTDATE (date)

,IV_PLANENROLLMENTENDDATE (date)


accrual = 0

l_years = 0

l_months_difference = 0

l_enrol_start_dt = IV_PLANENROLLMENTSTARTDATE

l_hire_dt = ACP_HIRE_DATE

l_period_end_Date = IV_ACCRUALPERIODENDDATE

p_assignment_id(number) = get_context(HR_ASSIGNMENT_ID, 0)

l_person_id = GET_CONTEXT(PERSON_ID,-1)

ln_leg_group_id = GET_CONTEXT(LEGISLATIVE_DATA_GROUP_ID,0)

l_period_start_date = IV_ACCRUALPERIODSTARTDATE

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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