48: ,p_business_group_id => p_business_group_id
49: ,p_legislation_code => p_legislation_code
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_bal_attribute_default'
55: ,p_hook_type => 'BP'
56: );
49: ,p_legislation_code => p_legislation_code
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_bal_attribute_default'
55: ,p_hook_type => 'BP'
56: );
57: end;
84: ,p_legislation_code => p_legislation_code
85: ,p_bal_attribute_default_id => l_bal_attribute_default_id
86: );
87: exception
88: when hr_api.cannot_find_prog_unit then
89: hr_api.cannot_find_prog_unit_error
90: (p_module_name => 'create_bal_attribute_default'
91: ,p_hook_type => 'AP'
92: );
85: ,p_bal_attribute_default_id => l_bal_attribute_default_id
86: );
87: exception
88: when hr_api.cannot_find_prog_unit then
89: hr_api.cannot_find_prog_unit_error
90: (p_module_name => 'create_bal_attribute_default'
91: ,p_hook_type => 'AP'
92: );
93: end;
96: --
97: -- When in validation only mode raise the Validate_Enabled exception
98: --
99: if p_validate then
100: raise hr_api.validate_enabled;
101: end if;
102: --
103: -- Set all output arguments
104: --
105: p_bal_attribute_default_id := l_bal_attribute_default_id;
106: --
107: hr_utility.set_location(' Leaving:'||l_proc, 70);
108: exception
109: when hr_api.validate_enabled then
110: --
111: -- As the Validate_Enabled exception has been raised
112: -- we must rollback to the savepoint
113: --
160: ,p_business_group_id => p_business_group_id
161: ,p_legislation_code => p_legislation_code
162: );
163: exception
164: when hr_api.cannot_find_prog_unit then
165: hr_api.cannot_find_prog_unit_error
166: (p_module_name => 'delete_bal_attribute_default'
167: ,p_hook_type => 'BP'
168: );
161: ,p_legislation_code => p_legislation_code
162: );
163: exception
164: when hr_api.cannot_find_prog_unit then
165: hr_api.cannot_find_prog_unit_error
166: (p_module_name => 'delete_bal_attribute_default'
167: ,p_hook_type => 'BP'
168: );
169: end;
187: ,p_business_group_id => p_business_group_id
188: ,p_legislation_code => p_legislation_code
189: );
190: exception
191: when hr_api.cannot_find_prog_unit then
192: hr_api.cannot_find_prog_unit_error
193: (p_module_name => 'delete_bal_attribute_default'
194: ,p_hook_type => 'AP'
195: );
188: ,p_legislation_code => p_legislation_code
189: );
190: exception
191: when hr_api.cannot_find_prog_unit then
192: hr_api.cannot_find_prog_unit_error
193: (p_module_name => 'delete_bal_attribute_default'
194: ,p_hook_type => 'AP'
195: );
196: end;
199: --
200: -- When in validation only mode raise the Validate_Enabled exception
201: --
202: if p_validate then
203: raise hr_api.validate_enabled;
204: end if;
205: --
206: -- Set all output arguments
207: --
207: --
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 70);
210: exception
211: when hr_api.validate_enabled then
212: --
213: -- As the Validate_Enabled exception has been raised
214: -- we must rollback to the savepoint
215: --