the query seems ok when sales UOM found in the inventtablemodule table for the same itemid. refer to the picture below.
however, when sales UOM not found in the inventtablemodule table for the itemid, my query will not gives the correct sales amount.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156