DBA Data[Home] [Help]

APPS.GHR_REI_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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK1') 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK1') 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK1') 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

20: --
21: If (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_FK1') 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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: If (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_FK1') 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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','10');

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','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_PK') Then

Line 28: 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 = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_FK2') 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','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');

Line 32: 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','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'GHR_PA_REQUEST_EXTRA_INFO_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: Else

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

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

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

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

Line 35: hr_utility.raise_error;

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

Line 37: 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('STEP','15');
35: hr_utility.raise_error;
36: Else
37: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;

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

34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: Else
37: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;
42: --

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

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

Line 40: hr_utility.raise_error;

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

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

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

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

123: l_proc varchar2(72) := g_package||'api_updating';
124: l_fct_ret boolean;
125: --
126: Begin
127: hr_utility.set_location('Entering:'||l_proc, 5);
128: --
129: If (
130: p_pa_request_extra_info_id is null and
131: p_object_version_number is null

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

139: If (
140: p_pa_request_extra_info_id = g_old_rec.pa_request_extra_info_id and
141: p_object_version_number = g_old_rec.object_version_number
142: ) Then
143: hr_utility.set_location(l_proc, 10);
144: --
145: -- The g_old_rec is current therefore we must
146: -- set the returning function to true
147: --

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

156: Close C_Sel1;
157: --
158: -- The primary key is invalid therefore we must error
159: --
160: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 161: hr_utility.raise_error;

157: --
158: -- The primary key is invalid therefore we must error
159: --
160: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;

Line 166: hr_utility.raise_error;

162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;

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

164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);
173: Return (l_fct_ret);
174: --
175: End api_updating;
176: --

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

252: --
253: l_proc varchar2(72) := g_package||'lck';
254: --
255: Begin
256: hr_utility.set_location('Entering:'||l_proc, 5);
257: --
258: -- Add any mandatory argument checking here:
259: -- Example:
260: -- hr_api.mandatory_arg_error

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

268: Close C_Sel1;
269: --
270: -- The primary key is invalid therefore we must error
271: --
272: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
273: hr_utility.raise_error;
274: End If;
275: Close C_Sel1;
276: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 273: hr_utility.raise_error;

269: --
270: -- The primary key is invalid therefore we must error
271: --
272: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
273: hr_utility.raise_error;
274: End If;
275: Close C_Sel1;
276: If (p_object_version_number <> g_old_rec.object_version_number) Then
277: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

273: hr_utility.raise_error;
274: End If;
275: Close C_Sel1;
276: If (p_object_version_number <> g_old_rec.object_version_number) Then
277: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
278: hr_utility.raise_error;
279: End If;
280: --
281: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 278: hr_utility.raise_error;

274: End If;
275: Close C_Sel1;
276: If (p_object_version_number <> g_old_rec.object_version_number) Then
277: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
278: hr_utility.raise_error;
279: End If;
280: --
281: hr_utility.set_location(' Leaving:'||l_proc, 10);
282: --

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

277: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
278: hr_utility.raise_error;
279: End If;
280: --
281: hr_utility.set_location(' Leaving:'||l_proc, 10);
282: --
283: -- We need to trap the ORA LOCK exception
284: --
285: Exception

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

287: --
288: -- The object is locked therefore we need to supply a meaningful
289: -- error message.
290: --
291: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
292: hr_utility.set_message_token('TABLE_NAME', 'ghr_ogh_pa_request_extra_info');
293:
294: hr_utility.raise_error;
295: End lck;

Line 292: hr_utility.set_message_token('TABLE_NAME', 'ghr_ogh_pa_request_extra_info');

288: -- The object is locked therefore we need to supply a meaningful
289: -- error message.
290: --
291: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
292: hr_utility.set_message_token('TABLE_NAME', 'ghr_ogh_pa_request_extra_info');
293:
294: hr_utility.raise_error;
295: End lck;
296: --

Line 294: hr_utility.raise_error;

290: --
291: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
292: hr_utility.set_message_token('TABLE_NAME', 'ghr_ogh_pa_request_extra_info');
293:
294: hr_utility.raise_error;
295: End lck;
296: --
297: -- ----------------------------------------------------------------------------
298: -- |-----------------------------< convert_args >-----------------------------|

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

366: l_proc varchar2(72) := g_package||'convert_args';
367: --
368: Begin
369: --
370: hr_utility.set_location('Entering:'||l_proc, 5);
371: --
372: -- Convert arguments into local l_rec structure.
373: --
374: l_rec.pa_request_extra_info_id := p_pa_request_extra_info_id;

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

433: l_rec.program_update_date := p_program_update_date;
434: --
435: -- Return the plsql record structure.
436: --
437: hr_utility.set_location(' Leaving:'||l_proc, 10);
438: Return(l_rec);
439: --
440: End convert_args;
441: --