web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Entities Used to Calculate Average Item Cost

(0) ShareShare
ReportReport
Posted on by 15

Hello,

We have the ability to export entities to our BYOD and I was wondering which entities can I use to calculate the average cost for our items in inventory?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi ewallace,

    I'm not able to understand what exactly you are looking for. The average cost is calculated in Dynamics 365 when posting inventory transactions.

  • ewallace Profile Picture
    15 on at

    We need to calculate an average cost per item by vendor and warehouse location in our external reporting outside of the D365 UI. Our reporting stack looks like this....D365 ----> BYOD ----> data transformation in the BYOD ----> a Tableau report that joins data from the BYOD with data from other systems.

    I'm trying to find a data entity or set of entities I can export to my BYOD that either already contains an average cost statistic or contains columns that allows me to calculate an average cost value in SQL. I'm having a difficult time finding which entity or entities contain this information? Would you happen to know which entity or entities I could use?

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    There is no standard entity containing the average cost or able to calculate it. You would need to develop your own data entity for that purpose.

  • ewallace Profile Picture
    15 on at

    Thanks for the reply Andre. Not sure if I have the rights to construct new entities and I'm under the impression that custom entities cannot be published to a BYOD (correct me if I'm wrong). Would you know which entities would contain the pieces I need? My plan is to publish those entities and then perform my joins and calculations on the BYOD server.

  • nunomaia Profile Picture
    25 Moderator on at

    Custom entities can be published to BYOD without any problems. You just need to point custom date entities to tables that have pretended information.

  • ewallace Profile Picture
    15 on at

    Thanks Nuno - do you happen to have any links on how to do that?

    Do I just create a table in my BYOD without any data and matching column names from my new table to the custom entity? How would I go about pointing the custom entity to the new BYOD table in the D365 UI?

  • nunomaia Profile Picture
    25 Moderator on at

    1. You need to create a custom entity that is mapped to average cost tables in D365.

    2. Publish that data entity in D365.

    3 . Add Custom data entity to your BYOD export job.

    for 1, you need a dev machine  

    Check learn.microsoft.com/.../data-entities

  • ewallace Profile Picture
    15 on at

    Thanks - so I guess this goes back to my original question. Do you know which data points from which entities I can combine together to allow me to calculate average cost?

  • nunomaia Profile Picture
    25 Moderator on at

    You need a data entity that exposed the same logic of Table InventSum under method averageCostPrice()

    It's a simple calculation, but not a direct field.  

  • ewallace Profile Picture
    15 on at

    Thanks I understand that. Do you know the names of any entity or entities that may expose the fields needed to make the calculation?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans