DBA Data[Home] [Help]

APPS.HXC_TKS_INS dependencies on HXC_TKS_INS

Line 1: Package Body hxc_tks_ins as

1: Package Body hxc_tks_ins as
2: /* $Header: hxctksrhi.pkb 120.2 2005/09/23 05:29:46 rchennur noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_tks_ins.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- The following global variables are only to be used by
12: -- the set_base_key_value and pre_insert procedures.

Line 31: hxc_tks_ins.g_submission_id_i := p_submission_id;

27: l_proc := g_package||'set_base_key_value';
28: hr_utility.set_location('Entering:'||l_proc, 10);
29: end if;
30: --
31: hxc_tks_ins.g_submission_id_i := p_submission_id;
32: --
33: if g_debug then
34: hr_utility.set_location(' Leaving:'||l_proc, 20);
35: end if;

Line 184: hxc_tks_ins.g_submission_id_i;

180: Cursor C_Sel2 is
181: Select null
182: from hxc_tk_timekeeper_submits
183: where submission_id =
184: hxc_tks_ins.g_submission_id_i;
185: --
186: l_proc varchar2(72) ;
187: l_exists varchar2(1);
188: --

Line 196: /* If (hxc_tks_ins.g_submission_id_i is not null) Then

192: l_proc := g_package||'pre_insert';
193: hr_utility.set_location('Entering:'||l_proc, 5);
194: end if;
195: --
196: /* If (hxc_tks_ins.g_submission_id_i is not null) Then
197: --
198: -- Verify registered primary key values not already in use
199: --
200: Open C_Sel2;

Line 215: p_rec.submission_id :=hxc_tks_ins.g_submission_id_i;

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

Line 216: hxc_tks_ins.g_submission_id_i := null;

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

Line 331: hxc_tks_ins.pre_insert(p_rec);

327: hr_multi_message.end_validation_set;
328: --
329: -- Call the supporting pre-insert operation
330: --
331: hxc_tks_ins.pre_insert(p_rec);
332: --
333: -- Insert the row
334: --
335: hxc_tks_ins.insert_dml(p_rec);

Line 335: hxc_tks_ins.insert_dml(p_rec);

331: hxc_tks_ins.pre_insert(p_rec);
332: --
333: -- Insert the row
334: --
335: hxc_tks_ins.insert_dml(p_rec);
336: --
337: -- Call the supporting post-insert operation
338: --
339: hxc_tks_ins.post_insert

Line 339: hxc_tks_ins.post_insert

335: hxc_tks_ins.insert_dml(p_rec);
336: --
337: -- Call the supporting post-insert operation
338: --
339: hxc_tks_ins.post_insert
340: (p_rec );
341: --
342: -- Call to raise any errors on multi-message list
343: hr_multi_message.end_validation_set;

Line 378: hxc_tks_ins.ins

374: --
375: -- Having converted the arguments into the hxc_tks_rec
376: -- plsql record structure we call the corresponding record business process.
377: --
378: hxc_tks_ins.ins
379: (l_rec );
380: --
381: -- As the primary key argument(s)
382: -- are specified as an OUT's we must set these values.

Line 392: end hxc_tks_ins;

388: hr_utility.set_location(' Leaving:'||l_proc, 10);
389: end if;
390: End ins;
391: --
392: end hxc_tks_ins;