DBA Data[Home] [Help]

APPS.GHR_PDI_SHD dependencies on HR_UTILITY

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

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

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

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: Return (nvl(g_api_dml, false));
23: --
24: hr_utility.set_location(' Leaving:'||l_proc, 10);
25: End return_api_dml_status;
26: */
27:
28: --

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

34: --
35: l_proc varchar2(72) := g_package||'constraint_error';
36: --
37: Begin
38: hr_utility.set_location('Entering:'||l_proc, 5);
39: --
40: If (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_PK') Then
41: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
42: hr_utility.set_message_token('PROCEDURE', l_proc);

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

37: Begin
38: hr_utility.set_location('Entering:'||l_proc, 5);
39: --
40: If (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_PK') Then
41: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
42: hr_utility.set_message_token('PROCEDURE', l_proc);
43: hr_utility.set_message_token('STEP','5');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_FK1') Then

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

38: hr_utility.set_location('Entering:'||l_proc, 5);
39: --
40: If (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_PK') Then
41: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
42: hr_utility.set_message_token('PROCEDURE', l_proc);
43: hr_utility.set_message_token('STEP','5');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_FK1') Then
46: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

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

Line 44: hr_utility.raise_error;

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

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

42: hr_utility.set_message_token('PROCEDURE', l_proc);
43: hr_utility.set_message_token('STEP','5');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_FK1') Then
46: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
47: hr_utility.set_message_token('PROCEDURE', l_proc);
48: hr_utility.set_message_token('STEP','5');
49: hr_utility.raise_error;
50: Else

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

43: hr_utility.set_message_token('STEP','5');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_FK1') Then
46: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
47: hr_utility.set_message_token('PROCEDURE', l_proc);
48: hr_utility.set_message_token('STEP','5');
49: hr_utility.raise_error;
50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_FK1') Then
46: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
47: hr_utility.set_message_token('PROCEDURE', l_proc);
48: hr_utility.set_message_token('STEP','5');
49: hr_utility.raise_error;
50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
52: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 49: hr_utility.raise_error;

45: ElsIf (p_constraint_name = 'GHR_POSITION_DESCRIPTIONS_FK1') Then
46: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
47: hr_utility.set_message_token('PROCEDURE', l_proc);
48: hr_utility.set_message_token('STEP','5');
49: hr_utility.raise_error;
50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
52: hr_utility.set_message_token('PROCEDURE', l_proc);
53: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

47: hr_utility.set_message_token('PROCEDURE', l_proc);
48: hr_utility.set_message_token('STEP','5');
49: hr_utility.raise_error;
50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
52: hr_utility.set_message_token('PROCEDURE', l_proc);
53: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
54: hr_utility.raise_error;
55: End If;

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

48: hr_utility.set_message_token('STEP','5');
49: hr_utility.raise_error;
50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
52: hr_utility.set_message_token('PROCEDURE', l_proc);
53: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
54: hr_utility.raise_error;
55: End If;
56: --

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

49: hr_utility.raise_error;
50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
52: hr_utility.set_message_token('PROCEDURE', l_proc);
53: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
54: hr_utility.raise_error;
55: End If;
56: --
57: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 54: hr_utility.raise_error;

50: Else
51: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
52: hr_utility.set_message_token('PROCEDURE', l_proc);
53: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
54: hr_utility.raise_error;
55: End If;
56: --
57: hr_utility.set_location(' Leaving:'||l_proc, 10);
58: End constraint_error;

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

53: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
54: hr_utility.raise_error;
55: End If;
56: --
57: hr_utility.set_location(' Leaving:'||l_proc, 10);
58: End constraint_error;
59: --
60: -- ----------------------------------------------------------------------------
61: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

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

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

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

Line 163: hr_utility.raise_error;

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

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

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

Line 168: hr_utility.raise_error;

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

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

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

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

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

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

242: --
243: l_proc varchar2(72) := g_package||'lck';
244: --
245: Begin
246: hr_utility.set_location('Entering:'||l_proc, 5);
247: --
248: -- Add any mandatory argument checking here:
249: -- Example:
250: -- hr_api.mandatory_arg_error

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

258: Close C_Sel1;
259: --
260: -- The primary key is invalid therefore we must error
261: --
262: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
263: hr_utility.raise_error;
264: End If;
265: Close C_Sel1;
266: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 263: hr_utility.raise_error;

259: --
260: -- The primary key is invalid therefore we must error
261: --
262: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
263: hr_utility.raise_error;
264: End If;
265: Close C_Sel1;
266: If (p_object_version_number <> g_old_rec.object_version_number) Then
267: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

263: hr_utility.raise_error;
264: End If;
265: Close C_Sel1;
266: If (p_object_version_number <> g_old_rec.object_version_number) Then
267: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
268: hr_utility.raise_error;
269: End If;
270: --
271: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 268: hr_utility.raise_error;

264: End If;
265: Close C_Sel1;
266: If (p_object_version_number <> g_old_rec.object_version_number) Then
267: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
268: hr_utility.raise_error;
269: End If;
270: --
271: hr_utility.set_location(' Leaving:'||l_proc, 10);
272: --

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

267: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
268: hr_utility.raise_error;
269: End If;
270: --
271: hr_utility.set_location(' Leaving:'||l_proc, 10);
272: --
273: -- We need to trap the ORA LOCK exception
274: --
275: Exception

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

277: --
278: -- The object is locked therefore we need to supply a meaningful
279: -- error message.
280: --
281: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
282: hr_utility.set_message_token('TABLE_NAME', 'ghr_position_descriptions');
283: hr_utility.raise_error;
284: End lck;
285: --

Line 282: hr_utility.set_message_token('TABLE_NAME', 'ghr_position_descriptions');

278: -- The object is locked therefore we need to supply a meaningful
279: -- error message.
280: --
281: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
282: hr_utility.set_message_token('TABLE_NAME', 'ghr_position_descriptions');
283: hr_utility.raise_error;
284: End lck;
285: --
286: -- ----------------------------------------------------------------------------

Line 283: hr_utility.raise_error;

279: -- error message.
280: --
281: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
282: hr_utility.set_message_token('TABLE_NAME', 'ghr_position_descriptions');
283: hr_utility.raise_error;
284: End lck;
285: --
286: -- ----------------------------------------------------------------------------
287: -- |-----------------------------< convert_args >-----------------------------|

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

343: l_proc varchar2(72) := g_package||'convert_args';
344: --
345: Begin
346: --
347: hr_utility.set_location('Entering:'||l_proc, 5);
348: --
349: -- Convert arguments into local l_rec structure.
350: --
351: l_rec.position_description_id := p_position_description_id;

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

398: l_rec.object_version_number := p_object_version_number;
399: --
400: -- Return the plsql record structure.
401: --
402: hr_utility.set_location(' Leaving:'||l_proc, 10);
403: Return(l_rec);
404: --
405: End convert_args;
406: --