DBA Data[Home] [Help]

APPS.HR_PROCESS_CONTACT_SS dependencies on HR_CONTACT_REL_API

Line 1401: || hr_contact_rel_api.update_contact_relationship()

1397: ||
1398: || Description:
1399: || Description:
1400: || This procedure will call the actual API -
1401: || hr_contact_rel_api.update_contact_relationship()
1402: ||
1403: || Pre Conditions:
1404: ||
1405: || In Arguments:

Line 1701: hr_utility.set_location('Entering hr_contact_rel_api.update_contact_relationship', 5);

1697:
1698: --
1699: BEGIN
1700: --
1701: hr_utility.set_location('Entering hr_contact_rel_api.update_contact_relationship', 5);
1702: --
1703: IF upper(p_action) = g_change
1704: THEN
1705: l_attribute_update_mode := g_attribute_update;

Line 1886: hr_utility.set_location('Calling hr_contact_rel_api.update_contact_relationship', 25);

1882: THEN
1883:
1884: -- Call the actual API.
1885: --
1886: hr_utility.set_location('Calling hr_contact_rel_api.update_contact_relationship', 25);
1887: --
1888: if (nvl(p_rltd_per_rsds_w_dsgntr_flag , 'N') = 'Y') then
1889: --
1890: p_del_cont_primary_addr

