DBA Data[Home] [Help]

APPS.HZ_MATCH_RULE_3 dependencies on HZ_CONTACT_POINTS

Line 320: FROM HZ_CONTACT_POINTS

316: END IF;
317: IF p_attribute = 'EMAIL_ADDRESS' THEN
318: BEGIN
319: SELECT EMAIL_ADDRESS INTO l_matched_value
320: FROM HZ_CONTACT_POINTS
321: WHERE contact_point_id = p_record_id and rownum=1;
322: EXCEPTION
323: WHEN NO_DATA_FOUND THEN
324: l_matched_value := 'Err';

Line 3824: from hz_contact_points

3820: p_party_site_list HZ_PARTY_SEARCH.IDList;
3821: p_contact_ids HZ_PARTY_SEARCH.IDList;
3822: l_match_idx NUMBER;
3823: cursor get_cpts_for_party_sites is select contact_point_id
3824: from hz_contact_points
3825: where owner_table_name = 'HZ_PARTY_SITES'
3826: and primary_flag='Y'
3827: and owner_table_id = p_party_site_id;
3828: BEGIN

Line 3909: from hz_org_contacts a, hz_relationships b, hz_contact_points c

3905: p_party_site_list HZ_PARTY_SEARCH.IDList;
3906: p_contact_ids HZ_PARTY_SEARCH.IDList;
3907: l_match_idx NUMBER;
3908: cursor get_cpt_for_contact_id is select contact_point_id
3909: from hz_org_contacts a, hz_relationships b, hz_contact_points c
3910: where a.party_relationship_id = b.relationship_id
3911: and c.owner_table_name = 'HZ_PARTIES'
3912: and c.primary_flag='Y'
3913: and c.owner_table_id = b.party_id

Line 5181: FROM HZ_CONTACT_POINTS

5177: END IF;
5178: l_party_id := p_party_id;
5179: FOR CONTACT_POINTS IN (
5180: SELECT CONTACT_POINT_ID
5181: FROM HZ_CONTACT_POINTS
5182: WHERE PRIMARY_FLAG = 'Y'
5183: AND owner_table_name = 'HZ_PARTIES'
5184: AND owner_table_id = p_party_id
5185:

Line 5189: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS

5185:
5186: UNION
5187:
5188: SELECT CONTACT_POINT_ID
5189: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS
5190: WHERE PRIMARY_FLAG = 'Y'
5191: AND owner_table_name = 'HZ_PARTIES'
5192: AND OWNER_TABLE_ID = HZ_RELATIONSHIPS.party_id
5193: AND HZ_RELATIONSHIPS.object_id = p_party_id

Line 5202: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES

5198: AND ROWNUM<6
5199: UNION
5200:
5201: SELECT CONTACT_POINT_ID
5202: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES
5203: WHERE PRIMARY_FLAG = 'Y'
5204: AND owner_table_name = 'HZ_PARTY_SITES'
5205: AND owner_table_id = party_site_id
5206: AND PARTY_ID = p_party_id

Line 5448: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')

5444:
5445: -- Cursor to fetch primary contact points for party
5446: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
5447: SELECT contact_point_id, contact_point_type
5448: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
5449: FROM HZ_CONTACT_POINTS
5450: WHERE contact_point_id = cp_contact_point_id;
5451:
5452: I NUMBER;

Line 5449: FROM HZ_CONTACT_POINTS

5445: -- Cursor to fetch primary contact points for party
5446: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
5447: SELECT contact_point_id, contact_point_type
5448: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
5449: FROM HZ_CONTACT_POINTS
5450: WHERE contact_point_id = cp_contact_point_id;
5451:
5452: I NUMBER;
5453: l_contact_point_id NUMBER;