DBA Data[Home] [Help]

APPS.PER_RTL_SHD dependencies on HR_UTILITY

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

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

Line 23: hr_utility.set_message(801, 'HR_51471_RTL_RSC_NOT_EXIST');

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

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

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PER_RATING_LEVELS_FK1') Then
23: hr_utility.set_message(801, 'HR_51471_RTL_RSC_NOT_EXIST');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

21: --
22: If (p_constraint_name = 'PER_RATING_LEVELS_FK1') Then
23: hr_utility.set_message(801, 'HR_51471_RTL_RSC_NOT_EXIST');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 26: hr_utility.raise_error;

22: If (p_constraint_name = 'PER_RATING_LEVELS_FK1') Then
23: hr_utility.set_message(801, 'HR_51471_RTL_RSC_NOT_EXIST');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');

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

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

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

25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');

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

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');
34: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 31: hr_utility.raise_error;

27: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');

Line 33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');

29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then

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

30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 36: hr_utility.raise_error;

32: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_FK3') Then
33: hr_utility.set_message(801, 'HR_51472_RTL_CPN_NOT_EXIST');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');

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

34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then

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

35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');

Line 40: hr_utility.set_message_token('STEP','20');

36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');
44: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 41: hr_utility.raise_error;

37: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_PK') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');

Line 43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');

39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: --

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

40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: --
48: -- pmfletch. Name is now a coded check via TL row handler

Line 45: hr_utility.set_message_token('STEP','25');

41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: --
48: -- pmfletch. Name is now a coded check via TL row handler
49: --

Line 46: hr_utility.raise_error;

42: ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK2') Then
43: hr_utility.set_message(801, 'HR_51477_RTL_STEP_NOT_UNIQUE');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: --
48: -- pmfletch. Name is now a coded check via TL row handler
49: --
50: -- ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK3') Then

Line 51: -- hr_utility.set_message(801, 'HR_51474_RTL_NOT_UNIQUE');

47: --
48: -- pmfletch. Name is now a coded check via TL row handler
49: --
50: -- ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK3') Then
51: -- hr_utility.set_message(801, 'HR_51474_RTL_NOT_UNIQUE');
52: -- hr_utility.set_message_token('PROCEDURE', l_proc);
53: -- hr_utility.set_message_token('STEP','30');
54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then

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

48: -- pmfletch. Name is now a coded check via TL row handler
49: --
50: -- ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK3') Then
51: -- hr_utility.set_message(801, 'HR_51474_RTL_NOT_UNIQUE');
52: -- hr_utility.set_message_token('PROCEDURE', l_proc);
53: -- hr_utility.set_message_token('STEP','30');
54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');

Line 53: -- hr_utility.set_message_token('STEP','30');

49: --
50: -- ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK3') Then
51: -- hr_utility.set_message(801, 'HR_51474_RTL_NOT_UNIQUE');
52: -- hr_utility.set_message_token('PROCEDURE', l_proc);
53: -- hr_utility.set_message_token('STEP','30');
54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');
57: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 54: -- hr_utility.raise_error;

50: -- ElsIf (p_constraint_name = 'PER_RATING_LEVELS_UK3') Then
51: -- hr_utility.set_message(801, 'HR_51474_RTL_NOT_UNIQUE');
52: -- hr_utility.set_message_token('PROCEDURE', l_proc);
53: -- hr_utility.set_message_token('STEP','30');
54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');
57: hr_utility.set_message_token('PROCEDURE', l_proc);
58: hr_utility.set_message_token('STEP','35');

Line 56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');

52: -- hr_utility.set_message_token('PROCEDURE', l_proc);
53: -- hr_utility.set_message_token('STEP','30');
54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');
57: hr_utility.set_message_token('PROCEDURE', l_proc);
58: hr_utility.set_message_token('STEP','35');
59: hr_utility.raise_error;
60: Else

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

53: -- hr_utility.set_message_token('STEP','30');
54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');
57: hr_utility.set_message_token('PROCEDURE', l_proc);
58: hr_utility.set_message_token('STEP','35');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 58: hr_utility.set_message_token('STEP','35');

54: -- hr_utility.raise_error;
55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');
57: hr_utility.set_message_token('PROCEDURE', l_proc);
58: hr_utility.set_message_token('STEP','35');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 59: hr_utility.raise_error;

55: ElsIf (p_constraint_name = 'PER_RTL_CPN_OR_RSC_CHK') Then
56: hr_utility.set_message(801, 'HR_51482_RTL_RSC_OR_CPN');
57: hr_utility.set_message_token('PROCEDURE', l_proc);
58: hr_utility.set_message_token('STEP','35');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

57: hr_utility.set_message_token('PROCEDURE', l_proc);
58: hr_utility.set_message_token('STEP','35');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;

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

