Hi Akil,
try with this
select
t1.*
from OINV to
join CRD1 t1 on t0.CardCode = t1.CardCode and t0.ShipTo = t1.Address and t1.AdresType = N'S'
This will give all shipping address fields related to an invoice.
Regards
Pierre
Hi Akil,
try with this
select
t1.*
from OINV to
join CRD1 t1 on t0.CardCode = t1.CardCode and t0.ShipTo = t1.Address and t1.AdresType = N'S'
This will give all shipping address fields related to an invoice.
Regards
Pierre