DBA Data[Home] [Help]

APPS.HR_PAC_SHD dependencies on HR_UTILITY

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

14: --
15: l_proc varchar2(72) := g_package||'return_api_dml_status';
16: --
17: Begin
18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);
23: End return_api_dml_status;
24: --
25: -- ----------------------------------------------------------------------------
26: -- |---------------------------< constraint_error >---------------------------|

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

30: --
31: l_proc varchar2(72) := g_package||'constraint_error';
32: --
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_PAC_PAB_FK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_PAC_PAB_FK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then

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

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_PAC_PAB_FK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

35: --
36: If (p_constraint_name = 'HR_PAC_PAB_FK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'HR_PAC_PAB_FK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

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

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'HR_PAC_PAB_PAT_ARC') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');

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

43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then

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

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'HR_PAC_PAT_01_FK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');

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

48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then

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

49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 55: hr_utility.raise_error;

51: ElsIf (p_constraint_name = 'HR_PAC_PAT_02_FK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');

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

53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then

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

54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 60: hr_utility.raise_error;

56: ElsIf (p_constraint_name = 'HR_PAC_PAT_AVAILABILITY') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');

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

58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: Else

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

59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
68: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 65: hr_utility.raise_error;

61: ElsIf (p_constraint_name = 'HR_PAC_SEQUENCE_POSITIVE') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
70: hr_utility.raise_error;
71: End If;

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

64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
70: hr_utility.raise_error;
71: End If;
72: --

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

65: hr_utility.raise_error;
66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
70: hr_utility.raise_error;
71: End If;
72: --
73: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 70: hr_utility.raise_error;

66: Else
67: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
70: hr_utility.raise_error;
71: End If;
72: --
73: hr_utility.set_location(' Leaving:'||l_proc, 10);
74: End constraint_error;

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

69: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
70: hr_utility.raise_error;
71: End If;
72: --
73: hr_utility.set_location(' Leaving:'||l_proc, 10);
74: End constraint_error;
75: --
76: -- ----------------------------------------------------------------------------
77: -- |-----------------------------< api_updating >-----------------------------|

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

100: l_proc varchar2(72) := g_package||'api_updating';
101: l_fct_ret boolean;
102: --
103: Begin
104: hr_utility.set_location('Entering:'||l_proc, 5);
105: --
106: If (
107: p_pattern_construction_id is null and
108: p_object_version_number is null

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

116: If (
117: p_pattern_construction_id = g_old_rec.pattern_construction_id and
118: p_object_version_number = g_old_rec.object_version_number
119: ) Then
120: hr_utility.set_location(l_proc, 10);
121: --
122: -- The g_old_rec is current therefore we must
123: -- set the returning function to true
124: --

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

133: Close C_Sel1;
134: --
135: -- The primary key is invalid therefore we must error
136: --
137: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 138: hr_utility.raise_error;

134: --
135: -- The primary key is invalid therefore we must error
136: --
137: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
143: hr_utility.raise_error;
144: End If;
145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;

Line 143: hr_utility.raise_error;

139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
143: hr_utility.raise_error;
144: End If;
145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;
147: End If;

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

141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
143: hr_utility.raise_error;
144: End If;
145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;
147: End If;
148: End If;
149: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;
147: End If;
148: End If;
149: hr_utility.set_location(' Leaving:'||l_proc, 20);
150: Return (l_fct_ret);
151: --
152: End api_updating;
153: --

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

176: --
177: l_proc varchar2(72) := g_package||'lck';
178: --
179: Begin
180: hr_utility.set_location('Entering:'||l_proc, 5);
181: --
182: -- Add any mandatory argument checking here:
183: -- Example:
184: -- hr_api.mandatory_arg_error

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

192: Close C_Sel1;
193: --
194: -- The primary key is invalid therefore we must error
195: --
196: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
197: hr_utility.raise_error;
198: End If;
199: Close C_Sel1;
200: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 197: hr_utility.raise_error;

193: --
194: -- The primary key is invalid therefore we must error
195: --
196: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
197: hr_utility.raise_error;
198: End If;
199: Close C_Sel1;
200: If (p_object_version_number <> g_old_rec.object_version_number) Then
201: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

197: hr_utility.raise_error;
198: End If;
199: Close C_Sel1;
200: If (p_object_version_number <> g_old_rec.object_version_number) Then
201: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
202: hr_utility.raise_error;
203: End If;
204: --
205: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 202: hr_utility.raise_error;

198: End If;
199: Close C_Sel1;
200: If (p_object_version_number <> g_old_rec.object_version_number) Then
201: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
202: hr_utility.raise_error;
203: End If;
204: --
205: hr_utility.set_location(' Leaving:'||l_proc, 10);
206: --

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

201: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
202: hr_utility.raise_error;
203: End If;
204: --
205: hr_utility.set_location(' Leaving:'||l_proc, 10);
206: --
207: -- We need to trap the ORA LOCK exception
208: --
209: Exception

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

211: --
212: -- The object is locked therefore we need to supply a meaningful
213: -- error message.
214: --
215: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
216: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_constructions');
217: hr_utility.raise_error;
218: End lck;
219: --

Line 216: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_constructions');

212: -- The object is locked therefore we need to supply a meaningful
213: -- error message.
214: --
215: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
216: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_constructions');
217: hr_utility.raise_error;
218: End lck;
219: --
220: -- ----------------------------------------------------------------------------

Line 217: hr_utility.raise_error;

213: -- error message.
214: --
215: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
216: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_constructions');
217: hr_utility.raise_error;
218: End lck;
219: --
220: -- ----------------------------------------------------------------------------
221: -- |-----------------------------< convert_args >-----------------------------|

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

236: l_proc varchar2(72) := g_package||'convert_args';
237: --
238: Begin
239: --
240: hr_utility.set_location('Entering:'||l_proc, 5);
241: --
242: -- Convert arguments into local l_rec structure.
243: --
244: l_rec.pattern_construction_id := p_pattern_construction_id;

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

250: l_rec.object_version_number := p_object_version_number;
251: --
252: -- Return the plsql record structure.
253: --
254: hr_utility.set_location(' Leaving:'||l_proc, 10);
255: Return(l_rec);
256: --
257: End convert_args;
258: --