DBA Data[Home] [Help]

APPS.HR_PROCESS_ASSIGNMENT_SS dependencies on HR_PROCESS_PERSON_SS

Line 2443: and api_name='HR_PROCESS_PERSON_SS.PROCESS_API';

2439:
2440: cursor csr_per_step_id is
2441: select transaction_step_id from hr_api_transaction_steps
2442: where item_type=l_item_type and item_key=l_item_key
2443: and api_name='HR_PROCESS_PERSON_SS.PROCESS_API';
2444: l_per_step_id number;
2445: l_asgn_change_mode varchar2(2);
2446: l_person_type_id number;
2447:

Line 4428: -- we need to call the HR_PROCESS_PERSON_SS.PROCESS_API

4424: ,p_assign_payroll_warning => l_assign_payroll_warning);*/
4425:
4426: -- Also we need to call the Primay Address Step as the primary address needs to be
4427: -- created for the applicant, incase payroll is entered
4428: -- we need to call the HR_PROCESS_PERSON_SS.PROCESS_API
4429: -- to update the person's info first
4430: -- before update the assignment. Such as birthday is required for
4431: -- payroll.
4432: hr_new_user_reg_ss.process_selected_transaction(p_item_type => l_item_type,

Line 4434: ,p_api_name => 'HR_PROCESS_PERSON_SS.PROCESS_API');

4430: -- before update the assignment. Such as birthday is required for
4431: -- payroll.
4432: hr_new_user_reg_ss.process_selected_transaction(p_item_type => l_item_type,
4433: p_item_key => l_item_key
4434: ,p_api_name => 'HR_PROCESS_PERSON_SS.PROCESS_API');
4435: hr_new_user_reg_ss.process_selected_transaction(p_item_type => l_item_type,
4436: p_item_key => l_item_key
4437: ,p_api_name => 'HR_PROCESS_ADDRESS_SS.PROCESS_API');
4438:

Line 6070: and api_name='HR_PROCESS_PERSON_SS.PROCESS_API';

6066:
6067: cursor csr_per_step_id is
6068: select transaction_step_id from hr_api_transaction_steps
6069: where item_type=l_item_type and item_key=l_item_key
6070: and api_name='HR_PROCESS_PERSON_SS.PROCESS_API';
6071: l_per_step_id number;
6072: l_asgn_change_mode varchar2(2);
6073: l_person_type_id number;
6074:

Line 6147: -- created by the process_api of the hr_process_person_ss.process_api.

6143:
6144: -- start registration
6145: -- If its a new user registration flow then the assignmentId which is coming
6146: -- from transaction table will not be valid because the person has just been
6147: -- created by the process_api of the hr_process_person_ss.process_api.
6148: -- We can get that person Id and assignment id by making a call
6149: -- to the global parameters but we need to branch out the code.
6150: -- We also need the latest Object version Number not the one on transaction tbl
6151:

Line 6153: if (( hr_process_person_ss.g_assignment_id is not null) and

6149: -- to the global parameters but we need to branch out the code.
6150: -- We also need the latest Object version Number not the one on transaction tbl
6151:
6152: -- adding the session id check to avoid connection pooling problems.
6153: if (( hr_process_person_ss.g_assignment_id is not null) and
6154: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID))
6155: then
6156: hr_utility.set_location('session id is ICX_SEC.G_SESSION_ID:'||l_proc,15);
6157: l_assignment_rec.person_id := hr_process_person_ss.g_person_id;

Line 6154: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID))

6150: -- We also need the latest Object version Number not the one on transaction tbl
6151:
6152: -- adding the session id check to avoid connection pooling problems.
6153: if (( hr_process_person_ss.g_assignment_id is not null) and
6154: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID))
6155: then
6156: hr_utility.set_location('session id is ICX_SEC.G_SESSION_ID:'||l_proc,15);
6157: l_assignment_rec.person_id := hr_process_person_ss.g_person_id;
6158: l_assignment_rec.assignment_id := hr_process_person_ss.g_assignment_id;

