DBA Data[Home] [Help]

APPS.PSP_RTD_INS dependencies on PSP_RTD_INS

Line 1: Package Body psp_rtd_ins as

1: Package Body psp_rtd_ins as
2: /* $Header: PSPRDRHB.pls 120.0 2005/06/02 15:51 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' psp_rtd_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_rtd_ins.g_template_detail_id_i := p_template_detail_id;

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

Line 183: psp_rtd_ins.g_template_detail_id_i;

179: Cursor C_Sel2 is
180: Select null
181: from psp_report_template_details
182: where template_detail_id =
183: psp_rtd_ins.g_template_detail_id_i;
184: --
185: l_proc varchar2(72) := g_package||'pre_insert';
186: l_exists varchar2(1);
187: --

Line 191: If (psp_rtd_ins.g_template_detail_id_i is not null) Then

187: --
188: Begin
189: hr_utility.set_location('Entering:'||l_proc, 5);
190: --
191: If (psp_rtd_ins.g_template_detail_id_i is not null) Then
192: --
193: -- Verify registered primary key values not already in use
194: --
195: Open C_Sel2;

Line 211: psp_rtd_ins.g_template_detail_id_i;

207: --
208: -- Use registered key values and clear globals
209: --
210: p_rec.template_detail_id :=
211: psp_rtd_ins.g_template_detail_id_i;
212: psp_rtd_ins.g_template_detail_id_i := null;
213: Else
214: --
215: -- No registerd key values, so select the next sequence number

Line 212: psp_rtd_ins.g_template_detail_id_i := null;

208: -- Use registered key values and clear globals
209: --
210: p_rec.template_detail_id :=
211: psp_rtd_ins.g_template_detail_id_i;
212: psp_rtd_ins.g_template_detail_id_i := null;
213: Else
214: --
215: -- No registerd key values, so select the next sequence number
216: --

Line 327: psp_rtd_ins.pre_insert(p_rec);

323: hr_multi_message.end_validation_set;
324: --
325: -- Call the supporting pre-insert operation
326: --
327: psp_rtd_ins.pre_insert(p_rec);
328: --
329: -- Insert the row
330: --
331: psp_rtd_ins.insert_dml(p_rec);

Line 331: psp_rtd_ins.insert_dml(p_rec);

327: psp_rtd_ins.pre_insert(p_rec);
328: --
329: -- Insert the row
330: --
331: psp_rtd_ins.insert_dml(p_rec);
332: --
333: -- Call the supporting post-insert operation
334: --
335: psp_rtd_ins.post_insert

Line 335: psp_rtd_ins.post_insert

331: psp_rtd_ins.insert_dml(p_rec);
332: --
333: -- Call the supporting post-insert operation
334: --
335: psp_rtd_ins.post_insert
336: (p_rec
337: );
338: --
339: -- Call to raise any errors on multi-message list

Line 385: psp_rtd_ins.ins

381: --
382: -- Having converted the arguments into the psp_rtd_rec
383: -- plsql record structure we call the corresponding record business process.
384: --
385: psp_rtd_ins.ins
386: (l_rec
387: );
388: --
389: -- As the primary key argument(s)

Line 398: end psp_rtd_ins;

394: --
395: hr_utility.set_location(' Leaving:'||l_proc, 10);
396: End ins;
397: --
398: end psp_rtd_ins;