I need to restrict assignment tatus = unapaid suspend and unpaid loa on fast formula for PTO ACCRUA
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
Tagged:
0