Line 6157: l_assignment_rec.person_id := hr_process_person_ss.g_person_id;

6153: if (( hr_process_person_ss.g_assignment_id is not null) and
6154: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID))
6155: then
6156: hr_utility.set_location('session id is ICX_SEC.G_SESSION_ID:'||l_proc,15);
6157: l_assignment_rec.person_id := hr_process_person_ss.g_person_id;
6158: l_assignment_rec.assignment_id := hr_process_person_ss.g_assignment_id;
6159: l_assignment_rec.object_version_number:=hr_process_person_ss.g_asg_object_version_number;
6160: -- Hard code ovn to 1 for the new user registration process
6161: --l_assignment_rec.object_version_number:=1;

Line 6158: l_assignment_rec.assignment_id := hr_process_person_ss.g_assignment_id;

6154: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID))
6155: then
6156: hr_utility.set_location('session id is ICX_SEC.G_SESSION_ID:'||l_proc,15);
6157: l_assignment_rec.person_id := hr_process_person_ss.g_person_id;
6158: l_assignment_rec.assignment_id := hr_process_person_ss.g_assignment_id;
6159: l_assignment_rec.object_version_number:=hr_process_person_ss.g_asg_object_version_number;
6160: -- Hard code ovn to 1 for the new user registration process
6161: --l_assignment_rec.object_version_number:=1;
6162: l_new_hire_appl_hire := 'Y';

Line 6159: l_assignment_rec.object_version_number:=hr_process_person_ss.g_asg_object_version_number;

6155: then
6156: hr_utility.set_location('session id is ICX_SEC.G_SESSION_ID:'||l_proc,15);
6157: l_assignment_rec.person_id := hr_process_person_ss.g_person_id;
6158: l_assignment_rec.assignment_id := hr_process_person_ss.g_assignment_id;
6159: l_assignment_rec.object_version_number:=hr_process_person_ss.g_asg_object_version_number;
6160: -- Hard code ovn to 1 for the new user registration process
6161: --l_assignment_rec.object_version_number:=1;
6162: l_new_hire_appl_hire := 'Y';
6163: end if;

Line 6172: if (hr_process_person_ss.g_is_applicant and

6168: -- applicant_hire
6169: -- check if we are updating applicant, if yes we need to get the
6170: -- latest object version
6171: -- number of the applicant who has became employee in BD page
6172: if (hr_process_person_ss.g_is_applicant and
6173: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID)) then
6174: hr_utility.set_location('Applicaant ICX_SEC.G_SESSION_ID:'||l_proc,20);
6175: open asg_applicant_rec(l_assignment_rec.assignment_id, l_effective_date);
6176: fetch asg_applicant_rec into l_assignment_rec.object_version_number

Line 6173: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID)) then

6169: -- check if we are updating applicant, if yes we need to get the
6170: -- latest object version
6171: -- number of the applicant who has became employee in BD page
6172: if (hr_process_person_ss.g_is_applicant and
6173: (hr_process_person_ss.g_session_id= ICX_SEC.G_SESSION_ID)) then
6174: hr_utility.set_location('Applicaant ICX_SEC.G_SESSION_ID:'||l_proc,20);
6175: open asg_applicant_rec(l_assignment_rec.assignment_id, l_effective_date);
6176: fetch asg_applicant_rec into l_assignment_rec.object_version_number
6177: ,l_appl_assignment_type

Line 7263: if (hr_process_person_ss.g_is_applicant) then

7259: ,p_gsp_post_process_warning => p_gsp_post_process_warning
7260: );
7261: --
7262: -- bug 5547271
7263: if (hr_process_person_ss.g_is_applicant) then
7264: begin
7265: select PAYROLL_ID into l_old_payroll_id
7266: from per_all_assignments_f
7267: where assignment_id = p_assignment_id and p_effective_date between EFFECTIVE_START_DATE and EFFECTIVE_END_DATE;