48: ,p_object_version_number => p_object_version_number
49: ,p_name => p_name
50: );
51: exception
52: when hr_api.cannot_find_prog_unit then
53: hr_api.cannot_find_prog_unit_error
54: (p_module_name => 'create_time_source'
55: ,p_hook_type => 'BP'
56: );
49: ,p_name => p_name
50: );
51: exception
52: when hr_api.cannot_find_prog_unit then
53: hr_api.cannot_find_prog_unit_error
54: (p_module_name => 'create_time_source'
55: ,p_hook_type => 'BP'
56: );
57: end;
87: ,p_object_version_number => l_object_version_number
88: ,p_name => p_name
89: );
90: exception
91: when hr_api.cannot_find_prog_unit then
92: hr_api.cannot_find_prog_unit_error
93: (p_module_name => 'create_time_source'
94: ,p_hook_type => 'AP'
95: );
88: ,p_name => p_name
89: );
90: exception
91: when hr_api.cannot_find_prog_unit then
92: hr_api.cannot_find_prog_unit_error
93: (p_module_name => 'create_time_source'
94: ,p_hook_type => 'AP'
95: );
96: end;
101: --
102: -- When in validation only mode raise the Validate_Enabled exception
103: --
104: if p_validate then
105: raise hr_api.validate_enabled;
106: end if;
107: --
108: if g_debug then
109: hr_utility.set_location(' Leaving:'||l_proc, 70);
115: p_object_version_number := l_object_version_number;
116: --
117: exception
118: --
119: when hr_api.validate_enabled then
120: --
121: -- As the Validate_Enabled exception has been raised
122: -- we must rollback to the savepoint
123: --
186: ,p_object_version_number => p_object_version_number
187: ,p_name => p_name
188: );
189: exception
190: when hr_api.cannot_find_prog_unit then
191: hr_api.cannot_find_prog_unit_error
192: (p_module_name => 'update_time_source'
193: ,p_hook_type => 'BP'
194: );
187: ,p_name => p_name
188: );
189: exception
190: when hr_api.cannot_find_prog_unit then
191: hr_api.cannot_find_prog_unit_error
192: (p_module_name => 'update_time_source'
193: ,p_hook_type => 'BP'
194: );
195: end;
221: ,p_object_version_number => l_object_version_number
222: ,p_name => p_name
223: );
224: exception
225: when hr_api.cannot_find_prog_unit then
226: hr_api.cannot_find_prog_unit_error
227: (p_module_name => 'update_time_source'
228: ,p_hook_type => 'AP'
229: );
222: ,p_name => p_name
223: );
224: exception
225: when hr_api.cannot_find_prog_unit then
226: hr_api.cannot_find_prog_unit_error
227: (p_module_name => 'update_time_source'
228: ,p_hook_type => 'AP'
229: );
230: end;
235: --
236: -- When in validation only mode raise the Validate_Enabled exception
237: --
238: if p_validate then
239: raise hr_api.validate_enabled;
240: end if;
241: --
242: if g_debug then
243: hr_utility.set_location(' Leaving:'||l_proc, 60);
248: p_object_version_number := l_object_version_number;
249: --
250: exception
251: --
252: when hr_api.validate_enabled then
253: --
254: -- As the Validate_Enabled exception has been raised
255: -- we must rollback to the savepoint
256: --
316: (p_time_source_id => p_time_source_id
317: ,p_object_version_number => p_object_version_number
318: );
319: exception
320: when hr_api.cannot_find_prog_unit then
321: hr_api.cannot_find_prog_unit_error
322: (p_module_name => 'delete_time_source_b'
323: ,p_hook_type => 'BP'
324: );
317: ,p_object_version_number => p_object_version_number
318: );
319: exception
320: when hr_api.cannot_find_prog_unit then
321: hr_api.cannot_find_prog_unit_error
322: (p_module_name => 'delete_time_source_b'
323: ,p_hook_type => 'BP'
324: );
325: end;
348: (p_time_source_id => p_time_source_id
349: ,p_object_version_number => p_object_version_number
350: );
351: exception
352: when hr_api.cannot_find_prog_unit then
353: hr_api.cannot_find_prog_unit_error
354: (p_module_name => 'delete_time_source_a'
355: ,p_hook_type => 'AP'
356: );
349: ,p_object_version_number => p_object_version_number
350: );
351: exception
352: when hr_api.cannot_find_prog_unit then
353: hr_api.cannot_find_prog_unit_error
354: (p_module_name => 'delete_time_source_a'
355: ,p_hook_type => 'AP'
356: );
357: end;
358: --
359: -- When in validation only mode raise the Validate_Enabled exception
360: --
361: if p_validate then
362: raise hr_api.validate_enabled;
363: end if;
364: --
365: if g_debug then
366: hr_utility.set_location(' Leaving:'||l_proc, 50);
367: end if;
368: --
369: exception
370: --
371: when hr_api.validate_enabled then
372: --
373: -- As the Validate_Enabled exception has been raised
374: -- we must rollback to the savepoint
375: --