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.2 2010/12/24 11:51:11 avarri ship $ */
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 268: per_vac_ins.g_vacancy_id_i;

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

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

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

Line 296: per_vac_ins.g_vacancy_id_i;

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

Line 297: per_vac_ins.g_vacancy_id_i := null;

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

Line 502: per_vac_ins.pre_insert(p_rec);

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

Line 506: per_vac_ins.insert_dml(p_rec);

502: per_vac_ins.pre_insert(p_rec);
503: --
504: -- Insert the row
505: --
506: per_vac_ins.insert_dml(p_rec);
507: --
508: -- Call the supporting post-insert operation
509: --
510: per_vac_ins.post_insert

Line 510: per_vac_ins.post_insert

506: per_vac_ins.insert_dml(p_rec);
507: --
508: -- Call the supporting post-insert operation
509: --
510: per_vac_ins.post_insert
511: (p_rec
512: ,p_effective_date
513: );
514: hr_multi_message.end_validation_set();

Line 646: per_vac_ins.ins

642: --
643: -- Having converted the arguments into the per_vac_rec
644: -- plsql record structure we call the corresponding record business process.
645: --
646: per_vac_ins.ins
647: (p_rec => l_rec
648: ,p_effective_date => p_effective_date
649: ,p_inv_pos_grade_warning => p_inv_pos_grade_warning
650: ,p_inv_job_grade_warning => p_inv_job_grade_warning

Line 662: end per_vac_ins;

658: --
659: hr_utility.set_location(' Leaving:'||l_proc, 10);
660: End ins;
661: --
662: end per_vac_ins;