DBA Data[Home] [Help]

APPS.HZ_MATCH_RULE_99 dependencies on HZ_CONTACT_POINTS

Line 489: FROM HZ_CONTACT_POINTS

485: END IF;
486: IF p_attribute = 'EMAIL_ADDRESS' THEN
487: BEGIN
488: SELECT EMAIL_ADDRESS INTO l_matched_value
489: FROM HZ_CONTACT_POINTS
490: WHERE contact_point_id = p_record_id and rownum=1;
491: EXCEPTION
492: WHEN NO_DATA_FOUND THEN
493: l_matched_value := 'Err';

Line 4505: from hz_contact_points

4501: p_party_site_list HZ_PARTY_SEARCH.IDList;
4502: p_contact_ids HZ_PARTY_SEARCH.IDList;
4503: l_match_idx NUMBER;
4504: cursor get_cpts_for_party_sites is select contact_point_id
4505: from hz_contact_points
4506: where owner_table_name = 'HZ_PARTY_SITES'
4507: and primary_flag='Y'
4508: and owner_table_id = p_party_site_id;
4509: BEGIN

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

4586: p_party_site_list HZ_PARTY_SEARCH.IDList;
4587: p_contact_ids HZ_PARTY_SEARCH.IDList;
4588: l_match_idx NUMBER;
4589: cursor get_cpt_for_contact_id is select contact_point_id
4590: from hz_org_contacts a, hz_relationships b, hz_contact_points c
4591: where a.party_relationship_id = b.relationship_id
4592: and c.owner_table_name = 'HZ_PARTIES'
4593: and c.primary_flag='Y'
4594: and c.owner_table_id = b.party_id

Line 5995: FROM HZ_CONTACT_POINTS

5991: ct := ct+1;
5992: END LOOP;
5993: FOR CONTACT_POINTS IN (
5994: SELECT CONTACT_POINT_ID
5995: FROM HZ_CONTACT_POINTS
5996: WHERE PRIMARY_FLAG = 'Y'
5997: AND owner_table_name = 'HZ_PARTIES'
5998: AND owner_table_id = p_party_id
5999:

Line 6003: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS

5999:
6000: UNION
6001:
6002: SELECT CONTACT_POINT_ID
6003: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS
6004: WHERE PRIMARY_FLAG = 'Y'
6005: AND owner_table_name = 'HZ_PARTIES'
6006: AND OWNER_TABLE_ID = HZ_RELATIONSHIPS.party_id
6007: AND HZ_RELATIONSHIPS.object_id = p_party_id

Line 6016: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES

6012: AND ROWNUM<6
6013: UNION
6014:
6015: SELECT CONTACT_POINT_ID
6016: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES
6017: WHERE PRIMARY_FLAG = 'Y'
6018: AND owner_table_name = 'HZ_PARTY_SITES'
6019: AND owner_table_id = party_site_id
6020: AND PARTY_ID = p_party_id

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

6268:
6269: -- Cursor to fetch primary contact points for party
6270: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
6271: SELECT contact_point_id, contact_point_type
6272: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
6273: FROM HZ_CONTACT_POINTS
6274: WHERE contact_point_id = cp_contact_point_id;
6275:
6276: I NUMBER;

Line 6273: FROM HZ_CONTACT_POINTS

6269: -- Cursor to fetch primary contact points for party
6270: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
6271: SELECT contact_point_id, contact_point_type
6272: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
6273: FROM HZ_CONTACT_POINTS
6274: WHERE contact_point_id = cp_contact_point_id;
6275:
6276: I NUMBER;
6277: l_contact_point_id NUMBER;