DBA Data[Home] [Help]

APPS.PER_VAC_INS dependencies on PER_VAC_INS

Line 1: Package Body per_vac_ins as

1: Package Body per_vac_ins as
2: /* $Header: pevacrhi.pkb 120.0 2005/05/31 22:51:12 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_vac_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: per_vac_ins.g_vacancy_id_i := p_vacancy_id;

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

Line 266: per_vac_ins.g_vacancy_id_i;

262: Cursor C_Sel2 is
263: Select null
264: from per_all_vacancies
265: where vacancy_id =
266: per_vac_ins.g_vacancy_id_i;
267: --
268: l_proc varchar2(72) := g_package||'pre_insert';
269: l_exists varchar2(1);
270: --

Line 274: if (per_vac_ins.g_vacancy_id_i is not null) then

270: --
271: Begin
272: hr_utility.set_location('Entering:'||l_proc, 5);
273: --
274: if (per_vac_ins.g_vacancy_id_i is not null) then
275: --
276: -- Verify registered primary key values not already in use
277: --
278: Open C_Sel2;

Line 294: per_vac_ins.g_vacancy_id_i;

290: --
291: -- Use registered key values and clear globals
292: --
293: p_rec.vacancy_id :=
294: per_vac_ins.g_vacancy_id_i;
295: per_vac_ins.g_vacancy_id_i := null;
296: Else
297: --
298: -- No registerd key values, so select the next sequence number

Line 295: per_vac_ins.g_vacancy_id_i := null;

291: -- Use registered key values and clear globals
292: --
293: p_rec.vacancy_id :=
294: per_vac_ins.g_vacancy_id_i;
295: per_vac_ins.g_vacancy_id_i := null;
296: Else
297: --
298: -- No registerd key values, so select the next sequence number
299: --

Line 498: per_vac_ins.pre_insert(p_rec);

494: );
495: --
496: -- Call the supporting pre-insert operation
497: --
498: per_vac_ins.pre_insert(p_rec);
499: --
500: -- Insert the row
501: --
502: per_vac_ins.insert_dml(p_rec);

Line 502: per_vac_ins.insert_dml(p_rec);

498: per_vac_ins.pre_insert(p_rec);
499: --
500: -- Insert the row
501: --
502: per_vac_ins.insert_dml(p_rec);
503: --
504: -- Call the supporting post-insert operation
505: --
506: per_vac_ins.post_insert

Line 506: per_vac_ins.post_insert

502: per_vac_ins.insert_dml(p_rec);
503: --
504: -- Call the supporting post-insert operation
505: --
506: per_vac_ins.post_insert
507: (p_rec
508: ,p_effective_date
509: );
510: hr_multi_message.end_validation_set();

Line 640: per_vac_ins.ins

636: --
637: -- Having converted the arguments into the per_vac_rec
638: -- plsql record structure we call the corresponding record business process.
639: --
640: per_vac_ins.ins
641: (p_rec => l_rec
642: ,p_effective_date => p_effective_date
643: ,p_inv_pos_grade_warning => p_inv_pos_grade_warning
644: ,p_inv_job_grade_warning => p_inv_job_grade_warning

Line 656: end per_vac_ins;

652: --
653: hr_utility.set_location(' Leaving:'||l_proc, 10);
654: End ins;
655: --
656: end per_vac_ins;