DBA Data[Home] [Help]

APPS.PQH_OPG_INS dependencies on PQH_OPG_INS

Line 1: Package Body pqh_opg_ins as

1: Package Body pqh_opg_ins as
2: /* $Header: pqopgrhi.pkb 115.1 2002/12/03 00:09:11 rpasapul noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_opg_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: pqh_opg_ins.g_operation_group_id_i := p_operation_group_id;

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

Line 175: pqh_opg_ins.g_operation_group_id_i;

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

Line 183: If (pqh_opg_ins.g_operation_group_id_i is not null) Then

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

Line 203: pqh_opg_ins.g_operation_group_id_i;

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

Line 204: pqh_opg_ins.g_operation_group_id_i := null;

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

Line 318: pqh_opg_ins.pre_insert(p_rec);

314: --
315: -- Call the supporting pre-insert operation
316: --
317:
318: pqh_opg_ins.pre_insert(p_rec);
319:
320: --
321: -- Insert the row
322: --

Line 324: pqh_opg_ins.insert_dml(p_rec);

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

Line 329: pqh_opg_ins.post_insert

325:
326: --
327: -- Call the supporting post-insert operation
328: --
329: pqh_opg_ins.post_insert
330: (p_effective_date
331: ,p_rec
332: );
333: --

Line 373: pqh_opg_ins.ins

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

Line 387: end pqh_opg_ins;

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