DBA Data[Home] [Help]

APPS.HZ_MATCH_RULE_98 dependencies on HZ_CONTACT_POINTS

Line 340: FROM HZ_CONTACT_POINTS

336: END IF;
337: IF p_attribute = 'EMAIL_ADDRESS' THEN
338: BEGIN
339: SELECT EMAIL_ADDRESS INTO l_matched_value
340: FROM HZ_CONTACT_POINTS
341: WHERE contact_point_id = p_record_id and rownum=1;
342: EXCEPTION
343: WHEN NO_DATA_FOUND THEN
344: l_matched_value := 'Err';

Line 4041: from hz_contact_points

4037: p_party_site_list HZ_PARTY_SEARCH.IDList;
4038: p_contact_ids HZ_PARTY_SEARCH.IDList;
4039: l_match_idx NUMBER;
4040: cursor get_cpts_for_party_sites is select contact_point_id
4041: from hz_contact_points
4042: where owner_table_name = 'HZ_PARTY_SITES'
4043: and primary_flag='Y'
4044: and owner_table_id = p_party_site_id;
4045: BEGIN

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

4122: p_party_site_list HZ_PARTY_SEARCH.IDList;
4123: p_contact_ids HZ_PARTY_SEARCH.IDList;
4124: l_match_idx NUMBER;
4125: cursor get_cpt_for_contact_id is select contact_point_id
4126: from hz_org_contacts a, hz_relationships b, hz_contact_points c
4127: where a.party_relationship_id = b.relationship_id
4128: and c.owner_table_name = 'HZ_PARTIES'
4129: and c.primary_flag='Y'
4130: and c.owner_table_id = b.party_id

Line 5417: FROM HZ_CONTACT_POINTS

5413: ct := ct+1;
5414: END LOOP;
5415: FOR CONTACT_POINTS IN (
5416: SELECT CONTACT_POINT_ID
5417: FROM HZ_CONTACT_POINTS
5418: WHERE PRIMARY_FLAG = 'Y'
5419: AND owner_table_name = 'HZ_PARTIES'
5420: AND owner_table_id = p_party_id
5421:

Line 5425: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS

5421:
5422: UNION
5423:
5424: SELECT CONTACT_POINT_ID
5425: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS
5426: WHERE PRIMARY_FLAG = 'Y'
5427: AND owner_table_name = 'HZ_PARTIES'
5428: AND OWNER_TABLE_ID = HZ_RELATIONSHIPS.party_id
5429: AND HZ_RELATIONSHIPS.object_id = p_party_id

Line 5438: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES

5434: AND ROWNUM<6
5435: UNION
5436:
5437: SELECT CONTACT_POINT_ID
5438: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES
5439: WHERE PRIMARY_FLAG = 'Y'
5440: AND owner_table_name = 'HZ_PARTY_SITES'
5441: AND owner_table_id = party_site_id
5442: AND PARTY_ID = p_party_id

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

5672:
5673: -- Cursor to fetch primary contact points for party
5674: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
5675: SELECT contact_point_id, contact_point_type
5676: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
5677: FROM HZ_CONTACT_POINTS
5678: WHERE contact_point_id = cp_contact_point_id;
5679:
5680: I NUMBER;

Line 5677: FROM HZ_CONTACT_POINTS

5673: -- Cursor to fetch primary contact points for party
5674: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
5675: SELECT contact_point_id, contact_point_type
5676: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
5677: FROM HZ_CONTACT_POINTS
5678: WHERE contact_point_id = cp_contact_point_id;
5679:
5680: I NUMBER;
5681: l_contact_point_id NUMBER;