DBA Data[Home] [Help]

APPS.PQH_TXH_INS dependencies on PQH_TXH_INS

Line 1: Package Body pqh_txh_ins as

1: Package Body pqh_txh_ins as
2: /* $Header: pqtxhrhi.pkb 120.2 2005/12/21 11:29:59 hpandya noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_txh_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: pqh_txh_ins.g_transaction_history_id_i := p_transaction_history_id;

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

Line 192: where transaction_history_id = pqh_txh_ins.g_transaction_history_id_i;

188: --
189: Cursor C_Sel2 is
190: Select null
191: from pqh_ss_transaction_history
192: where transaction_history_id = pqh_txh_ins.g_transaction_history_id_i;
193: --
194: l_proc varchar2(72) := g_package||'pre_insert';
195: l_exists varchar2(1);
196: --

Line 200: If (pqh_txh_ins.g_transaction_history_id_i is not null) Then

196: --
197: Begin
198: hr_utility.set_location('Entering:'||l_proc, 5);
199: --
200: If (pqh_txh_ins.g_transaction_history_id_i is not null) Then
201: --
202: -- Verify registered primary key values not already in use
203: --
204: Open C_Sel2;

Line 220: pqh_txh_ins.g_transaction_history_id_i;

216: --
217: -- Use registered key values and clear globals
218: --
219: p_rec.transaction_history_id :=
220: pqh_txh_ins.g_transaction_history_id_i;
221: pqh_txh_ins.g_transaction_history_id_i := null;
222: Else
223: --
224: -- No registerd key values, so select the next sequence number

Line 221: pqh_txh_ins.g_transaction_history_id_i := null;

217: -- Use registered key values and clear globals
218: --
219: p_rec.transaction_history_id :=
220: pqh_txh_ins.g_transaction_history_id_i;
221: pqh_txh_ins.g_transaction_history_id_i := null;
222: Else
223: --
224: -- No registerd key values, so select the next sequence number
225: --

Line 319: pqh_txh_ins.pre_insert(p_rec);

315: hr_multi_message.end_validation_set;
316: --
317: -- Call the supporting pre-insert operation
318: --
319: pqh_txh_ins.pre_insert(p_rec);
320: --
321: -- Insert the row
322: --
323: pqh_txh_ins.insert_dml(p_rec);

Line 323: pqh_txh_ins.insert_dml(p_rec);

319: pqh_txh_ins.pre_insert(p_rec);
320: --
321: -- Insert the row
322: --
323: pqh_txh_ins.insert_dml(p_rec);
324: --
325: -- Call the supporting post-insert operation
326: --
327: pqh_txh_ins.post_insert

Line 327: pqh_txh_ins.post_insert

323: pqh_txh_ins.insert_dml(p_rec);
324: --
325: -- Call the supporting post-insert operation
326: --
327: pqh_txh_ins.post_insert
328: (p_rec
329: );
330: --
331: -- Call to raise any errors on multi-message list

Line 387: pqh_txh_ins.ins

383: --
384: -- Having converted the arguments into the pqh_txh_rec
385: -- plsql record structure we call the corresponding record business process.
386: --
387: pqh_txh_ins.ins
388: (l_rec
389: );
390: --
391: -- As the primary key argument(s)

Line 400: end pqh_txh_ins;

396: --
397: hr_utility.set_location(' Leaving:'||l_proc, 10);
398: End ins;
399: --
400: end pqh_txh_ins;