DBA Data[Home] [Help]

APPS.HR_HRC_INS dependencies on HR_HRC_INS

Line 1: Package Body hr_hrc_ins as

1: Package Body hr_hrc_ins as
2: /* $Header: hrhrcrhi.pkb 115.0 2004/01/09 01:12 vkarandi noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_hrc_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_hrc_ins.g_hierarchy_id_i := p_hierarchy_id;

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

Line 173: hr_hrc_ins.g_hierarchy_id_i;

169: Cursor C_Sel2 is
170: Select null
171: from hr_ki_hierarchies
172: where hierarchy_id =
173: hr_hrc_ins.g_hierarchy_id_i;
174: --
175: l_proc varchar2(72) := g_package||'pre_insert';
176: l_exists varchar2(1);
177: --

Line 181: If (hr_hrc_ins.g_hierarchy_id_i is not null) Then

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

Line 201: hr_hrc_ins.g_hierarchy_id_i;

197: --
198: -- Use registered key values and clear globals
199: --
200: p_rec.hierarchy_id :=
201: hr_hrc_ins.g_hierarchy_id_i;
202: hr_hrc_ins.g_hierarchy_id_i := null;
203: Else
204: --
205: -- No registerd key values, so select the next sequence number

Line 202: hr_hrc_ins.g_hierarchy_id_i := null;

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

Line 307: hr_hrc_ins.pre_insert(p_rec);

303: hr_multi_message.end_validation_set;
304: --
305: -- Call the supporting pre-insert operation
306: --
307: hr_hrc_ins.pre_insert(p_rec);
308: --
309: -- Insert the row
310: --
311: hr_hrc_ins.insert_dml(p_rec);

Line 311: hr_hrc_ins.insert_dml(p_rec);

307: hr_hrc_ins.pre_insert(p_rec);
308: --
309: -- Insert the row
310: --
311: hr_hrc_ins.insert_dml(p_rec);
312: --
313: -- Call the supporting post-insert operation
314: --
315: hr_hrc_ins.post_insert

Line 315: hr_hrc_ins.post_insert

311: hr_hrc_ins.insert_dml(p_rec);
312: --
313: -- Call the supporting post-insert operation
314: --
315: hr_hrc_ins.post_insert
316: (p_rec
317: );
318: --
319: -- Call to raise any errors on multi-message list

Line 355: hr_hrc_ins.ins

351: --
352: -- Having converted the arguments into the hr_hrc_rec
353: -- plsql record structure we call the corresponding record business process.
354: --
355: hr_hrc_ins.ins
356: (l_rec
357: );
358: --
359: -- As the primary key argument(s)

Line 368: end hr_hrc_ins;

364: --
365: hr_utility.set_location(' Leaving:'||l_proc, 10);
366: End ins;
367: --
368: end hr_hrc_ins;