46: ,p_business_group_id => p_business_group_id
47: ,p_legislation_code => p_legislation_code
48: );
49: exception
50: when hr_api.cannot_find_prog_unit then
51: hr_api.cannot_find_prog_unit_error
52: (p_module_name => 'create_balance_attribute'
53: ,p_hook_type => 'BP'
54: );
47: ,p_legislation_code => p_legislation_code
48: );
49: exception
50: when hr_api.cannot_find_prog_unit then
51: hr_api.cannot_find_prog_unit_error
52: (p_module_name => 'create_balance_attribute'
53: ,p_hook_type => 'BP'
54: );
55: end;
80: ,p_legislation_code => p_legislation_code
81: ,p_balance_attribute_id => l_balance_attribute_id
82: );
83: exception
84: when hr_api.cannot_find_prog_unit then
85: hr_api.cannot_find_prog_unit_error
86: (p_module_name => 'create_balance_attribute'
87: ,p_hook_type => 'AP'
88: );
81: ,p_balance_attribute_id => l_balance_attribute_id
82: );
83: exception
84: when hr_api.cannot_find_prog_unit then
85: hr_api.cannot_find_prog_unit_error
86: (p_module_name => 'create_balance_attribute'
87: ,p_hook_type => 'AP'
88: );
89: end;
92: --
93: -- When in validation only mode raise the Validate_Enabled exception
94: --
95: if p_validate then
96: raise hr_api.validate_enabled;
97: end if;
98: --
99: -- Set all output arguments
100: --
101: p_balance_attribute_id := l_balance_attribute_id;
102: --
103: hr_utility.set_location(' Leaving:'||l_proc, 70);
104: exception
105: when hr_api.validate_enabled then
106: --
107: -- As the Validate_Enabled exception has been raised
108: -- we must rollback to the savepoint
109: --
156: ,p_business_group_id => p_business_group_id
157: ,p_legislation_code => p_legislation_code
158: );
159: exception
160: when hr_api.cannot_find_prog_unit then
161: hr_api.cannot_find_prog_unit_error
162: (p_module_name => 'delete_balance_attribute'
163: ,p_hook_type => 'BP'
164: );
157: ,p_legislation_code => p_legislation_code
158: );
159: exception
160: when hr_api.cannot_find_prog_unit then
161: hr_api.cannot_find_prog_unit_error
162: (p_module_name => 'delete_balance_attribute'
163: ,p_hook_type => 'BP'
164: );
165: end;
183: ,p_business_group_id => p_business_group_id
184: ,p_legislation_code => p_legislation_code
185: );
186: exception
187: when hr_api.cannot_find_prog_unit then
188: hr_api.cannot_find_prog_unit_error
189: (p_module_name => 'delete_balance_attribute'
190: ,p_hook_type => 'AP'
191: );
184: ,p_legislation_code => p_legislation_code
185: );
186: exception
187: when hr_api.cannot_find_prog_unit then
188: hr_api.cannot_find_prog_unit_error
189: (p_module_name => 'delete_balance_attribute'
190: ,p_hook_type => 'AP'
191: );
192: end;
195: --
196: -- When in validation only mode raise the Validate_Enabled exception
197: --
198: if p_validate then
199: raise hr_api.validate_enabled;
200: end if;
201: --
202: -- Set all output arguments
203: --
203: --
204: --
205: hr_utility.set_location(' Leaving:'||l_proc, 70);
206: exception
207: when hr_api.validate_enabled then
208: --
209: -- As the Validate_Enabled exception has been raised
210: -- we must rollback to the savepoint
211: --