DBA Data[Home] [Help]

APPS.BEN_PSG_INS dependencies on BEN_PSG_INS

Line 1: Package Body ben_psg_ins as

1: Package Body ben_psg_ins as
2: /* $Header: bepsgrhi.pkb 120.0 2005/09/29 06:19:33 ssarkar noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ben_psg_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: ben_psg_ins.g_pil_assignment_id_i := p_pil_assignment_id;

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

Line 175: ben_psg_ins.g_pil_assignment_id_i;

171: Cursor C_Sel2 is
172: Select null
173: from ben_pil_assignment
174: where pil_assignment_id =
175: ben_psg_ins.g_pil_assignment_id_i;
176: --
177: l_proc varchar2(72) := g_package||'pre_insert';
178: l_exists varchar2(1);
179: --

Line 183: If (ben_psg_ins.g_pil_assignment_id_i is not null) Then

179: --
180: Begin
181: hr_utility.set_location('Entering:'||l_proc, 5);
182: --
183: If (ben_psg_ins.g_pil_assignment_id_i is not null) Then
184: --
185: -- Verify registered primary key values not already in use
186: --
187: Open C_Sel2;

Line 203: ben_psg_ins.g_pil_assignment_id_i;

199: --
200: -- Use registered key values and clear globals
201: --
202: p_rec.pil_assignment_id :=
203: ben_psg_ins.g_pil_assignment_id_i;
204: ben_psg_ins.g_pil_assignment_id_i := null;
205: Else
206: --
207: -- No registerd key values, so select the next sequence number

Line 204: ben_psg_ins.g_pil_assignment_id_i := null;

200: -- Use registered key values and clear globals
201: --
202: p_rec.pil_assignment_id :=
203: ben_psg_ins.g_pil_assignment_id_i;
204: ben_psg_ins.g_pil_assignment_id_i := null;
205: Else
206: --
207: -- No registerd key values, so select the next sequence number
208: --

Line 311: ben_psg_ins.pre_insert(p_rec);

307: hr_multi_message.end_validation_set;
308: --
309: -- Call the supporting pre-insert operation
310: --
311: ben_psg_ins.pre_insert(p_rec);
312: --
313: -- Insert the row
314: --
315: ben_psg_ins.insert_dml(p_rec);

Line 315: ben_psg_ins.insert_dml(p_rec);

311: ben_psg_ins.pre_insert(p_rec);
312: --
313: -- Insert the row
314: --
315: ben_psg_ins.insert_dml(p_rec);
316: --
317: -- Call the supporting post-insert operation
318: --
319: ben_psg_ins.post_insert

Line 319: ben_psg_ins.post_insert

315: ben_psg_ins.insert_dml(p_rec);
316: --
317: -- Call the supporting post-insert operation
318: --
319: ben_psg_ins.post_insert
320: (p_rec
321: );
322: --
323: -- Call to raise any errors on multi-message list

Line 361: ben_psg_ins.ins

357: --
358: -- Having converted the arguments into the ben_psg_rec
359: -- plsql record structure we call the corresponding record business process.
360: --
361: ben_psg_ins.ins
362: (l_rec
363: );
364: --
365: -- As the primary key argument(s)

Line 374: end ben_psg_ins;

370: --
371: hr_utility.set_location(' Leaving:'||l_proc, 10);
372: End ins;
373: --
374: end ben_psg_ins;