DBA Data[Home] [Help]

APPS.HR_CTX_INS dependencies on HR_CTX_INS

Line 1: Package Body hr_ctx_ins as

1: Package Body hr_ctx_ins as
2: /* $Header: hrctxrhi.pkb 120.0 2005/05/30 23:30 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_ctx_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: hr_ctx_ins.g_context_id_i := p_context_id;

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

Line 231: hr_ctx_ins.g_context_id_i;

227: Cursor C_Sel2 is
228: Select null
229: from hr_ki_contexts
230: where context_id =
231: hr_ctx_ins.g_context_id_i;
232: --
233: l_proc varchar2(72) := g_package||'pre_insert';
234: l_exists varchar2(1);
235: --

Line 239: If (hr_ctx_ins.g_context_id_i is not null) Then

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

Line 259: hr_ctx_ins.g_context_id_i;

255: --
256: -- Use registered key values and clear globals
257: --
258: p_rec.context_id :=
259: hr_ctx_ins.g_context_id_i;
260: hr_ctx_ins.g_context_id_i := null;
261: Else
262: --
263: -- No registerd key values, so select the next sequence number

Line 260: hr_ctx_ins.g_context_id_i := null;

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

Line 423: hr_ctx_ins.pre_insert(p_rec);

419: hr_multi_message.end_validation_set;
420: --
421: -- Call the supporting pre-insert operation
422: --
423: hr_ctx_ins.pre_insert(p_rec);
424: --
425: -- Insert the row
426: --
427: hr_ctx_ins.insert_dml(p_rec);

Line 427: hr_ctx_ins.insert_dml(p_rec);

423: hr_ctx_ins.pre_insert(p_rec);
424: --
425: -- Insert the row
426: --
427: hr_ctx_ins.insert_dml(p_rec);
428: --
429: -- Call the supporting post-insert operation
430: --
431: hr_ctx_ins.post_insert

Line 431: hr_ctx_ins.post_insert

427: hr_ctx_ins.insert_dml(p_rec);
428: --
429: -- Call the supporting post-insert operation
430: --
431: hr_ctx_ins.post_insert
432: (p_rec
433: );
434: --
435: -- Call to raise any errors on multi-message list

Line 529: hr_ctx_ins.ins

525: --
526: -- Having converted the arguments into the hr_ctx_rec
527: -- plsql record structure we call the corresponding record business process.
528: --
529: hr_ctx_ins.ins
530: (l_rec
531: );
532: --
533: -- As the primary key argument(s)

Line 542: end hr_ctx_ins;

538: --
539: hr_utility.set_location(' Leaving:'||l_proc, 10);
540: End ins;
541: --
542: end hr_ctx_ins;