DBA Data[Home] [Help]

APPS.OTA_TRB_SHD dependencies on HR_UTILITY

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

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

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

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

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

76: l_proc varchar2(72) := g_package||'constraint_error';
77: --
78: Begin
79: --
80: hr_utility.set_location('Entering:'||l_proc, 5);
81: --
82: If (p_constraint_name = 'OTA_CHECK_START_END_TIMES') Then
83: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
84: fnd_message.set_token('PROCEDURE', l_proc);

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

125: fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);
126: fnd_message.raise_error;
127: End If;
128: --
129: hr_utility.set_location(' Leaving:'||l_proc, 10);
130: End constraint_error;
131: --
132: -- ----------------------------------------------------------------------------
133: -- |-----------------------------< 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_resource_booking_id is null and
239: p_object_version_number is null

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

247: If (
248: p_resource_booking_id = g_old_rec.resource_booking_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 351: hr_utility.set_location('Entering:'||l_proc, 5);

347: --
348: l_proc varchar2(72) := g_package||'lck';
349: --
350: Begin
351: hr_utility.set_location('Entering:'||l_proc, 5);
352: --
353: -- Add any mandatory argument checking here:
354: -- Example:
355: -- hr_api.mandatory_arg_error

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

363: Close C_Sel1;
364: --
365: -- The primary key is invalid therefore we must error
366: --
367: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
368: hr_utility.raise_error;
369: End If;
370: Close C_Sel1;
371: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 368: hr_utility.raise_error;

364: --
365: -- The primary key is invalid therefore we must error
366: --
367: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
368: hr_utility.raise_error;
369: End If;
370: Close C_Sel1;
371: If (p_object_version_number <> g_old_rec.object_version_number) Then
372: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

368: hr_utility.raise_error;
369: End If;
370: Close C_Sel1;
371: If (p_object_version_number <> g_old_rec.object_version_number) Then
372: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
373: hr_utility.raise_error;
374: End If;
375: --
376: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 373: hr_utility.raise_error;

369: End If;
370: Close C_Sel1;
371: If (p_object_version_number <> g_old_rec.object_version_number) Then
372: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
373: hr_utility.raise_error;
374: End If;
375: --
376: hr_utility.set_location(' Leaving:'||l_proc, 10);
377: --

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

372: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
373: hr_utility.raise_error;
374: End If;
375: --
376: hr_utility.set_location(' Leaving:'||l_proc, 10);
377: --
378: -- We need to trap the ORA LOCK exception
379: --
380: Exception

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

382: --
383: -- The object is locked therefore we need to supply a meaningful
384: -- error message.
385: --
386: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
387: hr_utility.set_message_token('TABLE_NAME', 'ota_resource_bookings');
388: hr_utility.raise_error;
389: End lck;
390: --

Line 387: hr_utility.set_message_token('TABLE_NAME', 'ota_resource_bookings');

383: -- The object is locked therefore we need to supply a meaningful
384: -- error message.
385: --
386: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
387: hr_utility.set_message_token('TABLE_NAME', 'ota_resource_bookings');
388: hr_utility.raise_error;
389: End lck;
390: --
391: -- ----------------------------------------------------------------------------

Line 388: hr_utility.raise_error;

384: -- error message.
385: --
386: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
387: hr_utility.set_message_token('TABLE_NAME', 'ota_resource_bookings');
388: hr_utility.raise_error;
389: End lck;
390: --
391: -- ----------------------------------------------------------------------------
392: -- |-----------------------------< convert_args >-----------------------------|

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

471: l_proc varchar2(72) := g_package||'convert_args';
472: --
473: Begin
474: --
475: hr_utility.set_location('Entering:'||l_proc, 5);
476: --
477: -- Convert arguments into local l_rec structure.
478: --
479: l_rec.resource_booking_id := p_resource_booking_id;

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

525: l_rec.timezone_code := p_timezone_code;
526: --
527: -- Return the plsql record structure.
528: --
529: hr_utility.set_location(' Leaving:'||l_proc, 10);
530: Return(l_rec);
531: --
532: End convert_args;
533: --