DBA Data[Home] [Help]

APPS.HR_HK_PERSON_API dependencies on HR_UTILITY

Line 143: hr_utility.set_location('Entering:'|| l_proc, 5);

139: and c_effective_date
140: between per.effective_start_date and per.effective_end_date;
141: --
142: BEGIN
143: hr_utility.set_location('Entering:'|| l_proc, 5);
144: --
145: -- Initialise local variables
146: --
147: l_effective_date := trunc(p_effective_date);

Line 157: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');

153: OPEN check_legislation(p_person_id, l_effective_date);
154: FETCH check_legislation into l_legislation_code;
155: IF check_legislation%notfound THEN
156: CLOSE check_legislation;
157: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
158: hr_utility.raise_error;
159: END IF;
160: CLOSE check_legislation;
161: hr_utility.set_location(l_proc, 20);

Line 158: hr_utility.raise_error;

154: FETCH check_legislation into l_legislation_code;
155: IF check_legislation%notfound THEN
156: CLOSE check_legislation;
157: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
158: hr_utility.raise_error;
159: END IF;
160: CLOSE check_legislation;
161: hr_utility.set_location(l_proc, 20);
162: --

Line 161: hr_utility.set_location(l_proc, 20);

157: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
158: hr_utility.raise_error;
159: END IF;
160: CLOSE check_legislation;
161: hr_utility.set_location(l_proc, 20);
162: --
163: -- Check that the legislation of the specified business group is 'HK'.
164: --
165: IF l_legislation_code <> 'HK' THEN

Line 166: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');

162: --
163: -- Check that the legislation of the specified business group is 'HK'.
164: --
165: IF l_legislation_code <> 'HK' THEN
166: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
167: hr_utility.set_message_token('LEG_CODE','HK');
168: hr_utility.raise_error;
169: END IF;
170: hr_utility.set_location(l_proc, 30);

Line 167: hr_utility.set_message_token('LEG_CODE','HK');

163: -- Check that the legislation of the specified business group is 'HK'.
164: --
165: IF l_legislation_code <> 'HK' THEN
166: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
167: hr_utility.set_message_token('LEG_CODE','HK');
168: hr_utility.raise_error;
169: END IF;
170: hr_utility.set_location(l_proc, 30);
171: --

Line 168: hr_utility.raise_error;

164: --
165: IF l_legislation_code <> 'HK' THEN
166: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
167: hr_utility.set_message_token('LEG_CODE','HK');
168: hr_utility.raise_error;
169: END IF;
170: hr_utility.set_location(l_proc, 30);
171: --
172: -- Update the person record using the update_person BP

Line 170: hr_utility.set_location(l_proc, 30);

166: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
167: hr_utility.set_message_token('LEG_CODE','HK');
168: hr_utility.raise_error;
169: END IF;
170: hr_utility.set_location(l_proc, 30);
171: --
172: -- Update the person record using the update_person BP
173: --
174: hr_person_api.update_person

Line 286: hr_utility.set_location(' Leaving:'||l_proc, 7);

282: ,p_assign_payroll_warning => p_assign_payroll_warning
283: ,p_orig_hire_warning => p_orig_hire_warning
284: );
285: --
286: hr_utility.set_location(' Leaving:'||l_proc, 7);
287: --
288: END update_hk_person;
289: END hr_hk_person_api;