145: l_commit_unit_number number;
146: l_legislation_code varchar2(30);
147: begin
148: hr_utility.set_location('Entering: HR_CONTRACT_BK2.UPDATE_CONTRACT_B', 10);
149: l_commit_unit_number := hr_api.return_commit_unit;
150: if hr_api.call_leg_hooks then
151: l_legislation_code := PER_CTC_BUS.return_legislation_code(P_CONTRACT_ID => P_CONTRACT_ID
152: );
153: if l_legislation_code = 'AE' then
146: l_legislation_code varchar2(30);
147: begin
148: hr_utility.set_location('Entering: HR_CONTRACT_BK2.UPDATE_CONTRACT_B', 10);
149: l_commit_unit_number := hr_api.return_commit_unit;
150: if hr_api.call_leg_hooks then
151: l_legislation_code := PER_CTC_BUS.return_legislation_code(P_CONTRACT_ID => P_CONTRACT_ID
152: );
153: if l_legislation_code = 'AE' then
154: HR_AE_VALIDATE_PKG.CONTRACT_VALIDATE
209: ,P_CTR_INFORMATION5 => P_CTR_INFORMATION5
210: );
211: end if;
212: end if;
213: hr_api.validate_commit_unit(l_commit_unit_number, 'UPDATE_CONTRACT', 'BP');
214: hr_utility.set_location(' Leaving: HR_CONTRACT_BK2.UPDATE_CONTRACT_B', 20);
215: end UPDATE_CONTRACT_B;
216: end HR_CONTRACT_BK2;