DBA Data[Home] [Help]

APPS.GHR_CAD_INS dependencies on GHR_CAD_INS

Line 1: Package Body ghr_cad_ins as

1: Package Body ghr_cad_ins as
2: /* $Header: ghcadrhi.pkb 115.4 2003/01/30 19:24:51 asubrahm noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ghr_cad_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: ghr_cad_ins.g_compl_adr_id_i := p_compl_adr_id;

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

Line 187: ghr_cad_ins.g_compl_adr_id_i;

183: Cursor C_Sel2 is
184: Select null
185: from ghr_compl_adrs
186: where compl_adr_id =
187: ghr_cad_ins.g_compl_adr_id_i;
188: --
189: l_proc varchar2(72) := g_package||'pre_insert';
190: l_exists varchar2(1);
191: --

Line 195: If (ghr_cad_ins.g_compl_adr_id_i is not null) Then

191: --
192: Begin
193: hr_utility.set_location('Entering:'||l_proc, 5);
194: --
195: If (ghr_cad_ins.g_compl_adr_id_i is not null) Then
196: --
197: -- Verify registered primary key values not already in use
198: --
199: Open C_Sel2;

Line 215: ghr_cad_ins.g_compl_adr_id_i;

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

Line 216: ghr_cad_ins.g_compl_adr_id_i := null;

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

Line 327: ghr_cad_ins.pre_insert(p_rec);

323: );
324: --
325: -- Call the supporting pre-insert operation
326: --
327: ghr_cad_ins.pre_insert(p_rec);
328: --
329: -- Insert the row
330: --
331: ghr_cad_ins.insert_dml(p_rec);

Line 331: ghr_cad_ins.insert_dml(p_rec);

327: ghr_cad_ins.pre_insert(p_rec);
328: --
329: -- Insert the row
330: --
331: ghr_cad_ins.insert_dml(p_rec);
332: --
333: -- Call the supporting post-insert operation
334: --
335: ghr_cad_ins.post_insert

Line 335: ghr_cad_ins.post_insert

331: ghr_cad_ins.insert_dml(p_rec);
332: --
333: -- Call the supporting post-insert operation
334: --
335: ghr_cad_ins.post_insert
336: (p_effective_date
337: ,p_rec
338: );
339: --

Line 388: ghr_cad_ins.ins

384: --
385: -- Having converted the arguments into the ghr_cad_rec
386: -- plsql record structure we call the corresponding record business process.
387: --
388: ghr_cad_ins.ins
389: (p_effective_date
390: ,l_rec
391: );
392: --

Line 402: end ghr_cad_ins;

398: --
399: hr_utility.set_location(' Leaving:'||l_proc, 10);
400: End ins;
401: --
402: end ghr_cad_ins;