45: ,p_recruitment_activity_id => p_recruitment_activity_id
46: ,p_person_id => p_person_id
47: );
48: exception
49: when hr_api.cannot_find_prog_unit then
50: hr_api.cannot_find_prog_unit_error
51: (p_module_name => 'create_job_basket_item'
52: ,p_hook_type => 'BP'
53: );
46: ,p_person_id => p_person_id
47: );
48: exception
49: when hr_api.cannot_find_prog_unit then
50: hr_api.cannot_find_prog_unit_error
51: (p_module_name => 'create_job_basket_item'
52: ,p_hook_type => 'BP'
53: );
54: end;
73: ,p_recruitment_activity_id => p_recruitment_activity_id
74: ,p_person_id => p_person_id
75: );
76: exception
77: when hr_api.cannot_find_prog_unit then
78: hr_api.cannot_find_prog_unit_error
79: (p_module_name => 'create_job_basket_item'
80: ,p_hook_type => 'AP'
81: );
74: ,p_person_id => p_person_id
75: );
76: exception
77: when hr_api.cannot_find_prog_unit then
78: hr_api.cannot_find_prog_unit_error
79: (p_module_name => 'create_job_basket_item'
80: ,p_hook_type => 'AP'
81: );
82: end;
83: --
84: -- When in validation only mode raise the Validate_Enabled exception
85: --
86: if p_validate then
87: raise hr_api.validate_enabled;
88: end if;
89: --
90: -- Set all output arguments
91: --
93: p_job_basket_item_id := l_job_basket_item_id;
94: --
95: hr_utility.set_location(' Leaving:'||l_proc, 70);
96: exception
97: when hr_api.validate_enabled then
98: --
99: -- As the Validate_Enabled exception has been raised
100: -- we must rollback to the savepoint
101: --
153: (p_object_version_number => l_object_version_number
154: ,p_job_basket_item_id => p_job_basket_item_id
155: );
156: exception
157: when hr_api.cannot_find_prog_unit then
158: hr_api.cannot_find_prog_unit_error
159: (p_module_name => 'delete_job_basket_item'
160: ,p_hook_type => 'BP'
161: );
154: ,p_job_basket_item_id => p_job_basket_item_id
155: );
156: exception
157: when hr_api.cannot_find_prog_unit then
158: hr_api.cannot_find_prog_unit_error
159: (p_module_name => 'delete_job_basket_item'
160: ,p_hook_type => 'BP'
161: );
162: end;
175: (p_object_version_number => l_object_version_number
176: ,p_job_basket_item_id => p_job_basket_item_id
177: );
178: exception
179: when hr_api.cannot_find_prog_unit then
180: hr_api.cannot_find_prog_unit_error
181: (p_module_name => 'delete_job_basket_item'
182: ,p_hook_type => 'AP'
183: );
176: ,p_job_basket_item_id => p_job_basket_item_id
177: );
178: exception
179: when hr_api.cannot_find_prog_unit then
180: hr_api.cannot_find_prog_unit_error
181: (p_module_name => 'delete_job_basket_item'
182: ,p_hook_type => 'AP'
183: );
184: end;
185: --
186: -- When in validation only mode raise the Validate_Enabled exception
187: --
188: if p_validate then
189: raise hr_api.validate_enabled;
190: end if;
191: hr_utility.set_location(' Leaving:'||l_proc, 70);
192: exception
193: when hr_api.validate_enabled then
189: raise hr_api.validate_enabled;
190: end if;
191: hr_utility.set_location(' Leaving:'||l_proc, 70);
192: exception
193: when hr_api.validate_enabled then
194: --
195: -- As the Validate_Enabled exception has been raised
196: -- we must rollback to the savepoint
197: --