DBA Data[Home] [Help]

APPS.OTA_TSP_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 = 'OTA_SKILL_PROVISIONS_PK') 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 = 'OTA_SKILL_PROVISIONS_PK') 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 = 'OTA_TSP_TYPE_CHK') 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 = 'OTA_SKILL_PROVISIONS_PK') 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 = 'OTA_TSP_TYPE_CHK') 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 = 'OTA_SKILL_PROVISIONS_PK') 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 = 'OTA_TSP_TYPE_CHK') 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 = 'OTA_SKILL_PROVISIONS_PK') 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 = 'OTA_TSP_TYPE_CHK') 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 = 'OTA_TSP_TYPE_CHK') 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: Else

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 = 'OTA_TSP_TYPE_CHK') 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: Else
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 = 'OTA_TSP_TYPE_CHK') 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: Else
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 = 'OTA_TSP_TYPE_CHK') 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: Else
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: Else
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: End If;

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

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
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: End If;
52: --

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

45: hr_utility.raise_error;
46: Else
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: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 50: hr_utility.raise_error;

46: Else
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: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;

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

49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;
55: --
56: -- ----------------------------------------------------------------------------
57: -- |-----------------------------< 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_skill_provision_id is null and
108: p_object_version_number is null

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

116: If (
117: p_skill_provision_id = g_old_rec.skill_provision_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 200: hr_utility.set_location('Entering:'||l_proc, 5);

196: --
197: l_proc varchar2(72) := g_package||'lck';
198: --
199: Begin
200: hr_utility.set_location('Entering:'||l_proc, 5);
201: --
202: -- Add any mandatory argument checking here:
203: -- Example:
204: -- hr_api.mandatory_arg_error

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

212: Close C_Sel1;
213: --
214: -- The primary key is invalid therefore we must error
215: --
216: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 217: hr_utility.raise_error;

213: --
214: -- The primary key is invalid therefore we must error
215: --
216: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then
221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then
221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
222: hr_utility.raise_error;
223: End If;
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 222: hr_utility.raise_error;

218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then
221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
222: hr_utility.raise_error;
223: End If;
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);
226: --

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

221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
222: hr_utility.raise_error;
223: End If;
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);
226: --
227: -- We need to trap the ORA LOCK exception
228: --
229: Exception

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

231: --
232: -- The object is locked therefore we need to supply a meaningful
233: -- error message.
234: --
235: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
236: hr_utility.set_message_token('TABLE_NAME', 'ota_skill_provisions');
237: hr_utility.raise_error;
238: End lck;
239: --

Line 236: hr_utility.set_message_token('TABLE_NAME', 'ota_skill_provisions');

232: -- The object is locked therefore we need to supply a meaningful
233: -- error message.
234: --
235: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
236: hr_utility.set_message_token('TABLE_NAME', 'ota_skill_provisions');
237: hr_utility.raise_error;
238: End lck;
239: --
240: -- ----------------------------------------------------------------------------

Line 237: hr_utility.raise_error;

233: -- error message.
234: --
235: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
236: hr_utility.set_message_token('TABLE_NAME', 'ota_skill_provisions');
237: hr_utility.raise_error;
238: End lck;
239: --
240: -- ----------------------------------------------------------------------------
241: -- |-----------------------------< convert_args >-----------------------------|

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

276: l_proc varchar2(72) := g_package||'convert_args';
277: --
278: Begin
279: --
280: hr_utility.set_location('Entering:'||l_proc, 5);
281: --
282: -- Convert arguments into local l_rec structure.
283: --
284: l_rec.skill_provision_id := p_skill_provision_id;

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

310: l_rec.analysis_criteria_id := p_analysis_criteria_id;
311: --
312: -- Return the plsql record structure.
313: --
314: hr_utility.set_location(' Leaving:'||l_proc, 10);
315: Return(l_rec);
316: --
317: End convert_args;
318: --

Line 368: hr_utility.set_location('Entering:'||v_proc, 5);

364: where activity_version_id = p_activity_version_from;
365: --
366: Begin
367: --
368: hr_utility.set_location('Entering:'||v_proc, 5);
369: --
370: Open sel_skill;
371: Fetch sel_skill into
372: l_rec.skill_provision_id,

Line 465: hr_utility.set_location('Leaving:'||v_proc, 10);

461: End Loop;
462: --
463: Close sel_skill;
464: --
465: hr_utility.set_location('Leaving:'||v_proc, 10);
466: --
467: End copy_skill;
468: --
469: end ota_tsp_shd;