DBA Data[Home] [Help]

APPS.OTA_TFH_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_HEADERS_FK1') Then
37: fnd_message.set_name('OTA','OTA_13362_TFH_SUPER_INVALID');
38: fnd_message.raise_error;

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

69: ElsIf (p_constraint_name = 'OTA_TFH_CHECK_TRANSFER_ATTRIBUTES') Then
70: fnd_message.set_name('OTA','OTA_13363_TFH_TRANS_ATTS');
71: fnd_message.raise_error;
72: Else
73: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
74: hr_utility.set_message_token('PROCEDURE', l_proc);
75: hr_utility.set_message_token('STEP',p_constraint_name);
76: hr_utility.raise_error;
77: End If;

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

70: fnd_message.set_name('OTA','OTA_13363_TFH_TRANS_ATTS');
71: fnd_message.raise_error;
72: Else
73: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
74: hr_utility.set_message_token('PROCEDURE', l_proc);
75: hr_utility.set_message_token('STEP',p_constraint_name);
76: hr_utility.raise_error;
77: End If;
78: --

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

71: fnd_message.raise_error;
72: Else
73: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
74: hr_utility.set_message_token('PROCEDURE', l_proc);
75: hr_utility.set_message_token('STEP',p_constraint_name);
76: hr_utility.raise_error;
77: End If;
78: --
79: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 76: hr_utility.raise_error;

72: Else
73: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
74: hr_utility.set_message_token('PROCEDURE', l_proc);
75: hr_utility.set_message_token('STEP',p_constraint_name);
76: hr_utility.raise_error;
77: End If;
78: --
79: hr_utility.set_location(' Leaving:'||l_proc, 10);
80: End constraint_error;

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

75: hr_utility.set_message_token('STEP',p_constraint_name);
76: hr_utility.raise_error;
77: End If;
78: --
79: hr_utility.set_location(' Leaving:'||l_proc, 10);
80: End constraint_error;
81: --
82: -- ----------------------------------------------------------------------------
83: -- |-----------------------------< api_updating >-----------------------------|

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

231: l_proc varchar2(72) := g_package||'api_updating';
232: l_fct_ret boolean;
233: --
234: Begin
235: hr_utility.set_location('Entering:'||l_proc, 5);
236: --
237: If (
238: p_finance_header_id is null and
239: p_object_version_number is null

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

247: If (
248: p_finance_header_id = g_old_rec.finance_header_id and
249: p_object_version_number = g_old_rec.object_version_number
250: ) Then
251: hr_utility.set_location(l_proc, 10);
252: --
253: -- The g_old_rec is current therefore we must
254: -- set the returning function to true
255: --

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

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

Line 269: hr_utility.raise_error;

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

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

269: hr_utility.raise_error;
270: End If;
271: Close C_Sel1;
272: If (p_object_version_number <> g_old_rec.object_version_number) Then
273: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
274: hr_utility.raise_error;
275: End If;
276: hr_utility.set_location(l_proc, 15);
277: l_fct_ret := true;

Line 274: hr_utility.raise_error;

270: End If;
271: Close C_Sel1;
272: If (p_object_version_number <> g_old_rec.object_version_number) Then
273: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
274: hr_utility.raise_error;
275: End If;
276: hr_utility.set_location(l_proc, 15);
277: l_fct_ret := true;
278: End If;

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

272: If (p_object_version_number <> g_old_rec.object_version_number) Then
273: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
274: hr_utility.raise_error;
275: End If;
276: hr_utility.set_location(l_proc, 15);
277: l_fct_ret := true;
278: End If;
279: End If;
280: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

276: hr_utility.set_location(l_proc, 15);
277: l_fct_ret := true;
278: End If;
279: End If;
280: hr_utility.set_location(' Leaving:'||l_proc, 20);
281: Return (l_fct_ret);
282: --
283: End api_updating;
284: --

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

432: --
433: l_proc varchar2(72) := g_package||'lck';
434: --
435: Begin
436: hr_utility.set_location('Entering:'||l_proc, 5);
437: --
438: -- Add any mandatory argument checking here:
439: -- Example:
440: -- hr_api.mandatory_arg_error

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

448: Close C_Sel1;
449: --
450: -- The primary key is invalid therefore we must error
451: --
452: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
453: hr_utility.raise_error;
454: End If;
455: Close C_Sel1;
456: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 453: hr_utility.raise_error;

449: --
450: -- The primary key is invalid therefore we must error
451: --
452: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
453: hr_utility.raise_error;
454: End If;
455: Close C_Sel1;
456: If (p_object_version_number <> g_old_rec.object_version_number) Then
457: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

453: hr_utility.raise_error;
454: End If;
455: Close C_Sel1;
456: If (p_object_version_number <> g_old_rec.object_version_number) Then
457: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
458: hr_utility.raise_error;
459: End If;
460: --
461: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 458: hr_utility.raise_error;

454: End If;
455: Close C_Sel1;
456: If (p_object_version_number <> g_old_rec.object_version_number) Then
457: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
458: hr_utility.raise_error;
459: End If;
460: --
461: hr_utility.set_location(' Leaving:'||l_proc, 10);
462: --

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

457: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
458: hr_utility.raise_error;
459: End If;
460: --
461: hr_utility.set_location(' Leaving:'||l_proc, 10);
462: --
463: -- We need to trap the ORA LOCK exception
464: --
465: Exception

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

467: --
468: -- The object is locked therefore we need to supply a meaningful
469: -- error message.
470: --
471: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
472: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_headers');
473: hr_utility.raise_error;
474: End lck;
475: --

Line 472: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_headers');

468: -- The object is locked therefore we need to supply a meaningful
469: -- error message.
470: --
471: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
472: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_headers');
473: hr_utility.raise_error;
474: End lck;
475: --
476: -- ----------------------------------------------------------------------------

Line 473: hr_utility.raise_error;

469: -- error message.
470: --
471: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
472: hr_utility.set_message_token('TABLE_NAME', 'ota_finance_headers');
473: hr_utility.raise_error;
474: End lck;
475: --
476: -- ----------------------------------------------------------------------------
477: -- |-----------------------------< convert_args >-----------------------------|

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

617: l_proc varchar2(72) := g_package||'convert_args';
618: --
619: Begin
620: --
621: hr_utility.set_location('Entering:'||l_proc, 5);
622: --
623: -- Convert arguments into local l_rec structure.
624: --
625: l_rec.finance_header_id := p_finance_header_id;

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

756: l_rec.transfer_to_cc_id := p_transfer_to_cc_id;
757: --
758: -- Return the plsql record structure.
759: --
760: hr_utility.set_location(' Leaving:'||l_proc, 10);
761: Return(l_rec);
762: --
763: End convert_args;
764: --