Hi,
The query for Preferred vendors:
Select T0.ItemCode,T0.ItemName,T1.VendorCode,T2.CardName 'Prefered Vendor'
from OITM T0
inner join ITM2 T1 on T0.ItemCode = T1.ItemCode
inner join OCRD T2 on T1.VendorCode = T2.CardCode
Hi,
The query for Preferred vendors:
Select T0.ItemCode,T0.ItemName,T1.VendorCode,T2.CardName 'Prefered Vendor'
from OITM T0
inner join ITM2 T1 on T0.ItemCode = T1.ItemCode
inner join OCRD T2 on T1.VendorCode = T2.CardCode