DBA Data[Home] [Help]

APPS.HZ_MATCH_RULE_38 dependencies on HZ_CONTACT_POINTS

Line 518: FROM HZ_CONTACT_POINTS

514: END IF;
515: IF p_attribute = 'EMAIL_ADDRESS' THEN
516: BEGIN
517: SELECT EMAIL_ADDRESS INTO l_matched_value
518: FROM HZ_CONTACT_POINTS
519: WHERE contact_point_id = p_record_id and rownum=1;
520: EXCEPTION
521: WHEN NO_DATA_FOUND THEN
522: l_matched_value := 'Err';

Line 4381: from hz_contact_points

4377: p_party_site_list HZ_PARTY_SEARCH.IDList;
4378: p_contact_ids HZ_PARTY_SEARCH.IDList;
4379: l_match_idx NUMBER;
4380: cursor get_cpts_for_party_sites is select contact_point_id
4381: from hz_contact_points
4382: where owner_table_name = 'HZ_PARTY_SITES'
4383: and primary_flag='Y'
4384: and owner_table_id = p_party_site_id;
4385: BEGIN

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

4462: p_party_site_list HZ_PARTY_SEARCH.IDList;
4463: p_contact_ids HZ_PARTY_SEARCH.IDList;
4464: l_match_idx NUMBER;
4465: cursor get_cpt_for_contact_id is select contact_point_id
4466: from hz_org_contacts a, hz_relationships b, hz_contact_points c
4467: where a.party_relationship_id = b.relationship_id
4468: and c.owner_table_name = 'HZ_PARTIES'
4469: and c.primary_flag='Y'
4470: and c.owner_table_id = b.party_id

Line 5887: FROM HZ_CONTACT_POINTS

5883: ct := ct+1;
5884: END LOOP;
5885: FOR CONTACT_POINTS IN (
5886: SELECT CONTACT_POINT_ID
5887: FROM HZ_CONTACT_POINTS
5888: WHERE PRIMARY_FLAG = 'Y'
5889: AND owner_table_name = 'HZ_PARTIES'
5890: AND owner_table_id = p_party_id
5891:

Line 5895: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS

5891:
5892: UNION
5893:
5894: SELECT CONTACT_POINT_ID
5895: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS
5896: WHERE PRIMARY_FLAG = 'Y'
5897: AND owner_table_name = 'HZ_PARTIES'
5898: AND OWNER_TABLE_ID = HZ_RELATIONSHIPS.party_id
5899: AND HZ_RELATIONSHIPS.object_id = p_party_id

Line 5908: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES

5904: AND ROWNUM<6
5905: UNION
5906:
5907: SELECT CONTACT_POINT_ID
5908: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES
5909: WHERE PRIMARY_FLAG = 'Y'
5910: AND owner_table_name = 'HZ_PARTY_SITES'
5911: AND owner_table_id = party_site_id
5912: AND PARTY_ID = p_party_id

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

6162:
6163: -- Cursor to fetch primary contact points for party
6164: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
6165: SELECT contact_point_id, contact_point_type
6166: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
6167: FROM HZ_CONTACT_POINTS
6168: WHERE contact_point_id = cp_contact_point_id;
6169:
6170: I NUMBER;

Line 6167: FROM HZ_CONTACT_POINTS

6163: -- Cursor to fetch primary contact points for party
6164: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
6165: SELECT contact_point_id, contact_point_type
6166: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
6167: FROM HZ_CONTACT_POINTS
6168: WHERE contact_point_id = cp_contact_point_id;
6169:
6170: I NUMBER;
6171: l_contact_point_id NUMBER;