53: ,p_object_version_number => p_object_version_number
54: );
55:
56: exception
57: when hr_api.cannot_find_prog_unit then
58: hr_api.cannot_find_prog_unit_error
59: (p_module_name => 'create_cross_charge_b'
60: ,p_hook_type => 'BP'
61: );
54: );
55:
56: exception
57: when hr_api.cannot_find_prog_unit then
58: hr_api.cannot_find_prog_unit_error
59: (p_module_name => 'create_cross_charge_b'
60: ,p_hook_type => 'BP'
61: );
62: end;
98: ,p_cross_charge_id => p_cross_charge_id
99: ,p_object_version_number => p_object_version_number
100: );
101: exception
102: when hr_api.cannot_find_prog_unit then
103: hr_api.cannot_find_prog_unit_error
104: (p_module_name => 'create_cross_charge_a'
105: ,p_hook_type => 'AP'
106: );
99: ,p_object_version_number => p_object_version_number
100: );
101: exception
102: when hr_api.cannot_find_prog_unit then
103: hr_api.cannot_find_prog_unit_error
104: (p_module_name => 'create_cross_charge_a'
105: ,p_hook_type => 'AP'
106: );
107: end;
108: --
109: -- When in validation only mode raise the Validate_Enabled exception
110: --
111: if p_validate then
112: raise hr_api.validate_enabled;
113: end if;
114: --
115: -- Set all output arguments
116: --
119: p_some_warning :=
120: --
121: hr_utility.set_location(' Leaving:'||l_proc, 70);
122: exception
123: when hr_api.validate_enabled then
124: --
125: -- As the Validate_Enabled exception has been raised
126: -- we must rollback to the savepoint
127: --
154: procedure update_cross_charge
155: (p_effective_date in date
156: ,p_cross_charge_id in number
157: ,p_object_version_number in out nocopy number
158: ,p_business_group_id in number default hr_api.g_number
159: ,p_gl_set_of_books_id in number default hr_api.g_number
160: ,p_type in varchar2 default hr_api.g_varchar2
161: ,p_from_to in varchar2 default hr_api.g_varchar2
162: ,p_start_date_active in date default hr_api.g_date
155: (p_effective_date in date
156: ,p_cross_charge_id in number
157: ,p_object_version_number in out nocopy number
158: ,p_business_group_id in number default hr_api.g_number
159: ,p_gl_set_of_books_id in number default hr_api.g_number
160: ,p_type in varchar2 default hr_api.g_varchar2
161: ,p_from_to in varchar2 default hr_api.g_varchar2
162: ,p_start_date_active in date default hr_api.g_date
163: ,p_end_date_active in date default hr_api.g_date
156: ,p_cross_charge_id in number
157: ,p_object_version_number in out nocopy number
158: ,p_business_group_id in number default hr_api.g_number
159: ,p_gl_set_of_books_id in number default hr_api.g_number
160: ,p_type in varchar2 default hr_api.g_varchar2
161: ,p_from_to in varchar2 default hr_api.g_varchar2
162: ,p_start_date_active in date default hr_api.g_date
163: ,p_end_date_active in date default hr_api.g_date
164: ,p_validate in boolean default false
157: ,p_object_version_number in out nocopy number
158: ,p_business_group_id in number default hr_api.g_number
159: ,p_gl_set_of_books_id in number default hr_api.g_number
160: ,p_type in varchar2 default hr_api.g_varchar2
161: ,p_from_to in varchar2 default hr_api.g_varchar2
162: ,p_start_date_active in date default hr_api.g_date
163: ,p_end_date_active in date default hr_api.g_date
164: ,p_validate in boolean default false
165: ) is
158: ,p_business_group_id in number default hr_api.g_number
159: ,p_gl_set_of_books_id in number default hr_api.g_number
160: ,p_type in varchar2 default hr_api.g_varchar2
161: ,p_from_to in varchar2 default hr_api.g_varchar2
162: ,p_start_date_active in date default hr_api.g_date
163: ,p_end_date_active in date default hr_api.g_date
164: ,p_validate in boolean default false
165: ) is
166:
159: ,p_gl_set_of_books_id in number default hr_api.g_number
160: ,p_type in varchar2 default hr_api.g_varchar2
161: ,p_from_to in varchar2 default hr_api.g_varchar2
162: ,p_start_date_active in date default hr_api.g_date
163: ,p_end_date_active in date default hr_api.g_date
164: ,p_validate in boolean default false
165: ) is
166:
167:
193: ,p_cross_charge_id => p_cross_charge_id
194: ,p_object_version_number => p_object_version_number
195: );
196: exception
197: when hr_api.cannot_find_prog_unit then
198: hr_api.cannot_find_prog_unit_error
199: (p_module_name => 'update_cross_charge_b'
200: ,p_hook_type => 'BP'
201: );
194: ,p_object_version_number => p_object_version_number
195: );
196: exception
197: when hr_api.cannot_find_prog_unit then
198: hr_api.cannot_find_prog_unit_error
199: (p_module_name => 'update_cross_charge_b'
200: ,p_hook_type => 'BP'
201: );
202: end;
239: ,p_cross_charge_id => p_cross_charge_id
240: ,p_object_version_number => p_object_version_number
241: );
242: exception
243: when hr_api.cannot_find_prog_unit then
244: hr_api.cannot_find_prog_unit_error
245: (p_module_name => 'update_cross_charge_a'
246: ,p_hook_type => 'AP'
247: );
240: ,p_object_version_number => p_object_version_number
241: );
242: exception
243: when hr_api.cannot_find_prog_unit then
244: hr_api.cannot_find_prog_unit_error
245: (p_module_name => 'update_cross_charge_a'
246: ,p_hook_type => 'AP'
247: );
248: end;
249: --
250: -- When in validation only mode raise the Validate_Enabled exception
251: --
252: if p_validate then
253: raise hr_api.validate_enabled;
254: end if;
255: --
256: -- Set all output arguments
257: --
260: p_some_warning :=
261: --
262: hr_utility.set_location(' Leaving:'||l_proc, 70);
263: exception
264: when hr_api.validate_enabled then
265: --
266: -- As the Validate_Enabled exception has been raised
267: -- we must rollback to the savepoint
268: --