Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

how to get the sum of cost amount from inventTrans table with group by Warehouse in d365fo.

(0) ShareShare
ReportReport
Posted on by 31
I want sum of cost value but the cost value is not field actually its a method i want the sum of that by warehouse you can group by warehouse.  I want qty, cost value and i get the qty field sum by this method and it worked:
 
And i tried this method for cost value but it is not working:
please suggest me any solution for getting sum of cost value from InventTrans by warehouse.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    294,161 Super User 2025 Season 1 on at
    how to get the sum of cost amount from inventTrans table with group by Warehouse in d365fo.
    Hi Munib,
     
    You can better use the table InventSum as a base to create these queries. You can then directly query for the sum of some quantity and value fields. It is easier and much better for performance considerations.
  • Munib Ahmed Profile Picture
    31 on at
    how to get the sum of cost amount from inventTrans table with group by Warehouse in d365fo.
     
    Can you help with this problem.
    I want sum of cost value but the cost value is not field actually its a method i want the sum of that by warehouse you can group by warehouse.  I want qty, cost value and i get the qty field sum by this method and it worked:

    And i tried this method for cost value but it is not working:
    please suggest me any solution for getting sum of cost value from InventTrans by warehouse.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans