DBA Data[Home] [Help]

APPS.OTA_TFL_API_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_FINANCE_LINES_FK1') Then
37: fnd_message.set_name('OTA','OTA_13369_TFL_INVALID_FK');
38: fnd_message.set_token('STEP','1');

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

97: ElsIf (p_constraint_name = 'OTA_TFL_CHECK_OTHER_ATTR') Then
98: fnd_message.set_name('OTA','Invalid-attributes');
99: fnd_message.raise_error;
100: Else
101: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
102: hr_utility.set_message_token('PROCEDURE', l_proc);
103: hr_utility.set_message_token('STEP',p_constraint_name);
104: hr_utility.raise_error;
105: End If;

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

98: fnd_message.set_name('OTA','Invalid-attributes');
99: fnd_message.raise_error;
100: Else
101: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
102: hr_utility.set_message_token('PROCEDURE', l_proc);
103: hr_utility.set_message_token('STEP',p_constraint_name);
104: hr_utility.raise_error;
105: End If;
106: --

Line 103: hr_utility.set_message_token('STEP',p_constraint_name);

99: fnd_message.raise_error;
100: Else
101: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
102: hr_utility.set_message_token('PROCEDURE', l_proc);
103: hr_utility.set_message_token('STEP',p_constraint_name);
104: hr_utility.raise_error;
105: End If;
106: --
107: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 104: hr_utility.raise_error;

100: Else
101: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
102: hr_utility.set_message_token('PROCEDURE', l_proc);
103: hr_utility.set_message_token('STEP',p_constraint_name);
104: hr_utility.raise_error;
105: End If;
106: --
107: hr_utility.set_location(' Leaving:'||l_proc, 10);
108: End constraint_error;

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

103: hr_utility.set_message_token('STEP',p_constraint_name);
104: hr_utility.raise_error;
105: End If;
106: --
107: hr_utility.set_location(' Leaving:'||l_proc, 10);
108: End constraint_error;
109: --
110: -- ----------------------------------------------------------------------------
111: -- |-----------------------------< api_updating >-----------------------------|

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

188: l_proc varchar2(72) := g_package||'api_updating';
189: l_fct_ret boolean;
190: --
191: Begin
192: hr_utility.set_location('Entering:'||l_proc, 5);
193: --
194: If (
195: p_finance_line_id is null and
196: p_object_version_number is null

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

204: If (
205: p_finance_line_id = g_old_rec.finance_line_id and
206: p_object_version_number = g_old_rec.object_version_number
207: ) Then
208: hr_utility.set_location(l_proc, 10);
209: --
210: -- The g_old_rec is current therefore we must
211: -- set the returning function to true
212: --

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

221: Close C_Sel1;
222: --
223: -- The primary key is invalid therefore we must error
224: --
225: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
226: hr_utility.raise_error;
227: End If;
228: Close C_Sel1;
229: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 226: hr_utility.raise_error;

222: --
223: -- The primary key is invalid therefore we must error
224: --
225: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
226: hr_utility.raise_error;
227: End If;
228: Close C_Sel1;
229: If (p_object_version_number <> g_old_rec.object_version_number) Then
230: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

226: hr_utility.raise_error;
227: End If;
228: Close C_Sel1;
229: If (p_object_version_number <> g_old_rec.object_version_number) Then
230: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
231: hr_utility.raise_error;
232: End If;
233: hr_utility.set_location(l_proc, 15);
234: l_fct_ret := true;

Line 231: hr_utility.raise_error;

227: End If;
228: Close C_Sel1;
229: If (p_object_version_number <> g_old_rec.object_version_number) Then
230: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
231: hr_utility.raise_error;
232: End If;
233: hr_utility.set_location(l_proc, 15);
234: l_fct_ret := true;
235: End If;

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

229: If (p_object_version_number <> g_old_rec.object_version_number) Then
230: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
231: hr_utility.raise_error;
232: End If;
233: hr_utility.set_location(l_proc, 15);
234: l_fct_ret := true;
235: End If;
236: End If;
237: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

233: hr_utility.set_location(l_proc, 15);
234: l_fct_ret := true;
235: End If;
236: End If;
237: hr_utility.set_location(' Leaving:'||l_proc, 20);
238: Return (l_fct_ret);
239: --
240: End api_updating;
241: --

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

318: --
319: l_proc varchar2(72) := g_package||'lck';
320: --
321: Begin
322: hr_utility.set_location('Entering:'||l_proc, 5);
323: --
324: -- Add any mandatory argument checking here:
325: -- Example:
326: -- hr_api.mandatory_arg_error

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

334: Close C_Sel1;
335: --
336: -- The primary key is invalid therefore we must error
337: --
338: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
339: hr_utility.raise_error;
340: End If;
341: Close C_Sel1;
342: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 339: hr_utility.raise_error;

335: --
336: -- The primary key is invalid therefore we must error
337: --
338: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
339: hr_utility.raise_error;
340: End If;
341: Close C_Sel1;
342: If (p_object_version_number <> g_old_rec.object_version_number) Then
343: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

339: hr_utility.raise_error;
340: End If;
341: Close C_Sel1;
342: If (p_object_version_number <> g_old_rec.object_version_number) Then
343: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
344: hr_utility.raise_error;
345: End If;
346: --
347: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 344: hr_utility.raise_error;

340: End If;
341: Close C_Sel1;
342: If (p_object_version_number <> g_old_rec.object_version_number) Then
343: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
344: hr_utility.raise_error;
345: End If;
346: --
347: hr_utility.set_location(' Leaving:'||l_proc, 10);
348: --

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

343: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
344: hr_utility.raise_error;
345: End If;
346: --
347: hr_utility.set_location(' Leaving:'||l_proc, 10);
348: --
349: -- We need to trap the ORA LOCK exception
350: --
351: Exception

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

353: --
354: -- The object is locked therefore we need to supply a meaningful
355: -- error message.
356: --
357: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
358: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_lines');
359: hr_utility.raise_error;
360: End lck;
361: --

Line 358: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_lines');

354: -- The object is locked therefore we need to supply a meaningful
355: -- error message.
356: --
357: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
358: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_lines');
359: hr_utility.raise_error;
360: End lck;
361: --
362: -- ----------------------------------------------------------------------------

Line 359: hr_utility.raise_error;

355: -- error message.
356: --
357: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
358: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_lines');
359: hr_utility.raise_error;
360: End lck;
361: --
362: -- ----------------------------------------------------------------------------
363: -- |-----------------------------< convert_args >-----------------------------|

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

432: l_proc varchar2(72) := g_package||'convert_args';
433: --
434: Begin
435: --
436: hr_utility.set_location('Entering:'||l_proc, 5);
437: --
438: -- Convert arguments into local l_rec structure.
439: --
440: l_rec.finance_line_id := p_finance_line_id;

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

500: l_rec.tfl_information20 := p_tfl_information20;
501: --
502: -- Return the plsql record structure.
503: --
504: hr_utility.set_location(' Leaving:'||l_proc, 10);
505: Return(l_rec);
506: --
507: End convert_args;
508: --