DBA Data[Home] [Help]

APPS.PQP_GAP_INS dependencies on PQP_GAP_INS

Line 1: Package Body pqp_gap_ins as

1: Package Body pqp_gap_ins as
2: /* $Header: pqgaprhi.pkb 120.1 2005/06/30 12:04:22 rpinjala noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqp_gap_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: pqp_gap_ins.g_gap_absence_plan_id_i := p_gap_absence_plan_id;

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

Line 177: pqp_gap_ins.g_gap_absence_plan_id_i;

173: Cursor C_Sel2 is
174: Select null
175: from pqp_gap_absence_plans
176: where gap_absence_plan_id =
177: pqp_gap_ins.g_gap_absence_plan_id_i;
178: --
179: l_proc varchar2(72) := g_package||'pre_insert';
180: l_exists varchar2(1);
181: --

Line 185: If (pqp_gap_ins.g_gap_absence_plan_id_i is not null) Then

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

Line 205: pqp_gap_ins.g_gap_absence_plan_id_i;

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

Line 206: pqp_gap_ins.g_gap_absence_plan_id_i := null;

202: -- Use registered key values and clear globals
203: --
204: p_rec.gap_absence_plan_id :=
205: pqp_gap_ins.g_gap_absence_plan_id_i;
206: pqp_gap_ins.g_gap_absence_plan_id_i := null;
207: Else
208: --
209: -- No registerd key values, so select the next sequence number
210: --

Line 319: pqp_gap_ins.pre_insert(p_rec);

315: hr_multi_message.end_validation_set;
316: --
317: -- Call the supporting pre-insert operation
318: --
319: pqp_gap_ins.pre_insert(p_rec);
320: --
321: -- Insert the row
322: --
323: pqp_gap_ins.insert_dml(p_rec);

Line 323: pqp_gap_ins.insert_dml(p_rec);

319: pqp_gap_ins.pre_insert(p_rec);
320: --
321: -- Insert the row
322: --
323: pqp_gap_ins.insert_dml(p_rec);
324: --
325: -- Call the supporting post-insert operation
326: --
327: pqp_gap_ins.post_insert

Line 327: pqp_gap_ins.post_insert

323: pqp_gap_ins.insert_dml(p_rec);
324: --
325: -- Call the supporting post-insert operation
326: --
327: pqp_gap_ins.post_insert
328: (p_effective_date
329: ,p_rec
330: );
331: --

Line 373: pqp_gap_ins.ins

369: --
370: -- Having converted the arguments into the pqp_gap_rec
371: -- plsql record structure we call the corresponding record business process.
372: --
373: pqp_gap_ins.ins
374: (p_effective_date
375: ,l_rec
376: );
377: --

Line 387: end pqp_gap_ins;

383: --
384: hr_utility.set_location(' Leaving:'||l_proc, 10);
385: End ins;
386: --
387: end pqp_gap_ins;