DBA Data[Home] [Help]

APPS.IRC_IVC_INS dependencies on IRC_IVC_INS

Line 1: Package Body irc_ivc_ins as

1: Package Body irc_ivc_ins as
2: /* $Header: irivcrhi.pkb 120.0 2005/07/26 15:12:26 mbocutt noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' irc_ivc_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 23: irc_ivc_ins.g_vacancy_consideration_id_i:=p_vacancy_consideration_id;

19: (p_vacancy_consideration_id in number) is
20: l_proc varchar2(72):=g_package||'set_base_key_value';
21: begin
22: hr_utility.set_location('Entering'||l_proc,10);
23: irc_ivc_ins.g_vacancy_consideration_id_i:=p_vacancy_consideration_id;
24: hr_utility.set_location('Leaving'||l_proc,20);
25: end set_base_key_value;
26: --
27: --

Line 170: where vacancy_consideration_id=irc_ivc_ins.g_vacancy_consideration_id_i;

166: --
167: cursor c1 is select irc_vacancy_considerations_s.nextval from sys.dual;
168: cursor c2 is
169: select null from irc_vacancy_considerations
170: where vacancy_consideration_id=irc_ivc_ins.g_vacancy_consideration_id_i;
171: l_proc varchar2(72) := g_package||'pre_insert';
172: l_exists varchar2(1);
173: --
174: Begin

Line 177: If (irc_ivc_ins.g_vacancy_consideration_id_i is not null) Then

173: --
174: Begin
175: hr_utility.set_location('Entering:'||l_proc, 5);
176: --
177: If (irc_ivc_ins.g_vacancy_consideration_id_i is not null) Then
178:
179: open c2;
180: fetch c2 into l_exists;
181: if c2%found then

Line 192: irc_ivc_ins.g_vacancy_consideration_id_i;

188: --
189: -- Use registered key values and clear globals
190: --
191: p_rec.vacancy_consideration_id :=
192: irc_ivc_ins.g_vacancy_consideration_id_i;
193: irc_ivc_ins.g_vacancy_consideration_id_i := null;
194: --
195: else
196: open c1;

Line 193: irc_ivc_ins.g_vacancy_consideration_id_i := null;

189: -- Use registered key values and clear globals
190: --
191: p_rec.vacancy_consideration_id :=
192: irc_ivc_ins.g_vacancy_consideration_id_i;
193: irc_ivc_ins.g_vacancy_consideration_id_i := null;
194: --
195: else
196: open c1;
197: fetch c1 into p_rec.vacancy_consideration_id;

Line 299: irc_ivc_ins.pre_insert(p_rec);

295: hr_multi_message.end_validation_set;
296: --
297: -- Call the supporting pre-insert operation
298: --
299: irc_ivc_ins.pre_insert(p_rec);
300: --
301: -- Insert the row
302: --
303: irc_ivc_ins.insert_dml(p_rec);

Line 303: irc_ivc_ins.insert_dml(p_rec);

299: irc_ivc_ins.pre_insert(p_rec);
300: --
301: -- Insert the row
302: --
303: irc_ivc_ins.insert_dml(p_rec);
304: --
305: -- Call the supporting post-insert operation
306: --
307: irc_ivc_ins.post_insert

Line 307: irc_ivc_ins.post_insert

303: irc_ivc_ins.insert_dml(p_rec);
304: --
305: -- Call the supporting post-insert operation
306: --
307: irc_ivc_ins.post_insert
308: (p_effective_date
309: ,p_rec
310: );
311: --

Line 351: irc_ivc_ins.ins

347: --
348: -- Having converted the arguments into the irc_ivc_rec
349: -- plsql record structure we call the corresponding record business process.
350: --
351: irc_ivc_ins.ins
352: (p_effective_date
353: ,l_rec
354: );
355: --

Line 365: end irc_ivc_ins;

361: --
362: hr_utility.set_location(' Leaving:'||l_proc, 10);
363: End ins;
364: --
365: end irc_ivc_ins;