DBA Data[Home] [Help]

APPS.PQH_CER_SHD dependencies on HR_UTILITY

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

10: --
11: l_proc varchar2(72) := g_package||'constraint_error';
12: --
13: Begin
14: hr_utility.set_location('Entering:'||l_proc, 5);
15: --
16: If (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK1') Then
17: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
18: hr_utility.set_message_token('PROCEDURE', l_proc);

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

13: Begin
14: hr_utility.set_location('Entering:'||l_proc, 5);
15: --
16: If (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK1') Then
17: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
18: hr_utility.set_message_token('PROCEDURE', l_proc);
19: hr_utility.set_message_token('STEP','5');
20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') Then

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

14: hr_utility.set_location('Entering:'||l_proc, 5);
15: --
16: If (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK1') Then
17: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
18: hr_utility.set_message_token('PROCEDURE', l_proc);
19: hr_utility.set_message_token('STEP','5');
20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

15: --
16: If (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK1') Then
17: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
18: hr_utility.set_message_token('PROCEDURE', l_proc);
19: hr_utility.set_message_token('STEP','5');
20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 20: hr_utility.raise_error;

16: If (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK1') Then
17: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
18: hr_utility.set_message_token('PROCEDURE', l_proc);
19: hr_utility.set_message_token('STEP','5');
20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') 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','10');

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

18: hr_utility.set_message_token('PROCEDURE', l_proc);
19: hr_utility.set_message_token('STEP','5');
20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') 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','10');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then

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

19: hr_utility.set_message_token('STEP','5');
20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') 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','10');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

20: hr_utility.raise_error;
21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') 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','10');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_FK2') 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','10');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','15');

Line 27: 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','10');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','15');
30: hr_utility.raise_error;
31: Else

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

24: hr_utility.set_message_token('STEP','10');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','15');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 29: hr_utility.set_message_token('STEP','15');

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','15');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_RESULTS_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','15');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','15');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;

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

29: hr_utility.set_message_token('STEP','15');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --

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

30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 35: hr_utility.raise_error;

31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);
39: End constraint_error;

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

34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);
39: End constraint_error;
40: --
41: -- ----------------------------------------------------------------------------
42: -- |-----------------------------< api_updating >-----------------------------|

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

261: l_proc varchar2(72) := g_package||'api_updating';
262: l_fct_ret boolean;
263: --
264: Begin
265: hr_utility.set_location('Entering:'||l_proc, 5);
266: --
267: If (
268: p_copy_entity_result_id is null and
269: p_object_version_number is null

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

277: If (
278: p_copy_entity_result_id = g_old_rec.copy_entity_result_id and
279: p_object_version_number = g_old_rec.object_version_number
280: ) Then
281: hr_utility.set_location(l_proc, 10);
282: --
283: -- The g_old_rec is current therefore we must
284: -- set the returning function to true
285: --

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

294: Close C_Sel1;
295: --
296: -- The primary key is invalid therefore we must error
297: --
298: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
299: hr_utility.raise_error;
300: End If;
301: Close C_Sel1;
302: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 299: hr_utility.raise_error;

295: --
296: -- The primary key is invalid therefore we must error
297: --
298: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
299: hr_utility.raise_error;
300: End If;
301: Close C_Sel1;
302: If (p_object_version_number <> g_old_rec.object_version_number) Then
303: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

299: hr_utility.raise_error;
300: End If;
301: Close C_Sel1;
302: If (p_object_version_number <> g_old_rec.object_version_number) Then
303: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
304: hr_utility.raise_error;
305: End If;
306: hr_utility.set_location(l_proc, 15);
307: l_fct_ret := true;

Line 304: hr_utility.raise_error;

300: End If;
301: Close C_Sel1;
302: If (p_object_version_number <> g_old_rec.object_version_number) Then
303: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
304: hr_utility.raise_error;
305: End If;
306: hr_utility.set_location(l_proc, 15);
307: l_fct_ret := true;
308: End If;

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

302: If (p_object_version_number <> g_old_rec.object_version_number) Then
303: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
304: hr_utility.raise_error;
305: End If;
306: hr_utility.set_location(l_proc, 15);
307: l_fct_ret := true;
308: End If;
309: End If;
310: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

306: hr_utility.set_location(l_proc, 15);
307: l_fct_ret := true;
308: End If;
309: End If;
310: hr_utility.set_location(' Leaving:'||l_proc, 20);
311: Return (l_fct_ret);
312: --
313: End api_updating;
314: --

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

533: --
534: l_proc varchar2(72) := g_package||'lck';
535: --
536: Begin
537: hr_utility.set_location('Entering:'||l_proc, 5);
538: --
539: -- Add any mandatory argument checking here:
540: -- Example:
541: -- hr_api.mandatory_arg_error

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

549: Close C_Sel1;
550: --
551: -- The primary key is invalid therefore we must error
552: --
553: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
554: hr_utility.raise_error;
555: End If;
556: Close C_Sel1;
557: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 554: hr_utility.raise_error;

550: --
551: -- The primary key is invalid therefore we must error
552: --
553: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
554: hr_utility.raise_error;
555: End If;
556: Close C_Sel1;
557: If (p_object_version_number <> g_old_rec.object_version_number) Then
558: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

554: hr_utility.raise_error;
555: End If;
556: Close C_Sel1;
557: If (p_object_version_number <> g_old_rec.object_version_number) Then
558: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
559: hr_utility.raise_error;
560: End If;
561: --
562: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 559: hr_utility.raise_error;

555: End If;
556: Close C_Sel1;
557: If (p_object_version_number <> g_old_rec.object_version_number) Then
558: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
559: hr_utility.raise_error;
560: End If;
561: --
562: hr_utility.set_location(' Leaving:'||l_proc, 10);
563: --

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

558: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
559: hr_utility.raise_error;
560: End If;
561: --
562: hr_utility.set_location(' Leaving:'||l_proc, 10);
563: --
564: -- We need to trap the ORA LOCK exception
565: --
566: Exception

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

568: --
569: -- The object is locked therefore we need to supply a meaningful
570: -- error message.
571: --
572: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
573: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_results');
574: hr_utility.raise_error;
575: End lck;
576: --

Line 573: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_results');

569: -- The object is locked therefore we need to supply a meaningful
570: -- error message.
571: --
572: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
573: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_results');
574: hr_utility.raise_error;
575: End lck;
576: --
577: -- ----------------------------------------------------------------------------

Line 574: hr_utility.raise_error;

570: -- error message.
571: --
572: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
573: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_results');
574: hr_utility.raise_error;
575: End lck;
576: --
577: -- ----------------------------------------------------------------------------
578: -- |-----------------------------< convert_args >-----------------------------|

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

789: l_proc varchar2(72) := g_package||'convert_args';
790: --
791: Begin
792: --
793: hr_utility.set_location('Entering:'||l_proc, 5);
794: --
795: -- Convert arguments into local l_rec structure.
796: --
797: l_rec.copy_entity_result_id := p_copy_entity_result_id;

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

999: l_rec.object_version_number := p_object_version_number;
1000: --
1001: -- Return the plsql record structure.
1002: --
1003: hr_utility.set_location(' Leaving:'||l_proc, 10);
1004: Return(l_rec);
1005: --
1006: End convert_args;
1007: --