DBA Data[Home] [Help]

APPS.OTA_CTU_INS dependencies on OTA_CTU_INS

Line 1: Package Body ota_ctu_ins as

1: Package Body ota_ctu_ins as
2: /* $Header: otcturhi.pkb 120.2.12010000.2 2009/07/24 10:53:50 shwnayak ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_ctu_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_ctu_ins.g_category_usage_id_i := p_category_usage_id;

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

Line 234: ota_ctu_ins.g_category_usage_id_i;

230: Cursor C_Sel2 is
231: Select null
232: from ota_category_usages
233: where category_usage_id =
234: ota_ctu_ins.g_category_usage_id_i;
235: --
236: l_proc varchar2(72) := g_package||'pre_insert';
237: l_exists varchar2(1);
238: --

Line 242: If (ota_ctu_ins.g_category_usage_id_i is not null) Then

238: --
239: Begin
240: hr_utility.set_location('Entering:'||l_proc, 5);
241: --
242: If (ota_ctu_ins.g_category_usage_id_i is not null) Then
243: --
244: -- Verify registered primary key values not already in use
245: --
246: Open C_Sel2;

Line 262: ota_ctu_ins.g_category_usage_id_i;

258: --
259: -- Use registered key values and clear globals
260: --
261: p_rec.category_usage_id :=
262: ota_ctu_ins.g_category_usage_id_i;
263: ota_ctu_ins.g_category_usage_id_i := null;
264: Else
265: --
266: -- No registerd key values, so select the next sequence number

Line 263: ota_ctu_ins.g_category_usage_id_i := null;

259: -- Use registered key values and clear globals
260: --
261: p_rec.category_usage_id :=
262: ota_ctu_ins.g_category_usage_id_i;
263: ota_ctu_ins.g_category_usage_id_i := null;
264: Else
265: --
266: -- No registerd key values, so select the next sequence number
267: --

Line 430: ota_ctu_ins.pre_insert(p_rec);

426: hr_multi_message.end_validation_set;
427: --
428: -- Call the supporting pre-insert operation
429: --
430: ota_ctu_ins.pre_insert(p_rec);
431: --
432: -- Insert the row
433: --
434: ota_ctu_ins.insert_dml(p_rec);

Line 434: ota_ctu_ins.insert_dml(p_rec);

430: ota_ctu_ins.pre_insert(p_rec);
431: --
432: -- Insert the row
433: --
434: ota_ctu_ins.insert_dml(p_rec);
435: --
436: -- Call the supporting post-insert operation
437: --
438: ota_ctu_ins.post_insert

Line 438: ota_ctu_ins.post_insert

434: ota_ctu_ins.insert_dml(p_rec);
435: --
436: -- Call the supporting post-insert operation
437: --
438: ota_ctu_ins.post_insert
439: (p_effective_date
440: ,p_rec
441: );
442: --

Line 540: ota_ctu_ins.ins

536: --
537: -- Having converted the arguments into the ota_ctu_rec
538: -- plsql record structure we call the corresponding record business process.
539: --
540: ota_ctu_ins.ins
541: (p_effective_date
542: ,l_rec
543: );
544: --

Line 554: end ota_ctu_ins;

550: --
551: hr_utility.set_location(' Leaving:'||l_proc, 10);
552: End ins;
553: --
554: end ota_ctu_ins;