DBA Data[Home] [Help]

APPS.HR_OTY_INS dependencies on HR_OTY_INS

Line 1: Package Body hr_oty_ins as

1: Package Body hr_oty_ins as
2: /* $Header: hrotyrhi.pkb 115.0 2004/01/09 02:19 vkarandi noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_oty_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_oty_ins.g_option_type_id_i := p_option_type_id;

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

Line 173: hr_oty_ins.g_option_type_id_i;

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

Line 181: If (hr_oty_ins.g_option_type_id_i is not null) Then

177: --
178: Begin
179: hr_utility.set_location('Entering:'||l_proc, 5);
180: --
181: If (hr_oty_ins.g_option_type_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_oty_ins.g_option_type_id_i;

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

Line 202: hr_oty_ins.g_option_type_id_i := null;

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

Line 308: hr_oty_ins.pre_insert(p_rec);

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

Line 312: hr_oty_ins.insert_dml(p_rec);

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

Line 316: hr_oty_ins.post_insert

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

Line 356: hr_oty_ins.ins

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

Line 369: end hr_oty_ins;

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