DBI Definition Query
DBI Definition Query
SELECT * FROM
PER_PEOPLE_EXTRA_INFO_F target
where target.PERSON_ID = '300000002136515'
300000001245094
SELECT * FROM
per_all_assignments_f paam,
hr_all_organization_units_f_vl bu,
hr_all_organization_units_f_vl dept,
hr_all_organization_units_f_vl le
where paam.assignment_id = &B1
and trunc(&B2) between paam.effective_start_date and paam.effective_end_date
and paam.business_unit_id = bu.organization_id(+)
and paam.organization_id = dept.organization_id(+)
and paam.legal_entity_id = le.organization_id(+)
and trunc(&B2) between bu.effective_start_date(+) and bu.effective_end_date(+)
and trunc(&B2) between dept.effective_start_date(+) and
dept.effective_end_date(+)
and trunc(&B2) between le.effective_start_date(+) and le.effective_end_date(+)
https://global.gotomeeting.com/join/473305357
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Author : Victor Saha
Name : VIC_TRANSFER_ALWNC_ELIG_DATES
Type : Payroll Access to HR
Purpose : To pass start and end dates of Transfer Allowance.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*Defaulting DBI*/
default for PER_ASSIGNMENT_EIT_EFF_USER_TRANSFER_ALLOWANCE_TRANSFER_ALLOWANCE is '
'
CHANGE_CONTEXTS(HR_ASSIGNMENT_ID = L_HR_ASSIGNMENT_ID)
(
while (PAY_EARN_PERIOD_START < PAY_EARN_PERIOD_END) loop
(
CHANGE_CONTEXTS(EFFECTIVE_DATE = PAY_EARN_PERIOD_START)
(
)
PAY_EARN_PERIOD_START = add_days(PAY_EARN_PERIOD_START,1)
)
)