DBA Data[Home] [Help]

APPS.PER_NAA_INS dependencies on PER_NAA_INS

Line 1: Package Body per_naa_ins as

1: Package Body per_naa_ins as
2: /* $Header: penaarhi.pkb 120.1 2006/04/25 06:01:33 niljain noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_naa_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: per_naa_ins.g_absence_action_id_i := p_absence_action_id;

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

Line 191: per_naa_ins.g_absence_action_id_i;

187: Cursor C_Sel2 is
188: Select null
189: from per_nl_absence_actions
190: where absence_action_id =
191: per_naa_ins.g_absence_action_id_i;
192: --
193: l_proc varchar2(72) := g_package||'pre_insert';
194: l_exists varchar2(1);
195: --

Line 199: If (per_naa_ins.g_absence_action_id_i is not null) Then

195: --
196: Begin
197: hr_utility.set_location('Entering:'||l_proc, 5);
198: --
199: If (per_naa_ins.g_absence_action_id_i is not null) Then
200: --
201: -- Verify registered primary key values not already in use
202: --
203: Open C_Sel2;

Line 219: per_naa_ins.g_absence_action_id_i;

215: --
216: -- Use registered key values and clear globals
217: --
218: p_rec.absence_action_id :=
219: per_naa_ins.g_absence_action_id_i;
220: per_naa_ins.g_absence_action_id_i := null;
221: Else
222: --
223: -- No registerd key values, so select the next sequence number

Line 220: per_naa_ins.g_absence_action_id_i := null;

216: -- Use registered key values and clear globals
217: --
218: p_rec.absence_action_id :=
219: per_naa_ins.g_absence_action_id_i;
220: per_naa_ins.g_absence_action_id_i := null;
221: Else
222: --
223: -- No registerd key values, so select the next sequence number
224: --

Line 341: per_naa_ins.pre_insert(p_rec);

337: hr_multi_message.end_validation_set;
338: --
339: -- Call the supporting pre-insert operation
340: --
341: per_naa_ins.pre_insert(p_rec);
342: --
343: -- Insert the row
344: --
345: per_naa_ins.insert_dml(p_rec);

Line 345: per_naa_ins.insert_dml(p_rec);

341: per_naa_ins.pre_insert(p_rec);
342: --
343: -- Insert the row
344: --
345: per_naa_ins.insert_dml(p_rec);
346: --
347: -- Call the supporting post-insert operation
348: --
349: per_naa_ins.post_insert

Line 349: per_naa_ins.post_insert

345: per_naa_ins.insert_dml(p_rec);
346: --
347: -- Call the supporting post-insert operation
348: --
349: per_naa_ins.post_insert
350: (p_rec
351: );
352: --
353: -- Call to raise any errors on multi-message list

Line 405: per_naa_ins.ins

401: --
402: -- Having converted the arguments into the per_naa_rec
403: -- plsql record structure we call the corresponding record business process.
404: --
405: per_naa_ins.ins
406: (l_rec
407: );
408: --
409: -- As the primary key argument(s)

Line 418: end per_naa_ins;

414: --
415: hr_utility.set_location(' Leaving:'||l_proc, 10);
416: End ins;
417: --
418: end per_naa_ins;