DBA Data[Home] [Help]

APPS.PER_CTR_INS dependencies on PER_CTR_INS

Line 1: Package Body per_ctr_ins as

1: Package Body per_ctr_ins as
2: /* $Header: pectrrhi.pkb 120.5.12020000.3 2013/02/04 11:16:16 srannama ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_ctr_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 25: per_ctr_ins.g_contact_relationship_id := p_contact_relationship_id;

21: --
22: Begin
23: hr_utility.set_location('Entering:'||l_proc, 10);
24: --
25: per_ctr_ins.g_contact_relationship_id := p_contact_relationship_id;
26: --
27: hr_utility.set_location(' Leaving:'||l_proc, 20);
28: End set_base_key_value;
29:

Line 291: where contact_relationship_id = per_ctr_ins.g_contact_relationship_id;

287: --
288: Cursor C_Sel2 is
289: select null
290: from per_contact_relationships
291: where contact_relationship_id = per_ctr_ins.g_contact_relationship_id;
292: --
293: l_exists varchar2(1);
294: --
295: Begin

Line 301: if per_ctr_ins.g_contact_relationship_id is not null then

297: --
298: --
299: -- Select the next sequence number
300: --
301: if per_ctr_ins.g_contact_relationship_id is not null then
302: --
303: -- Verify registered primary key values not already in use
304: --
305: Open C_Sel2;

Line 321: p_rec.contact_relationship_id := per_ctr_ins.g_contact_relationship_id;

317: close c_sel2;
318: --
319: -- Use registered key values and clear globals
320: --
321: p_rec.contact_relationship_id := per_ctr_ins.g_contact_relationship_id;
322: per_ctr_ins.g_contact_relationship_id := null;
323: --
324: else
325: Open C_Sel1;

Line 322: per_ctr_ins.g_contact_relationship_id := null;

318: --
319: -- Use registered key values and clear globals
320: --
321: p_rec.contact_relationship_id := per_ctr_ins.g_contact_relationship_id;
322: per_ctr_ins.g_contact_relationship_id := null;
323: --
324: else
325: Open C_Sel1;
326: Fetch C_Sel1 Into p_rec.contact_relationship_id;

Line 735: end per_ctr_ins;

731: -- dbms_output.put_line('RH OVN: '||l_rec.object_version_number);
732: hr_utility.set_location(' Leaving:'||l_proc, 10);
733: End ins;
734: --
735: end per_ctr_ins;