Line 1918: hr_contact_rel_api.update_contact_relationship(

1914: ,p_date_start => l_date_start
1915: ,p_date_of_birth => p_date_of_birth );
1916:
1917: --
1918: hr_contact_rel_api.update_contact_relationship(
1919: p_validate => l_validate
1920: ,p_effective_date => p_cont_effective_date
1921: ,p_contact_relationship_id => l_contact_relationship_id
1922: ,p_contact_type => p_contact_type

Line 1985: hr_utility.set_location('api error exists hr_contact_rel_api.update_contact_relationship', 30);

1981: --
1982: --
1983: IF hr_errors_api.errorExists
1984: THEN
1985: hr_utility.set_location('api error exists hr_contact_rel_api.update_contact_relationship', 30);
1986: ROLLBACK to before_entering_into_update ;
1987: raise g_data_error;
1988: END IF;
1989: --

Line 1993: hr_utility.set_location('No changes found hr_contact_rel_api.update_contact_relationship', 35);

1989: --
1990: --
1991: ELSE
1992: --
1993: hr_utility.set_location('No changes found hr_contact_rel_api.update_contact_relationship', 35);
1994: --
1995: END IF;
1996:
1997: IF p_vendor_id = 0

Line 6363: || hr_contact_rel_api.create_contact_tt()

6359: ||
6360: || Description:
6361: || Description:
6362: || This procedure will call the actual API -
6363: || hr_contact_rel_api.create_contact_tt()
6364: ||
6365: || Pre Conditions:
6366: ||
6367: || In Arguments:

Line 6770: hr_utility.set_location('Calling hr_contact_rel_api.create_contact', 25);

6766: END IF;
6767: END IF;
6768: hr_utility.set_location('Setting l_attribute_update_mode ', 20);
6769: --
6770: hr_utility.set_location('Calling hr_contact_rel_api.create_contact', 25);
6771: --
6772: -- Call the actual API.
6773: --
6774: -- Check if the record has changed is not necessary as it's a create.

Line 7002: -- hr_contact_rel_api.create_contact(

6998: hr_utility.set_location('p_save_mode not SFL'||l_proc,40 );
6999:
7000: --
7001: -- Bug 3152505 : calling call_contact_api
7002: -- hr_contact_rel_api.create_contact(
7003: call_contact_api(
7004: p_validate => false -- l_validate_mode
7005: ,p_start_date => l_start_date --p_start_date
7006: ,p_business_group_id => p_business_group_id

Line 7214: hr_utility.set_location('api error exists hr_contact_rel_api.create_contact', 50);

7210: hr_utility.set_location('After calling validate proceses ', 45);
7211: --
7212: IF hr_errors_api.errorExists
7213: THEN
7214: hr_utility.set_location('api error exists hr_contact_rel_api.create_contact', 50);
7215: rollback to create_contact_tt_start ;
7216: raise g_data_error;
7217: END IF;
7218:

Line 9095: -- hr_utility.set_location('Leaving hr_contact_rel_api.create_contact_tt', 100);

9091: ,p_transaction_step_id => l_transaction_step_id
9092: ,p_api_name => g_package || '.PROCESS_CREATE_CONTACT_API'
9093: ,p_transaction_data => l_transaction_table);
9094: --
9095: -- hr_utility.set_location('Leaving hr_contact_rel_api.create_contact_tt', 100);
9096:
9097: hr_utility.set_location('Exiting:'||l_proc,100);
9098: --
9099: -- 9999 What full_name code is doing? Do we need to add?

Line 9693: hr_contact_rel_api.create_contact(

9689: end if;
9690: --
9691: IF l_person_id IS NOT NULL
9692: THEN
9693: hr_contact_rel_api.create_contact(
9694: P_VALIDATE => p_validate
9695: --
9696: ,P_START_DATE => l_effective_date
9697: --

Line 10947: hr_contact_rel_api.create_contact(

10943: ,p_name => 'P_PRIMARY_CONTACT_FLAG');
10944: end if;
10945: --
10946: --
10947: hr_contact_rel_api.create_contact(
10948: P_VALIDATE => p_validate
10949: --
10950: ,P_START_DATE => l_effective_date
10951: --

Line 12489: hr_contact_rel_api.delete_contact_relationship method is commented out as this method

12485:
12486:
12487: if l_start_contact_date > l_date_sart then
12488: /***********************************************************************************************
12489: hr_contact_rel_api.delete_contact_relationship method is commented out as this method
12490: did not support when contact is only one, i.e, it is not dual maintained. So from now
12491: PER_CONTACT_RELATIONSHIPS_PKG.Update_Row is called as core HR team is use it for the same pourpose.
12492: This row handler makes all necessary changes of the per_all_people_f and per_contact_relationships table
12493: One new check is add here with the help of the variable of skip_contact_create_flg

Line 12499: /*hr_contact_rel_api.delete_contact_relationship(

12495: the end date of that row
12496: ***********************************************************************************************
12497: */
12498:
12499: /*hr_contact_rel_api.delete_contact_relationship(
12500: p_validate => p_validate
12501: ,P_CONTACT_RELATIONSHIP_ID =>
12502: hr_transaction_api.get_NUMBER_value
12503: (p_transaction_step_id => p_transaction_step_id

Line 12705: hr_contact_rel_api.update_contact_relationship(

12701: skip_contact_create_flg := 1;
12702:
12703: else
12704: l_date_end := trunc(l_date_sart) -1;
12705: hr_contact_rel_api.update_contact_relationship(
12706: p_validate => p_validate
12707: ,P_EFFECTIVE_DATE =>l_effective_date
12708: ,p_object_version_number => l_ovn
12709: ,P_CONTACT_RELATIONSHIP_ID =>

Line 12722: hr_contact_rel_api.update_contact_relationship(

12718:
12719: -- end date the old relationship
12720: /* commented for the bug bug 5894873
12721: l_date_end := trunc(l_date_sart) -1;
12722: hr_contact_rel_api.update_contact_relationship(
12723: p_validate => p_validate
12724: ,P_EFFECTIVE_DATE =>l_effective_date
12725: ,p_object_version_number => l_ovn
12726: ,P_CONTACT_RELATIONSHIP_ID =>

Line 12752: hr_contact_rel_api.update_contact_relationship(

12748: if get_emrg_relid_ovn%found then
12749: if((l_emrg_primary_cont_flag <> 'Y' and l_primary_contact_flag = 'Y') OR
12750: (l_emrg_primary_cont_flag <> 'N' and l_primary_contact_flag = 'N')) then
12751: -- Bug 3504216 : passing date_start as sysdate
12752: hr_contact_rel_api.update_contact_relationship(
12753: p_validate => p_validate
12754: ,P_EFFECTIVE_DATE =>l_effective_date
12755: ,p_object_version_number => l_emrg_ovn
12756: ,P_CONTACT_RELATIONSHIP_ID => l_emrg_relid

Line 12765: hr_contact_rel_api.create_contact(

12761: l_primary_contact_flag := 'N';
12762: end if;
12763: close get_emrg_relid_ovn;
12764: if skip_contact_create_flg <> 1 then -- 5894873
12765: hr_contact_rel_api.create_contact(
12766: P_VALIDATE => p_validate
12767: --
12768: ,P_START_DATE => l_effective_date
12769: --

Line 13633: hr_contact_rel_api.update_contact_relationship(

13629: fetch get_emrg_relid_ovn into l_emrg_relid, l_emrg_ovn, l_emrg_primary_cont_flag;
13630: if get_emrg_relid_ovn%found then
13631: if((l_emrg_primary_cont_flag <> 'Y' and l_primary_contact_flag = 'Y') OR
13632: (l_emrg_primary_cont_flag <> 'N' and l_primary_contact_flag = 'N')) then
13633: hr_contact_rel_api.update_contact_relationship(
13634: p_validate => p_validate
13635: ,P_EFFECTIVE_DATE =>l_effective_date
13636: ,p_object_version_number => l_emrg_ovn
13637: ,P_CONTACT_RELATIONSHIP_ID => l_emrg_relid

Line 13647: hr_contact_rel_api.update_contact_relationship(

13643: end if;
13644: close get_emrg_relid_ovn;
13645: end if;
13646:
13647: hr_contact_rel_api.update_contact_relationship(
13648:
13649: P_VALIDATE => p_validate
13650: --
13651: ,P_EFFECTIVE_DATE => l_effective_date

Line 13983: hr_contact_rel_api.update_contact_relationship(

13979: (p_transaction_step_id => p_transaction_step_id
13980: ,p_name => 'P_PERSON_ID'));
13981: fetch get_other_relid_ovn into l_other_relid, l_other_ovn;
13982: if get_other_relid_ovn%found then
13983: hr_contact_rel_api.update_contact_relationship(
13984:
13985: P_VALIDATE => p_validate
13986: --
13987: ,P_EFFECTIVE_DATE => l_effective_date

Line 14264: hr_contact_rel_api.create_contact(

14260: );
14261: end if;
14262: close get_other_relid_ovn;
14263:
14264: hr_contact_rel_api.create_contact(
14265: P_VALIDATE => p_validate
14266: --
14267: ,P_START_DATE => l_effective_date
14268: /*

Line 14794: || hr_contact_rel_api.update_contact_relationship()

14790: ||
14791: || Description:
14792: || Description:
14793: || This procedure will call the actual API -
14794: || hr_contact_rel_api.update_contact_relationship()
14795: ||
14796: || Pre Conditions:
14797: ||
14798: || In Arguments:

Line 14914: hr_utility.set_location('Calling hr_contact_rel_api.update_contact_relationship', 10);

14910:
14911: --
14912: -- Call the actual API.
14913: --
14914: hr_utility.set_location('Calling hr_contact_rel_api.update_contact_relationship', 10);
14915: --
14916: if nvl(p_save_mode, 'NVL') <> 'SAVE_FOR_LATER' then
14917: --
14918: hr_contact_rel_api.update_contact_relationship(

Line 14918: hr_contact_rel_api.update_contact_relationship(

14914: hr_utility.set_location('Calling hr_contact_rel_api.update_contact_relationship', 10);
14915: --
14916: if nvl(p_save_mode, 'NVL') <> 'SAVE_FOR_LATER' then
14917: --
14918: hr_contact_rel_api.update_contact_relationship(
14919: p_validate => hr_java_conv_util_ss.get_boolean (
14920: p_number => p_validate)
14921: ,p_effective_date => p_effective_date
14922: ,p_contact_relationship_id => p_contact_relationship_id

Line 14970: hr_contact_rel_api.update_contact_relationship(

14966: l_other_rel_object_ver_no := 1;
14967: end if;
14968: close get_other_rel_ovn;
14969:
14970: hr_contact_rel_api.update_contact_relationship(
14971: p_validate => hr_java_conv_util_ss.get_boolean (
14972: p_number => p_validate)
14973: ,p_effective_date => p_effective_date
14974: -- Bug 3152505 : Passing the other contact relationship id

Line 15342: hr_utility.set_location('Leaving hr_contact_rel_api.update_contact_relationship', 40);

15338: -- Change for contacts approvals.
15339: ,p_api_name => g_package || '.PROCESS_API'
15340: ,p_transaction_data => l_transaction_table);
15341: --
15342: hr_utility.set_location('Leaving hr_contact_rel_api.update_contact_relationship', 40);
15343: --
15344: EXCEPTION
15345: WHEN hr_utility.hr_error THEN
15346: hr_utility.set_location('Exception:hr_utility.hr_error THEN'||l_proc,555);

Line 15447: hr_contact_rel_api.update_contact_relationship(

15443: IF l_contact_relationship_id IS NOT NULL
15444: THEN
15445: hr_utility.set_location('l_contact_relationship_id is not NULL:'||l_proc, 25);
15446: --
15447: hr_contact_rel_api.update_contact_relationship(
15448: p_validate => p_validate
15449: --
15450: ,P_EFFECTIVE_DATE =>l_effective_date
15451: /*

Line 15659: hr_contact_rel_api.update_contact_relationship(

15655: ,p_name => 'P_END_OTHER_REL');
15656:
15657: if l_del_other_rel = 'Y' then
15658: hr_utility.set_location('if l_del_other_rel Y:'||l_proc, 30);
15659: hr_contact_rel_api.update_contact_relationship(
15660: p_validate => p_validate
15661: ,P_EFFECTIVE_DATE =>l_effective_date
15662: ,p_object_version_number => l_other_rel_ovn
15663: ,P_CONTACT_RELATIONSHIP_ID =>

Line 16217: hr_contact_rel_api.create_contact(

16213: primary contact for an employee. Action: Uncheck the Primary Contact check box and save your contact
16214: information.*/
16215:
16216: hr_utility.set_location('Entering:'||l_proc, 5);
16217: hr_contact_rel_api.create_contact(
16218: p_validate => p_validate -- l_validate_mode
16219: ,p_start_date => p_start_date --p_start_date
16220: ,p_business_group_id => p_business_group_id
16221: ,p_person_id => p_person_id

Line 16419: hr_contact_rel_api.create_contact(

16415: );
16416: --
16417: if (p_contact_operation in ('EMER_CR_NEW_CONT','EMER_CR_NEW_REL')) OR (p_emrg_cont_flag = 'Y') then
16418: hr_utility.set_location('EMER_CR_NEW_CONT or EMER_CR_NEW_REL:'||l_proc, 10);
16419: hr_contact_rel_api.create_contact(
16420: p_validate => p_validate -- l_validate_mode
16421: ,p_start_date => p_start_date --p_start_date
16422: ,p_business_group_id => p_business_group_id
16423: ,p_person_id => p_person_id

Line 16882: hr_contact_rel_api.update_contact_relationship(

16878: ELSE
16879: CLOSE gc_get_emerg_contact_data;
16880: END IF;
16881: -- Bug 3504216 : passing date_start as sysdate.
16882: hr_contact_rel_api.update_contact_relationship(
16883: p_validate => false
16884: ,P_EFFECTIVE_DATE => sysdate
16885: ,p_object_version_number => l_emerg_contact_data.ovn
16886: ,P_CONTACT_RELATIONSHIP_ID => l_emerg_cont_rel_id