DBA Data[Home] [Help]

APPS.HZ_MATCH_RULE_7 dependencies on HZ_CONTACT_POINTS

Line 407: FROM HZ_CONTACT_POINTS

403: END IF;
404: IF p_attribute = 'EMAIL_ADDRESS' THEN
405: BEGIN
406: SELECT EMAIL_ADDRESS INTO l_matched_value
407: FROM HZ_CONTACT_POINTS
408: WHERE contact_point_id = p_record_id and rownum=1;
409: EXCEPTION
410: WHEN NO_DATA_FOUND THEN
411: l_matched_value := 'Err';

Line 4067: from hz_contact_points

4063: p_party_site_list HZ_PARTY_SEARCH.IDList;
4064: p_contact_ids HZ_PARTY_SEARCH.IDList;
4065: l_match_idx NUMBER;
4066: cursor get_cpts_for_party_sites is select contact_point_id
4067: from hz_contact_points
4068: where owner_table_name = 'HZ_PARTY_SITES'
4069: and primary_flag='Y'
4070: and owner_table_id = p_party_site_id;
4071: BEGIN

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

4148: p_party_site_list HZ_PARTY_SEARCH.IDList;
4149: p_contact_ids HZ_PARTY_SEARCH.IDList;
4150: l_match_idx NUMBER;
4151: cursor get_cpt_for_contact_id is select contact_point_id
4152: from hz_org_contacts a, hz_relationships b, hz_contact_points c
4153: where a.party_relationship_id = b.relationship_id
4154: and c.owner_table_name = 'HZ_PARTIES'
4155: and c.primary_flag='Y'
4156: and c.owner_table_id = b.party_id

Line 5489: FROM HZ_CONTACT_POINTS

5485: ps:=ps+1;
5486: END LOOP;
5487: FOR CONTACT_POINTS IN (
5488: SELECT CONTACT_POINT_ID
5489: FROM HZ_CONTACT_POINTS
5490: WHERE PRIMARY_FLAG = 'Y'
5491: AND owner_table_name = 'HZ_PARTIES'
5492: AND owner_table_id = p_party_id
5493:

Line 5497: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS

5493:
5494: UNION
5495:
5496: SELECT CONTACT_POINT_ID
5497: FROM HZ_CONTACT_POINTS,HZ_ORG_CONTACTS, HZ_RELATIONSHIPS
5498: WHERE PRIMARY_FLAG = 'Y'
5499: AND owner_table_name = 'HZ_PARTIES'
5500: AND OWNER_TABLE_ID = HZ_RELATIONSHIPS.party_id
5501: AND HZ_RELATIONSHIPS.object_id = p_party_id

Line 5510: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES

5506: AND ROWNUM<6
5507: UNION
5508:
5509: SELECT CONTACT_POINT_ID
5510: FROM HZ_CONTACT_POINTS,HZ_PARTY_SITES
5511: WHERE PRIMARY_FLAG = 'Y'
5512: AND owner_table_name = 'HZ_PARTY_SITES'
5513: AND owner_table_id = party_site_id
5514: AND PARTY_ID = p_party_id

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

5762:
5763: -- Cursor to fetch primary contact points for party
5764: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
5765: SELECT contact_point_id, contact_point_type
5766: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
5767: FROM HZ_CONTACT_POINTS
5768: WHERE contact_point_id = cp_contact_point_id;
5769:
5770: I NUMBER;

Line 5767: FROM HZ_CONTACT_POINTS

5763: -- Cursor to fetch primary contact points for party
5764: CURSOR c_cpts(cp_contact_point_id NUMBER) IS
5765: SELECT contact_point_id, contact_point_type
5766: ,translate(HZ_CONTACT_POINTS.EMAIL_ADDRESS, '%',' ')
5767: FROM HZ_CONTACT_POINTS
5768: WHERE contact_point_id = cp_contact_point_id;
5769:
5770: I NUMBER;
5771: l_contact_point_id NUMBER;