DBA Data[Home] [Help]

APPS.HR_OPT_INS dependencies on HR_OPT_INS

Line 1: Package Body hr_opt_ins as

1: Package Body hr_opt_ins as
2: /* $Header: hroptrhi.pkb 120.1 2005/09/29 07:03 santosin noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_opt_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_opt_ins.g_option_id_i := p_option_id;

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

Line 181: hr_opt_ins.g_option_id_i;

177: Cursor C_Sel2 is
178: Select null
179: from hr_ki_options
180: where option_id =
181: hr_opt_ins.g_option_id_i;
182: --
183: l_proc varchar2(72) := g_package||'pre_insert';
184: l_exists varchar2(1);
185: l_option_type_id number;

Line 194: If (hr_opt_ins.g_option_id_i is not null) Then

190: into l_option_type_id
191: from hr_ki_option_types
192: where option_type_key = 'PASSWORD';
193: --
194: If (hr_opt_ins.g_option_id_i is not null) Then
195: --
196: -- Verify registered primary key values not already in use
197: --
198: Open C_Sel2;

Line 214: hr_opt_ins.g_option_id_i;

210: --
211: -- Use registered key values and clear globals
212: --
213: p_rec.option_id :=
214: hr_opt_ins.g_option_id_i;
215: hr_opt_ins.g_option_id_i := null;
216: Else
217: --
218: -- No registerd key values, so select the next sequence number

Line 215: hr_opt_ins.g_option_id_i := null;

211: -- Use registered key values and clear globals
212: --
213: p_rec.option_id :=
214: hr_opt_ins.g_option_id_i;
215: hr_opt_ins.g_option_id_i := null;
216: Else
217: --
218: -- No registerd key values, so select the next sequence number
219: --

Line 340: hr_opt_ins.pre_insert(p_rec);

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

Line 344: hr_opt_ins.insert_dml(p_rec);

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

Line 348: hr_opt_ins.post_insert

344: hr_opt_ins.insert_dml(p_rec);
345: --
346: -- Call the supporting post-insert operation
347: --
348: hr_opt_ins.post_insert
349: (p_effective_date
350: ,p_rec
351: );
352: --

Line 398: hr_opt_ins.ins

394: --
395: -- Having converted the arguments into the hr_opt_rec
396: -- plsql record structure we call the corresponding record business process.
397: --
398: hr_opt_ins.ins
399: (p_effective_date
400: ,l_rec
401: );
402: --

Line 412: end hr_opt_ins;

408: --
409: hr_utility.set_location(' Leaving:'||l_proc, 10);
410: End ins;
411: --
412: end hr_opt_ins;