DBA Data[Home] [Help]

APPS.HR_AMM_INS dependencies on HR_AMM_INS

Line 1: Package Body hr_amm_ins as

1: Package Body hr_amm_ins as
2: /* $Header: hrammrhi.pkb 115.3 2002/12/05 12:45:03 apholt noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_amm_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_amm_ins.g_authoria_mapping_id_i := p_authoria_mapping_id;

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

Line 177: hr_amm_ins.g_authoria_mapping_id_i;

173: Cursor C_Sel2 is
174: Select null
175: from hr_authoria_mappings
176: where authoria_mapping_id =
177: hr_amm_ins.g_authoria_mapping_id_i;
178: --
179: l_proc varchar2(72) := g_package||'pre_insert';
180: l_exists varchar2(1);
181: --

Line 185: If (hr_amm_ins.g_authoria_mapping_id_i is not null) Then

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

Line 205: hr_amm_ins.g_authoria_mapping_id_i;

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

Line 206: hr_amm_ins.g_authoria_mapping_id_i := null;

202: -- Use registered key values and clear globals
203: --
204: p_rec.authoria_mapping_id :=
205: hr_amm_ins.g_authoria_mapping_id_i;
206: hr_amm_ins.g_authoria_mapping_id_i := null;
207: Else
208: --
209: -- No registerd key values, so select the next sequence number
210: --

Line 315: hr_amm_ins.pre_insert(p_rec);

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

Line 319: hr_amm_ins.insert_dml(p_rec);

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

Line 323: hr_amm_ins.post_insert

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

Line 367: hr_amm_ins.ins

363: --
364: -- Having converted the arguments into the hr_amm_rec
365: -- plsql record structure we call the corresponding record business process.
366: --
367: hr_amm_ins.ins
368: (l_rec
369: );
370: --
371: -- As the primary key argument(s)

Line 380: end hr_amm_ins;

376: --
377: hr_utility.set_location(' Leaving:'||l_proc, 10);
378: End ins;
379: --
380: end hr_amm_ins;