DBA Data[Home] [Help]

APPS.OTA_TRB_INS dependencies on OTA_TRB_INS

Line 1: Package Body ota_trb_ins as

1: Package Body ota_trb_ins as
2: /* $Header: ottrbrhi.pkb 120.6.12000000.3 2007/07/05 09:22:53 aabalakr noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' ota_trb_ins.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_trb_ins.'; -- Global package name
9: --
10: -- The following global variables are only to be used by
11: -- the set_base_key_value and pre_insert procedures.
12: --

Line 26: ota_trb_ins.g_resource_booking_id_i := p_resource_booking_id;

22: --
23: Begin
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: ota_trb_ins.g_resource_booking_id_i := p_resource_booking_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
29: End set_base_key_value;
30: --

Line 276: ota_trb_ins.g_resource_booking_id_i;

272: Cursor C_Sel4 is
273: Select null
274: from ota_resource_bookings
275: where resource_booking_id =
276: ota_trb_ins.g_resource_booking_id_i;
277: --
278: l_proc varchar2(72) := g_package||'pre_insert';
279: l_exist varchar2(1);
280: l_resource_type ota_suppliable_resources.resource_type%type;

Line 285: If (ota_trb_ins.g_resource_booking_id_i is not null) Then

281: --
282: Begin
283: hr_utility.set_location('Entering:'||l_proc, 5);
284: --
285: If (ota_trb_ins.g_resource_booking_id_i is not null) Then
286: --
287: -- Verify registered primary key values not already in use
288: --
289: Open C_Sel4;

Line 305: ota_trb_ins.g_resource_booking_id_i;

301: --
302: -- Use registered key values and clear globals
303: --
304: p_rec.resource_booking_id :=
305: ota_trb_ins.g_resource_booking_id_i;
306: ota_trb_ins.g_resource_booking_id_i := null;
307: Else
308: --
309: -- No registerd key values, so select the next sequence number

Line 306: ota_trb_ins.g_resource_booking_id_i := null;

302: -- Use registered key values and clear globals
303: --
304: p_rec.resource_booking_id :=
305: ota_trb_ins.g_resource_booking_id_i;
306: ota_trb_ins.g_resource_booking_id_i := null;
307: Else
308: --
309: -- No registerd key values, so select the next sequence number
310: --

Line 542: ota_trb_ins.pre_insert(p_rec);

538: hr_multi_message.end_validation_set;
539: --
540: -- Call the supporting pre-insert operation
541: --
542: ota_trb_ins.pre_insert(p_rec);
543: --
544: -- Insert the row
545: --
546: ota_trb_ins.insert_dml(p_rec);

Line 546: ota_trb_ins.insert_dml(p_rec);

542: ota_trb_ins.pre_insert(p_rec);
543: --
544: -- Insert the row
545: --
546: ota_trb_ins.insert_dml(p_rec);
547: --
548: -- Call the supporting post-insert operation
549: --
550: ota_trb_ins.post_insert

Line 550: ota_trb_ins.post_insert

546: ota_trb_ins.insert_dml(p_rec);
547: --
548: -- Call the supporting post-insert operation
549: --
550: ota_trb_ins.post_insert
551: (p_effective_date
552: ,p_rec
553: );
554: --

Line 678: ota_trb_ins.ins

674: --
675: -- Having converted the arguments into the ota_trb_rec
676: -- plsql record structure we call the corresponding record business process.
677: --
678: ota_trb_ins.ins
679: (p_effective_date
680: ,l_rec
681: );
682: --

Line 692: end ota_trb_ins;

688: --
689: hr_utility.set_location(' Leaving:'||l_proc, 10);
690: End ins;
691: --
692: end ota_trb_ins;