58: hr_utility.set_message_token('STEP','35');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --

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

59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 64: hr_utility.raise_error;

60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: End constraint_error;

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

63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: End constraint_error;
69: --
70: -- ----------------------------------------------------------------------------
71: -- |-----------------------------< api_updating >-----------------------------|

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

116: l_proc varchar2(72) := g_package||'api_updating';
117: l_fct_ret boolean;
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: If (
123: p_rating_level_id is null and
124: p_object_version_number is null

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

132: If (
133: p_rating_level_id = g_old_rec.rating_level_id and
134: p_object_version_number = g_old_rec.object_version_number
135: ) Then
136: hr_utility.set_location(l_proc, 10);
137: --
138: -- The g_old_rec is current therefore we must
139: -- set the returning function to true
140: --

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

149: Close C_Sel1;
150: --
151: -- The primary key is invalid therefore we must error
152: --
153: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
154: hr_utility.raise_error;
155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 154: hr_utility.raise_error;

150: --
151: -- The primary key is invalid therefore we must error
152: --
153: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
154: hr_utility.raise_error;
155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

154: hr_utility.raise_error;
155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
159: hr_utility.raise_error;
160: End If;
161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;

Line 159: hr_utility.raise_error;

155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
159: hr_utility.raise_error;
160: End If;
161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;

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

157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
159: hr_utility.raise_error;
160: End If;
161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;
164: End If;
165: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;
164: End If;
165: hr_utility.set_location(' Leaving:'||l_proc, 20);
166: Return (l_fct_ret);
167: --
168: End api_updating;
169: --

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

214: --
215: l_proc varchar2(72) := g_package||'lck';
216: --
217: Begin
218: hr_utility.set_location('Entering:'||l_proc, 5);
219: --
220: -- Add any mandatory argument checking here:
221: -- Example:
222: -- hr_api.mandatory_arg_error

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

230: Close C_Sel1;
231: --
232: -- The primary key is invalid therefore we must error
233: --
234: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
235: hr_utility.raise_error;
236: End If;
237: Close C_Sel1;
238: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 235: hr_utility.raise_error;

231: --
232: -- The primary key is invalid therefore we must error
233: --
234: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
235: hr_utility.raise_error;
236: End If;
237: Close C_Sel1;
238: If (p_object_version_number <> g_old_rec.object_version_number) Then
239: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

235: hr_utility.raise_error;
236: End If;
237: Close C_Sel1;
238: If (p_object_version_number <> g_old_rec.object_version_number) Then
239: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
240: hr_utility.raise_error;
241: End If;
242: --
243: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 240: hr_utility.raise_error;

236: End If;
237: Close C_Sel1;
238: If (p_object_version_number <> g_old_rec.object_version_number) Then
239: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
240: hr_utility.raise_error;
241: End If;
242: --
243: hr_utility.set_location(' Leaving:'||l_proc, 10);
244: --

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

239: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
240: hr_utility.raise_error;
241: End If;
242: --
243: hr_utility.set_location(' Leaving:'||l_proc, 10);
244: --
245: -- We need to trap the ORA LOCK exception
246: --
247: Exception

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

249: --
250: -- The object is locked therefore we need to supply a meaningful
251: -- error message.
252: --
253: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
254: hr_utility.set_message_token('TABLE_NAME', 'per_rating_levels');
255: hr_utility.raise_error;
256: End lck;
257: --

Line 254: hr_utility.set_message_token('TABLE_NAME', 'per_rating_levels');

250: -- The object is locked therefore we need to supply a meaningful
251: -- error message.
252: --
253: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
254: hr_utility.set_message_token('TABLE_NAME', 'per_rating_levels');
255: hr_utility.raise_error;
256: End lck;
257: --
258: -- ----------------------------------------------------------------------------

Line 255: hr_utility.raise_error;

251: -- error message.
252: --
253: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
254: hr_utility.set_message_token('TABLE_NAME', 'per_rating_levels');
255: hr_utility.raise_error;
256: End lck;
257: --
258: -- ----------------------------------------------------------------------------
259: -- |-----------------------------< convert_args >-----------------------------|

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

296: l_proc varchar2(72) := g_package||'convert_args';
297: --
298: Begin
299: --
300: hr_utility.set_location('Entering:'||l_proc, 5);
301: --
302: -- Convert arguments into local l_rec structure.
303: --
304: l_rec.rating_level_id := p_rating_level_id;

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

332: l_rec.behavioural_indicator := p_behavioural_indicator;
333: --
334: -- Return the plsql record structure.
335: --
336: hr_utility.set_location(' Leaving:'||l_proc, 10);
337: Return(l_rec);
338: --
339: End convert_args;
340: --