DBA Data[Home] [Help]

APPS.OTA_CHA_INS dependencies on OTA_CHA_INS

Line 1: Package Body ota_cha_ins as

1: Package Body ota_cha_ins as
2: /* $Header: otcharhi.pkb 120.3 2006/03/06 02:27 rdola noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_cha_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: ota_cha_ins.g_chat_id_i := p_chat_id;

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

Line 183: ota_cha_ins.g_chat_id_i;

179: Cursor C_Sel2 is
180: Select null
181: from ota_chats_b
182: where chat_id =
183: ota_cha_ins.g_chat_id_i;
184: --
185: l_proc varchar2(72) := g_package||'pre_insert';
186: l_exists varchar2(1);
187: --

Line 191: If (ota_cha_ins.g_chat_id_i is not null) Then

187: --
188: Begin
189: hr_utility.set_location('Entering:'||l_proc, 5);
190: --
191: If (ota_cha_ins.g_chat_id_i is not null) Then
192: --
193: -- Verify registered primary key values not already in use
194: --
195: Open C_Sel2;

Line 211: ota_cha_ins.g_chat_id_i;

207: --
208: -- Use registered key values and clear globals
209: --
210: p_rec.chat_id :=
211: ota_cha_ins.g_chat_id_i;
212: ota_cha_ins.g_chat_id_i := null;
213: Else
214: --
215: -- No registerd key values, so select the next sequence number

Line 212: ota_cha_ins.g_chat_id_i := null;

208: -- Use registered key values and clear globals
209: --
210: p_rec.chat_id :=
211: ota_cha_ins.g_chat_id_i;
212: ota_cha_ins.g_chat_id_i := null;
213: Else
214: --
215: -- No registerd key values, so select the next sequence number
216: --

Line 331: ota_cha_ins.pre_insert(p_rec);

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

Line 335: ota_cha_ins.insert_dml(p_rec);

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

Line 339: ota_cha_ins.post_insert

335: ota_cha_ins.insert_dml(p_rec);
336: --
337: -- Call the supporting post-insert operation
338: --
339: ota_cha_ins.post_insert
340: (p_effective_date
341: ,p_rec
342: );
343: --

Line 391: ota_cha_ins.ins

387: --
388: -- Having converted the arguments into the ota_cha_rec
389: -- plsql record structure we call the corresponding record business process.
390: --
391: ota_cha_ins.ins
392: (p_effective_date
393: ,l_rec
394: );
395: --

Line 405: end ota_cha_ins;

401: --
402: hr_utility.set_location(' Leaving:'||l_proc, 10);
403: End ins;
404: --
405: end ota_cha_ins;