DBA Data[Home] [Help]

APPS.PER_CAG_SHD dependencies on HR_UTILITY

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

15: --
16: l_proc varchar2(72) := g_package||'constraint_error';
17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then

Line 23: hr_utility.set_message_token('PROCEDURE', l_proc);

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then
27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');

Line 24: hr_utility.set_message_token('STEP','5');

20: --
21: If (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then
27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');
28: hr_utility.raise_error;

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then
27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');
28: hr_utility.raise_error;
29: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK1') Then

Line 27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');

23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then
27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');
28: hr_utility.raise_error;
29: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK1') Then
30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');
31: hr_utility.raise_error;

Line 28: hr_utility.raise_error;

24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then
27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');
28: hr_utility.raise_error;
29: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK1') Then
30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK2') Then

Line 30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');

26: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_UK1') Then
27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');
28: hr_utility.raise_error;
29: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK1') Then
30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK2') Then
33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');
34: hr_utility.raise_error;

Line 31: hr_utility.raise_error;

27: hr_utility.set_message(800, 'PER_52835_CAG_INV_CAG_NAME');
28: hr_utility.raise_error;
29: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK1') Then
30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK2') Then
33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK3') Then

Line 33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');

29: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK1') Then
30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK2') Then
33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK3') Then
36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');
37: hr_utility.raise_error;

Line 34: hr_utility.raise_error;

30: hr_utility.set_message(800, 'PER_52846_CAG_INV_EMP_ORG');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK2') Then
33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK3') Then
36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');
37: hr_utility.raise_error;
38: Else

Line 36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');

32: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK2') Then
33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK3') Then
36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');
37: hr_utility.raise_error;
38: Else
39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
40: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 37: hr_utility.raise_error;

33: hr_utility.set_message(800, 'PER_52847_CAG_INV_BARG_ORG');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK3') Then
36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');
37: hr_utility.raise_error;
38: Else
39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

35: ElsIf (p_constraint_name = 'PER_COLLECTIVE_AGREEMENTS_FK3') Then
36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');
37: hr_utility.raise_error;
38: Else
39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
42: hr_utility.raise_error;
43: End If;

Line 40: hr_utility.set_message_token('PROCEDURE', l_proc);

36: hr_utility.set_message(800, 'PER_52848_CAG_INV_BG');
37: hr_utility.raise_error;
38: Else
39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
42: hr_utility.raise_error;
43: End If;
44: --

Line 41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

37: hr_utility.raise_error;
38: Else
39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
42: hr_utility.raise_error;
43: End If;
44: --
45: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 42: hr_utility.raise_error;

38: Else
39: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
42: hr_utility.raise_error;
43: End If;
44: --
45: hr_utility.set_location(' Leaving:'||l_proc, 10);
46: End constraint_error;

Line 45: hr_utility.set_location(' Leaving:'||l_proc, 10);

41: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
42: hr_utility.raise_error;
43: End If;
44: --
45: hr_utility.set_location(' Leaving:'||l_proc, 10);
46: End constraint_error;
47: --
48: -- ----------------------------------------------------------------------------
49: -- |-----------------------------< api_updating >-----------------------------|

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

183: l_proc varchar2(72) := g_package||'api_updating';
184: l_fct_ret boolean;
185: --
186: Begin
187: hr_utility.set_location('Entering:'||l_proc, 5);
188: --
189: If (
190: p_collective_agreement_id is null and
191: p_object_version_number is null

Line 203: hr_utility.set_location(l_proc, 10);

199: If (
200: p_collective_agreement_id = g_old_rec.collective_agreement_id and
201: p_object_version_number = g_old_rec.object_version_number
202: ) Then
203: hr_utility.set_location(l_proc, 10);
204: --
205: -- The g_old_rec is current therefore we must
206: -- set the returning function to true
207: --

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

216: Close C_Sel1;
217: --
218: -- The primary key is invalid therefore we must error
219: --
220: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
221: hr_utility.raise_error;
222: End If;
223: Close C_Sel1;
224: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 221: hr_utility.raise_error;

217: --
218: -- The primary key is invalid therefore we must error
219: --
220: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
221: hr_utility.raise_error;
222: End If;
223: Close C_Sel1;
224: If (p_object_version_number <> g_old_rec.object_version_number) Then
225: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 225: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

221: hr_utility.raise_error;
222: End If;
223: Close C_Sel1;
224: If (p_object_version_number <> g_old_rec.object_version_number) Then
225: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
226: hr_utility.raise_error;
227: End If;
228: hr_utility.set_location(l_proc, 15);
229: l_fct_ret := true;

Line 226: hr_utility.raise_error;

222: End If;
223: Close C_Sel1;
224: If (p_object_version_number <> g_old_rec.object_version_number) Then
225: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
226: hr_utility.raise_error;
227: End If;
228: hr_utility.set_location(l_proc, 15);
229: l_fct_ret := true;
230: End If;

Line 228: hr_utility.set_location(l_proc, 15);

224: If (p_object_version_number <> g_old_rec.object_version_number) Then
225: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
226: hr_utility.raise_error;
227: End If;
228: hr_utility.set_location(l_proc, 15);
229: l_fct_ret := true;
230: End If;
231: End If;
232: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 232: hr_utility.set_location(' Leaving:'||l_proc, 20);

228: hr_utility.set_location(l_proc, 15);
229: l_fct_ret := true;
230: End If;
231: End If;
232: hr_utility.set_location(' Leaving:'||l_proc, 20);
233: Return (l_fct_ret);
234: --
235: End api_updating;
236: --

Line 317: hr_utility.set_location('Entering:'||l_proc||'/'||p_collective_agreement_id, 5);

313: l_proc varchar2(72) := g_package||'lck';
314: --
315: Begin
316: --
317: hr_utility.set_location('Entering:'||l_proc||'/'||p_collective_agreement_id, 5);
318: --
319: -- Ensure that all mandatory arguments are not NULL
320: --
321: hr_api.mandatory_arg_error(p_api_name => l_proc,

Line 325: hr_utility.set_location(l_proc, 10);

321: hr_api.mandatory_arg_error(p_api_name => l_proc,
322: p_argument => 'collective_agreement_id',
323: p_argument_value => p_collective_agreement_id);
324: --
325: hr_utility.set_location(l_proc, 10);
326: --
327: hr_api.mandatory_arg_error(p_api_name => l_proc,
328: p_argument => 'object_version_number',
329: p_argument_value => p_object_version_number);

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

327: hr_api.mandatory_arg_error(p_api_name => l_proc,
328: p_argument => 'object_version_number',
329: p_argument_value => p_object_version_number);
330: --
331: hr_utility.set_location(l_proc, 20);
332: --
333: Open C_Sel1;
334: Fetch C_Sel1 Into g_old_rec;
335: hr_utility.set_location(l_proc, 25);

Line 335: hr_utility.set_location(l_proc, 25);

331: hr_utility.set_location(l_proc, 20);
332: --
333: Open C_Sel1;
334: Fetch C_Sel1 Into g_old_rec;
335: hr_utility.set_location(l_proc, 25);
336: If C_Sel1%notfound then
337: Close C_Sel1;
338: --
339: -- The primary key is invalid therefore we must error

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

337: Close C_Sel1;
338: --
339: -- The primary key is invalid therefore we must error
340: --
341: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
342: hr_utility.raise_error;
343: End If;
344: Close C_Sel1;
345: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 342: hr_utility.raise_error;

338: --
339: -- The primary key is invalid therefore we must error
340: --
341: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
342: hr_utility.raise_error;
343: End If;
344: Close C_Sel1;
345: If (p_object_version_number <> g_old_rec.object_version_number) Then
346: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 346: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

342: hr_utility.raise_error;
343: End If;
344: Close C_Sel1;
345: If (p_object_version_number <> g_old_rec.object_version_number) Then
346: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
347: hr_utility.raise_error;
348: End If;
349: --
350: hr_utility.set_location(' Leaving:'||l_proc, 999);

Line 347: hr_utility.raise_error;

343: End If;
344: Close C_Sel1;
345: If (p_object_version_number <> g_old_rec.object_version_number) Then
346: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
347: hr_utility.raise_error;
348: End If;
349: --
350: hr_utility.set_location(' Leaving:'||l_proc, 999);
351: --

Line 350: hr_utility.set_location(' Leaving:'||l_proc, 999);

346: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
347: hr_utility.raise_error;
348: End If;
349: --
350: hr_utility.set_location(' Leaving:'||l_proc, 999);
351: --
352: -- We need to trap the ORA LOCK exception
353: --
354: Exception

Line 360: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');

356: --
357: -- The object is locked therefore we need to supply a meaningful
358: -- error message.
359: --
360: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
361: hr_utility.set_message_token('TABLE_NAME', 'per_collective_agreements');
362: hr_utility.raise_error;
363: End lck;
364: --

Line 361: hr_utility.set_message_token('TABLE_NAME', 'per_collective_agreements');

357: -- The object is locked therefore we need to supply a meaningful
358: -- error message.
359: --
360: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
361: hr_utility.set_message_token('TABLE_NAME', 'per_collective_agreements');
362: hr_utility.raise_error;
363: End lck;
364: --
365: -- ----------------------------------------------------------------------------

Line 362: hr_utility.raise_error;

358: -- error message.
359: --
360: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
361: hr_utility.set_message_token('TABLE_NAME', 'per_collective_agreements');
362: hr_utility.raise_error;
363: End lck;
364: --
365: -- ----------------------------------------------------------------------------
366: -- |-----------------------------< convert_args >-----------------------------|

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

433: l_proc varchar2(72) := g_package||'convert_args';
434: --
435: Begin
436: --
437: hr_utility.set_location('Entering:'||l_proc, 5);
438: --
439: -- Convert arguments into local l_rec structure.
440: --
441: l_rec.collective_agreement_id := p_collective_agreement_id;

Line 503: hr_utility.set_location(' Leaving:'||l_proc, 10);

499: l_rec.attribute20 := p_attribute20;
500: --
501: -- Return the plsql record structure.
502: --
503: hr_utility.set_location(' Leaving:'||l_proc, 10);
504: Return(l_rec);
505: --
506: End convert_args;
507: --