Here is the SQL Query to get the Supplier Basic information such as Supplier Name, Supplier Site, Vendor Site ID.
Use this query, modify by adding additional columns as required and extract the data.
SQL Query
SELECT psv.vendor_name supplierName
,pssam.vendor_site_code supplierSite
,hps.party_site_id HZ_Party_Site_ID
,pssam.vendor_site_id vendor_site_id
FROM poz_suppliers_v psv,
poz_supplier_sites_all_m pssam,
hz_party_sites HPS
WHERE pssam.vendor_id=psv.vendor_id
AND hps.party_site_id = pssam.party_site_id
Use this query, modify by adding additional columns as required and extract the data.
SQL Query
SELECT psv.vendor_name supplierName
,pssam.vendor_site_code supplierSite
,hps.party_site_id HZ_Party_Site_ID
,pssam.vendor_site_id vendor_site_id
FROM poz_suppliers_v psv,
poz_supplier_sites_all_m pssam,
hz_party_sites HPS
WHERE pssam.vendor_id=psv.vendor_id
AND hps.party_site_id = pssam.party_site_id
No comments:
Post a Comment