DBA Data[Home] [Help]

APPS.HR_BE_CONTRACT_API dependencies on HR_UTILITY

Line 85: hr_utility.set_location('Entering:'|| l_proc, 10);

81: where pbg.business_group_id = l_business_group_id;
82: --
83: begin
84:
85: hr_utility.set_location('Entering:'|| l_proc, 10);
86: --
87: -- Issue a savepoint if operating in validation only mode
88: --
89: savepoint create_be_contract;

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

87: -- Issue a savepoint if operating in validation only mode
88: --
89: savepoint create_be_contract;
90: --
91: hr_utility.set_location(l_proc, 20);
92: --
93: -- Process Logic
94: --
95: -- Get person details.

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

99: into l_business_group_id;
100: --
101: if csr_get_business_group_id%NOTFOUND then
102: close csr_get_business_group_id;
103: hr_utility.set_location(l_proc, 30);
104: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
105: hr_utility.raise_error;
106: end if;
107: close csr_get_business_group_id;

Line 104: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');

100: --
101: if csr_get_business_group_id%NOTFOUND then
102: close csr_get_business_group_id;
103: hr_utility.set_location(l_proc, 30);
104: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
105: hr_utility.raise_error;
106: end if;
107: close csr_get_business_group_id;
108: --

Line 105: hr_utility.raise_error;

101: if csr_get_business_group_id%NOTFOUND then
102: close csr_get_business_group_id;
103: hr_utility.set_location(l_proc, 30);
104: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
105: hr_utility.raise_error;
106: end if;
107: close csr_get_business_group_id;
108: --
109: hr_utility.set_location(l_proc, 40);

Line 109: hr_utility.set_location(l_proc, 40);

105: hr_utility.raise_error;
106: end if;
107: close csr_get_business_group_id;
108: --
109: hr_utility.set_location(l_proc, 40);
110: --
111: -- Check that the specified business group is valid.
112: --
113: open csr_bg;

Line 118: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');

114: fetch csr_bg
115: into l_legislation_code;
116: if csr_bg%notfound then
117: close csr_bg;
118: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
119: hr_utility.raise_error;
120: end if;
121: close csr_bg;
122: hr_utility.set_location(l_proc, 50);

Line 119: hr_utility.raise_error;

115: into l_legislation_code;
116: if csr_bg%notfound then
117: close csr_bg;
118: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
119: hr_utility.raise_error;
120: end if;
121: close csr_bg;
122: hr_utility.set_location(l_proc, 50);
123: --

Line 122: hr_utility.set_location(l_proc, 50);

118: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
119: hr_utility.raise_error;
120: end if;
121: close csr_bg;
122: hr_utility.set_location(l_proc, 50);
123: --
124: -- Check that the legislation of the specified business group is 'BE'.
125: --
126: if l_legislation_code <> 'BE' then

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

123: --
124: -- Check that the legislation of the specified business group is 'BE'.
125: --
126: if l_legislation_code <> 'BE' then
127: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
128: hr_utility.set_message_token('LEG_CODE','BE');
129: hr_utility.raise_error;
130: end if;
131: hr_utility.set_location(l_proc, 60);

Line 128: hr_utility.set_message_token('LEG_CODE','BE');

124: -- Check that the legislation of the specified business group is 'BE'.
125: --
126: if l_legislation_code <> 'BE' then
127: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
128: hr_utility.set_message_token('LEG_CODE','BE');
129: hr_utility.raise_error;
130: end if;
131: hr_utility.set_location(l_proc, 60);
132: --

Line 129: hr_utility.raise_error;

125: --
126: if l_legislation_code <> 'BE' then
127: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
128: hr_utility.set_message_token('LEG_CODE','BE');
129: hr_utility.raise_error;
130: end if;
131: hr_utility.set_location(l_proc, 60);
132: --
133: -- Call the contract business process

Line 131: hr_utility.set_location(l_proc, 60);

127: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
128: hr_utility.set_message_token('LEG_CODE','BE');
129: hr_utility.raise_error;
130: end if;
131: hr_utility.set_location(l_proc, 60);
132: --
133: -- Call the contract business process
134: --
135: hr_contract_api.create_contract

Line 189: hr_utility.set_location(' Leaving:'||l_proc, 70);

185: ,p_attribute19 => p_attribute19
186: ,p_attribute20 => p_attribute20
187: ,p_effective_date => p_effective_date);
188: --
189: hr_utility.set_location(' Leaving:'||l_proc, 70);
190: --
191: end create_be_contract;
192: --
193: -- ----------------------------------------------------------------------

