DBA Data[Home] [Help]

APPS.HR_SNP_INS dependencies on HR_SNP_INS

Line 1: Package Body hr_snp_ins as

1: Package Body hr_snp_ins as
2: /* $Header: hrsnprhi.pkb 120.0 2005/05/31 02:52:28 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_snp_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: hr_snp_ins.g_snapshot_id_i := p_snapshot_id;

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

Line 175: hr_snp_ins.g_snapshot_id_i;

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

Line 183: If (hr_snp_ins.g_snapshot_id_i is not null) Then

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

Line 203: hr_snp_ins.g_snapshot_id_i;

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

Line 204: hr_snp_ins.g_snapshot_id_i := null;

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

Line 313: hr_snp_ins.pre_insert(p_rec);

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

Line 317: hr_snp_ins.insert_dml(p_rec);

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

Line 321: hr_snp_ins.post_insert

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

Line 362: hr_snp_ins.ins

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

Line 375: end hr_snp_ins;

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