DBA Data[Home] [Help]

APPS.GHR_NLA_SHD dependencies on HR_UTILITY

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

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

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

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

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

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

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

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

Line 27: hr_utility.raise_error;

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

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

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

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

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

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

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

Line 32: hr_utility.raise_error;

28: ElsIf (p_constraint_name = 'GHR_NOAC_LAS_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('STEP','10');
32: hr_utility.raise_error;
33: Else
34: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
35: hr_utility.set_message_token('PROCEDURE', l_proc);
36: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 37: hr_utility.raise_error;

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

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

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

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

70: l_fct_ret boolean;
71: --
72: Begin
73: l_proc := g_package||'api_updating';
74: hr_utility.set_location('Entering:'||l_proc, 5);
75: --
76: If (
77: p_noac_la_id is null and
78: p_object_version_number is null

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

86: If (
87: p_noac_la_id = g_old_rec.noac_la_id and
88: p_object_version_number = g_old_rec.object_version_number
89: ) Then
90: hr_utility.set_location(l_proc, 10);
91: --
92: -- The g_old_rec is current therefore we must
93: -- set the returning function to true
94: --

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

103: Close C_Sel1;
104: --
105: -- The primary key is invalid therefore we must error
106: --
107: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
108: hr_utility.raise_error;
109: End If;
110: Close C_Sel1;
111: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 108: hr_utility.raise_error;

104: --
105: -- The primary key is invalid therefore we must error
106: --
107: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
108: hr_utility.raise_error;
109: End If;
110: Close C_Sel1;
111: If (p_object_version_number <> g_old_rec.object_version_number) Then
112: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

108: hr_utility.raise_error;
109: End If;
110: Close C_Sel1;
111: If (p_object_version_number <> g_old_rec.object_version_number) Then
112: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
113: hr_utility.raise_error;
114: End If;
115: hr_utility.set_location(l_proc, 15);
116: l_fct_ret := true;

Line 113: hr_utility.raise_error;

109: End If;
110: Close C_Sel1;
111: If (p_object_version_number <> g_old_rec.object_version_number) Then
112: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
113: hr_utility.raise_error;
114: End If;
115: hr_utility.set_location(l_proc, 15);
116: l_fct_ret := true;
117: End If;

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

111: If (p_object_version_number <> g_old_rec.object_version_number) Then
112: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
113: hr_utility.raise_error;
114: End If;
115: hr_utility.set_location(l_proc, 15);
116: l_fct_ret := true;
117: End If;
118: End If;
119: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

115: hr_utility.set_location(l_proc, 15);
116: l_fct_ret := true;
117: End If;
118: End If;
119: hr_utility.set_location(' Leaving:'||l_proc, 20);
120: Return (l_fct_ret);
121: --
122: End api_updating;
123: --

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

149: l_proc varchar2(72);
150: --
151: Begin
152: l_proc := g_package||'lck';
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: -- Add any mandatory argument checking here:
156: -- Example:
157: -- hr_api.mandatory_arg_error

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

165: Close C_Sel1;
166: --
167: -- The primary key is invalid therefore we must error
168: --
169: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
170: hr_utility.raise_error;
171: End If;
172: Close C_Sel1;
173: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 170: hr_utility.raise_error;

166: --
167: -- The primary key is invalid therefore we must error
168: --
169: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
170: hr_utility.raise_error;
171: End If;
172: Close C_Sel1;
173: If (p_object_version_number <> g_old_rec.object_version_number) Then
174: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

170: hr_utility.raise_error;
171: End If;
172: Close C_Sel1;
173: If (p_object_version_number <> g_old_rec.object_version_number) Then
174: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
175: hr_utility.raise_error;
176: End If;
177: --
178: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 175: hr_utility.raise_error;

171: End If;
172: Close C_Sel1;
173: If (p_object_version_number <> g_old_rec.object_version_number) Then
174: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
175: hr_utility.raise_error;
176: End If;
177: --
178: hr_utility.set_location(' Leaving:'||l_proc, 10);
179: --

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

174: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
175: hr_utility.raise_error;
176: End If;
177: --
178: hr_utility.set_location(' Leaving:'||l_proc, 10);
179: --
180: -- We need to trap the ORA LOCK exception
181: --
182: Exception

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

184: --
185: -- The object is locked therefore we need to supply a meaningful
186: -- error message.
187: --
188: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
189: hr_utility.set_message_token('TABLE_NAME', 'ghr_noac_las');
190: hr_utility.raise_error;
191: End lck;
192: --

Line 189: hr_utility.set_message_token('TABLE_NAME', 'ghr_noac_las');

185: -- The object is locked therefore we need to supply a meaningful
186: -- error message.
187: --
188: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
189: hr_utility.set_message_token('TABLE_NAME', 'ghr_noac_las');
190: hr_utility.raise_error;
191: End lck;
192: --
193: -- ----------------------------------------------------------------------------

Line 190: hr_utility.raise_error;

186: -- error message.
187: --
188: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
189: hr_utility.set_message_token('TABLE_NAME', 'ghr_noac_las');
190: hr_utility.raise_error;
191: End lck;
192: --
193: -- ----------------------------------------------------------------------------
194: -- |-----------------------------< convert_args >-----------------------------|

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

212: --
213: Begin
214: --
215: l_proc := g_package||'convert_args';
216: hr_utility.set_location('Entering:'||l_proc, 5);
217: --
218: -- Convert arguments into local l_rec structure.
219: --
220: l_rec.noac_la_id := p_noac_la_id;

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

228: l_rec.valid_second_lac_flag := p_valid_second_lac_flag;
229: --
230: -- Return the plsql record structure.
231: --
232: hr_utility.set_location(' Leaving:'||l_proc, 10);
233: Return(l_rec);
234: --
235: End convert_args;
236: --