DBA Data[Home] [Help]

APPS.PSP_PRT_INS dependencies on PSP_PRT_INS

Line 1: Package Body psp_prt_ins as

1: Package Body psp_prt_ins as
2: /* $Header: PSPRTRHB.pls 120.1 2005/07/05 23:50 dpaudel noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' psp_prt_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: psp_prt_ins.g_template_id_i := p_template_id;

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

Line 207: psp_prt_ins.g_template_id_i;

203: Cursor C_Sel2 is
204: Select null
205: from psp_report_templates
206: where template_id =
207: psp_prt_ins.g_template_id_i;
208: --
209: l_proc varchar2(72) := g_package||'pre_insert';
210: l_exists varchar2(1);
211: --

Line 215: If (psp_prt_ins.g_template_id_i is not null) Then

211: --
212: Begin
213: hr_utility.set_location('Entering:'||l_proc, 5);
214: --
215: If (psp_prt_ins.g_template_id_i is not null) Then
216: --
217: -- Verify registered primary key values not already in use
218: --
219: Open C_Sel2;

Line 235: psp_prt_ins.g_template_id_i;

231: --
232: -- Use registered key values and clear globals
233: --
234: p_rec.template_id :=
235: psp_prt_ins.g_template_id_i;
236: psp_prt_ins.g_template_id_i := null;
237: Else
238: --
239: -- No registerd key values, so select the next sequence number

Line 236: psp_prt_ins.g_template_id_i := null;

232: -- Use registered key values and clear globals
233: --
234: p_rec.template_id :=
235: psp_prt_ins.g_template_id_i;
236: psp_prt_ins.g_template_id_i := null;
237: Else
238: --
239: -- No registerd key values, so select the next sequence number
240: --

Line 375: psp_prt_ins.pre_insert(p_rec);

371: hr_multi_message.end_validation_set;
372: --
373: -- Call the supporting pre-insert operation
374: --
375: psp_prt_ins.pre_insert(p_rec);
376: --
377: -- Insert the row
378: --
379: psp_prt_ins.insert_dml(p_rec);

Line 379: psp_prt_ins.insert_dml(p_rec);

375: psp_prt_ins.pre_insert(p_rec);
376: --
377: -- Insert the row
378: --
379: psp_prt_ins.insert_dml(p_rec);
380: --
381: -- Call the supporting post-insert operation
382: --
383: psp_prt_ins.post_insert

Line 383: psp_prt_ins.post_insert

379: psp_prt_ins.insert_dml(p_rec);
380: --
381: -- Call the supporting post-insert operation
382: --
383: psp_prt_ins.post_insert
384: (p_rec
385: );
386: --
387: -- Call to raise any errors on multi-message list

Line 457: psp_prt_ins.ins

453: --
454: -- Having converted the arguments into the psp_prt_rec
455: -- plsql record structure we call the corresponding record business process.
456: --
457: psp_prt_ins.ins
458: (l_rec
459: );
460: --
461: -- As the primary key argument(s)

Line 470: end psp_prt_ins;

466: --
467: hr_utility.set_location(' Leaving:'||l_proc, 10);
468: End ins;
469: --
470: end psp_prt_ins;