DBA Data[Home] [Help]

APPS.PO_INQ_SV dependencies on HZ_RELATIONSHIPS

Line 1946: --SQL Why: Get vendor_name from hz_parties via hz_relationships starting

1942:
1943: BEGIN
1944:
1945: --SQL What: Query vendor name based on log on name
1946: --SQL Why: Get vendor_name from hz_parties via hz_relationships starting
1947: -- from fnd_user.user_name
1948: SELECT hp.party_name
1949: INTO x_vendor_name
1950: FROM hz_parties hp,

Line 1951: hz_relationships h2,

1947: -- from fnd_user.user_name
1948: SELECT hp.party_name
1949: INTO x_vendor_name
1950: FROM hz_parties hp,
1951: hz_relationships h2,
1952: fnd_user fu
1953: WHERE hp.party_id = h2.subject_id
1954: AND h2.subject_type = 'ORGANIZATION'
1955: AND h2.object_type = 'PERSON'