DBA Data[Home] [Help]

APPS.PAY_US_W2C_RPT dependencies on PER_ASSIGNMENTS_F

Line 214: , per_assignments_f paf

210: SELECT 'TRANSFER_ACT_ID=P', mt.assignment_action_id
211: from hr_organization_units hou
212: , hr_locations_all hl
213: , per_periods_of_service pps
214: , per_assignments_f paf
215: , pay_assignment_actions mt
216: , pay_payroll_actions ppa
217: where ppa.payroll_action_id = pay_magtape_generic.get_parameter_value('TRANSFER_PAYROLL_ACTION_ID')
218: and mt.payroll_action_id = ppa.payroll_action_id

Line 220: and paf.effective_start_date = (select /*+ push_subq no_unnest */ max(paf2.effective_start_date) from per_assignments_f paf2

216: , pay_payroll_actions ppa
217: where ppa.payroll_action_id = pay_magtape_generic.get_parameter_value('TRANSFER_PAYROLL_ACTION_ID')
218: and mt.payroll_action_id = ppa.payroll_action_id
219: and paf.assignment_id = mt.assignment_id
220: and paf.effective_start_date = (select /*+ push_subq no_unnest */ max(paf2.effective_start_date) from per_assignments_f paf2
221: where paf2.assignment_id = paf.assignment_id
222: and paf2.effective_start_date <= ppa.effective_date)
223: and paf.effective_end_date >= ppa.start_date
224: and paf.assignment_type = 'E'