DBA Data[Home] [Help]

APPS.OTA_RUD_INS dependencies on OTA_RUD_INS

Line 1: PACKAGE BODY OTA_RUD_INS as

1: PACKAGE BODY OTA_RUD_INS as
2: /* $Header: otrudrhi.pkb 120.2 2005/09/08 06:34:32 pgupta noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_rud_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_rud_ins.g_resource_usage_id_i := p_resource_usage_id;

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

Line 233: ota_rud_ins.g_resource_usage_id_i;

229: Cursor C_Sel2 is
230: Select null
231: from ota_resource_usages
232: where resource_usage_id =
233: ota_rud_ins.g_resource_usage_id_i;
234: --
235: l_proc varchar2(72) := g_package||'pre_insert';
236: l_exists varchar2(1);
237: --

Line 241: If (ota_rud_ins.g_resource_usage_id_i is not null) Then

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

Line 261: ota_rud_ins.g_resource_usage_id_i;

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

Line 262: ota_rud_ins.g_resource_usage_id_i := null;

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

Line 431: ota_rud_ins.pre_insert(p_rec);

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

Line 435: ota_rud_ins.insert_dml(p_rec);

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

Line 439: ota_rud_ins.post_insert

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

Line 541: ota_rud_ins.ins

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

Line 555: end ota_rud_ins;

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