48: ,p_responsibility_key => p_responsibility_key
49: ,p_transaction_short_name => p_transaction_short_name
50: );
51: exception
52: when hr_api.cannot_find_prog_unit then
53: hr_api.cannot_find_prog_unit_error
54: (
55: p_module_name => 'create_copy_entity_context'
56: ,p_hook_type => 'BP'
49: ,p_transaction_short_name => p_transaction_short_name
50: );
51: exception
52: when hr_api.cannot_find_prog_unit then
53: hr_api.cannot_find_prog_unit_error
54: (
55: p_module_name => 'create_copy_entity_context'
56: ,p_hook_type => 'BP'
57: );
83: ,p_transaction_short_name => p_transaction_short_name
84: ,p_object_version_number => l_object_version_number
85: );
86: exception
87: when hr_api.cannot_find_prog_unit then
88: hr_api.cannot_find_prog_unit_error
89: (p_module_name => 'create_copy_entity_context'
90: ,p_hook_type => 'AP'
91: );
84: ,p_object_version_number => l_object_version_number
85: );
86: exception
87: when hr_api.cannot_find_prog_unit then
88: hr_api.cannot_find_prog_unit_error
89: (p_module_name => 'create_copy_entity_context'
90: ,p_hook_type => 'AP'
91: );
92: --
98: --
99: -- When in validation only mode raise the Validate_Enabled exception
100: --
101: if p_validate then
102: raise hr_api.validate_enabled;
103: end if;
104: --
105: -- Set all output arguments
106: --
110: hr_utility.set_location(' Leaving:'||l_proc, 70);
111: --
112: exception
113: --
114: when hr_api.validate_enabled then
115: --
116: -- As the Validate_Enabled exception has been raised
117: -- we must rollback to the savepoint
118: --
141: --
142: procedure update_copy_entity_context
143: (p_validate in boolean default false
144: ,p_context in varchar2
145: ,p_application_short_name in varchar2 default hr_api.g_varchar2
146: ,p_legislation_code in varchar2 default hr_api.g_varchar2
147: ,p_responsibility_key in varchar2 default hr_api.g_varchar2
148: ,p_transaction_short_name in varchar2 default hr_api.g_varchar2
149: ,p_object_version_number in out nocopy number
142: procedure update_copy_entity_context
143: (p_validate in boolean default false
144: ,p_context in varchar2
145: ,p_application_short_name in varchar2 default hr_api.g_varchar2
146: ,p_legislation_code in varchar2 default hr_api.g_varchar2
147: ,p_responsibility_key in varchar2 default hr_api.g_varchar2
148: ,p_transaction_short_name in varchar2 default hr_api.g_varchar2
149: ,p_object_version_number in out nocopy number
150: ) is
143: (p_validate in boolean default false
144: ,p_context in varchar2
145: ,p_application_short_name in varchar2 default hr_api.g_varchar2
146: ,p_legislation_code in varchar2 default hr_api.g_varchar2
147: ,p_responsibility_key in varchar2 default hr_api.g_varchar2
148: ,p_transaction_short_name in varchar2 default hr_api.g_varchar2
149: ,p_object_version_number in out nocopy number
150: ) is
151: --
144: ,p_context in varchar2
145: ,p_application_short_name in varchar2 default hr_api.g_varchar2
146: ,p_legislation_code in varchar2 default hr_api.g_varchar2
147: ,p_responsibility_key in varchar2 default hr_api.g_varchar2
148: ,p_transaction_short_name in varchar2 default hr_api.g_varchar2
149: ,p_object_version_number in out nocopy number
150: ) is
151: --
152: -- Declare cursors and local variables
181: ,p_transaction_short_name => p_transaction_short_name
182: ,p_object_version_number => p_object_version_number
183: );
184: exception
185: when hr_api.cannot_find_prog_unit then
186: hr_api.cannot_find_prog_unit_error
187: (p_module_name => 'update_copy_entity_context'
188: ,p_hook_type => 'BP'
189: );
182: ,p_object_version_number => p_object_version_number
183: );
184: exception
185: when hr_api.cannot_find_prog_unit then
186: hr_api.cannot_find_prog_unit_error
187: (p_module_name => 'update_copy_entity_context'
188: ,p_hook_type => 'BP'
189: );
190: --
215: ,p_transaction_short_name => p_transaction_short_name
216: ,p_object_version_number => l_object_version_number
217: );
218: exception
219: when hr_api.cannot_find_prog_unit then
220: hr_api.cannot_find_prog_unit_error
221: (p_module_name => 'update_copy_entity_context'
222: ,p_hook_type => 'AP'
223: );
216: ,p_object_version_number => l_object_version_number
217: );
218: exception
219: when hr_api.cannot_find_prog_unit then
220: hr_api.cannot_find_prog_unit_error
221: (p_module_name => 'update_copy_entity_context'
222: ,p_hook_type => 'AP'
223: );
224: --
230: --
231: -- When in validation only mode raise the Validate_Enabled exception
232: --
233: if p_validate then
234: raise hr_api.validate_enabled;
235: end if;
236: --
237: -- Set all output arguments
238: --
241: hr_utility.set_location(' Leaving:'||l_proc, 70);
242: --
243: exception
244: --
245: when hr_api.validate_enabled then
246: --
247: -- As the Validate_Enabled exception has been raised
248: -- we must rollback to the savepoint
249: --
303: p_context => p_context
304: ,p_object_version_number => p_object_version_number
305: );
306: exception
307: when hr_api.cannot_find_prog_unit then
308: hr_api.cannot_find_prog_unit_error
309: (p_module_name => 'delete_copy_entity_context'
310: ,p_hook_type => 'BP'
311: );
304: ,p_object_version_number => p_object_version_number
305: );
306: exception
307: when hr_api.cannot_find_prog_unit then
308: hr_api.cannot_find_prog_unit_error
309: (p_module_name => 'delete_copy_entity_context'
310: ,p_hook_type => 'BP'
311: );
312: --
329: p_context => p_context
330: ,p_object_version_number => l_object_version_number
331: );
332: exception
333: when hr_api.cannot_find_prog_unit then
334: hr_api.cannot_find_prog_unit_error
335: (p_module_name => 'delete_copy_entity_context'
336: ,p_hook_type => 'AP'
337: );
330: ,p_object_version_number => l_object_version_number
331: );
332: exception
333: when hr_api.cannot_find_prog_unit then
334: hr_api.cannot_find_prog_unit_error
335: (p_module_name => 'delete_copy_entity_context'
336: ,p_hook_type => 'AP'
337: );
338: --
344: --
345: -- When in validation only mode raise the Validate_Enabled exception
346: --
347: if p_validate then
348: raise hr_api.validate_enabled;
349: end if;
350: --
351: hr_utility.set_location(' Leaving:'||l_proc, 70);
352: --
351: hr_utility.set_location(' Leaving:'||l_proc, 70);
352: --
353: exception
354: --
355: when hr_api.validate_enabled then
356: --
357: -- As the Validate_Enabled exception has been raised
358: -- we must rollback to the savepoint
359: --