Line 271: hr_utility.set_location('Entering:'|| l_proc, 10);

267: where pbg.business_group_id = l_business_group_id;
268: --
269: begin
270: --
271: hr_utility.set_location('Entering:'|| l_proc, 10);
272: --
273: -- Issue a savepoint if operating in validation only mode
274: --
275: savepoint update_be_contract;

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

273: -- Issue a savepoint if operating in validation only mode
274: --
275: savepoint update_be_contract;
276: --
277: hr_utility.set_location(l_proc, 20);
278: --
279: -- Process Logic
280: --
281: -- Get person details.

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

285: into l_business_group_id;
286: --
287: if csr_get_business_group_id%NOTFOUND then
288: close csr_get_business_group_id;
289: hr_utility.set_location(l_proc, 30);
290: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
291: hr_utility.raise_error;
292: end if;
293: close csr_get_business_group_id;

Line 290: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');

286: --
287: if csr_get_business_group_id%NOTFOUND then
288: close csr_get_business_group_id;
289: hr_utility.set_location(l_proc, 30);
290: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
291: hr_utility.raise_error;
292: end if;
293: close csr_get_business_group_id;
294: --

Line 291: hr_utility.raise_error;

287: if csr_get_business_group_id%NOTFOUND then
288: close csr_get_business_group_id;
289: hr_utility.set_location(l_proc, 30);
290: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
291: hr_utility.raise_error;
292: end if;
293: close csr_get_business_group_id;
294: --
295: hr_utility.set_location(l_proc, 40);

Line 295: hr_utility.set_location(l_proc, 40);

291: hr_utility.raise_error;
292: end if;
293: close csr_get_business_group_id;
294: --
295: hr_utility.set_location(l_proc, 40);
296: --
297: -- Check that the specified business group is valid.
298: --
299: open csr_bg;

Line 304: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');

300: fetch csr_bg
301: into l_legislation_code;
302: if csr_bg%notfound then
303: close csr_bg;
304: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
305: hr_utility.raise_error;
306: end if;
307: close csr_bg;
308: --

Line 305: hr_utility.raise_error;

301: into l_legislation_code;
302: if csr_bg%notfound then
303: close csr_bg;
304: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
305: hr_utility.raise_error;
306: end if;
307: close csr_bg;
308: --
309: hr_utility.set_location(l_proc, 50);

Line 309: hr_utility.set_location(l_proc, 50);

305: hr_utility.raise_error;
306: end if;
307: close csr_bg;
308: --
309: hr_utility.set_location(l_proc, 50);
310: --
311: -- Check that the legislation of the specified business group is 'BE'.
312: --
313: if l_legislation_code <> 'BE' then

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

310: --
311: -- Check that the legislation of the specified business group is 'BE'.
312: --
313: if l_legislation_code <> 'BE' then
314: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
315: hr_utility.set_message_token('LEG_CODE','BE');
316: hr_utility.raise_error;
317: end if;
318: hr_utility.set_location(l_proc, 60);

Line 315: hr_utility.set_message_token('LEG_CODE','BE');

311: -- Check that the legislation of the specified business group is 'BE'.
312: --
313: if l_legislation_code <> 'BE' then
314: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
315: hr_utility.set_message_token('LEG_CODE','BE');
316: hr_utility.raise_error;
317: end if;
318: hr_utility.set_location(l_proc, 60);
319: --

Line 316: hr_utility.raise_error;

312: --
313: if l_legislation_code <> 'BE' then
314: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
315: hr_utility.set_message_token('LEG_CODE','BE');
316: hr_utility.raise_error;
317: end if;
318: hr_utility.set_location(l_proc, 60);
319: --
320: -- Call the contract business process

Line 318: hr_utility.set_location(l_proc, 60);

314: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
315: hr_utility.set_message_token('LEG_CODE','BE');
316: hr_utility.raise_error;
317: end if;
318: hr_utility.set_location(l_proc, 60);
319: --
320: -- Call the contract business process
321: --
322: hr_contract_api.update_contract

Line 377: hr_utility.set_location(' Leaving:'||l_proc, 70);

373: ,p_attribute20 => p_attribute20
374: ,p_effective_date => p_effective_date
375: ,p_datetrack_mode => p_datetrack_mode);
376: --
377: hr_utility.set_location(' Leaving:'||l_proc, 70);
378: --
379: end update_be_contract;
380: --
381: end hr_be_contract_api;