Can someone help me to understand how I can extract all the Sales order lines, customer returns in this case where the Warehouse location is missing?
Also, database query is fine.
Thanks
Can someone help me to understand how I can extract all the Sales order lines, customer returns in this case where the Warehouse location is missing?
Also, database query is fine.
Thanks
Hi mcy,
You can try this SQL query -
SELECT * FROM SALESLINE AS SL JOIN SALESTABLE AS ST ON ST.SALESID = SL.SALESID JOIN INVENTDIM AS INVD ON INVD.INVENTDIMID = SL.INVENTDIMID WHERE ST.SALESTYPE = 4 AND INVD.INVENTLOCATIONID = ''
André Arnaud de Cal... 291,735 Super User 2024 Season 2
Martin Dráb 230,466 Most Valuable Professional
nmaenpaa 101,156