Sunday, May 26, 2013
Query to find map, connection type and vendor details of a Supplier Trading Partner
Below query
is shared by our Guest Author, This query is used to fetch
the important details like map, connection type and vendor details of the
Trading partner of type SUPPLIER.
SELECT asup.vendor_name,
eth.party_type,
etd.connection_type,
em.map_code
FROM ecx_tp_headers eth,
ecx_tp_details etd,
ecx_mappings em,
ap_suppliers asup,
ap_supplier_sites_all assa
WHERE eth.tp_header_id = etd.tp_header_id
AND asup.vendor_id = eth.party_id
AND assa.vendor_site_id = eth.party_site_id
AND assa.vendor_id = asup.vendor_id
AND em.map_id(+)
= etd.map_id
AND eth.party_type = 'S';
Do you think this Article is useful?
Subscribe to:
Post Comments (Atom)
Disclaimer
The ideas, thoughts and concepts expressed here are my own. They, in no way reflect those of my employer or any other organization/client that I am associated. The articles presented doesn't imply to any particular organization or client and are meant only for knowledge Sharing purpose. The articles can't be reproduced or copied without the Owner's knowledge or permission.
0 Responses to “Query to find map, connection type and vendor details of a Supplier Trading Partner”
Post a Comment