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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to get the production bom item cost x++

(0) ShareShare
ReportReport
Posted on by 60

Hi,

I'm trying to get the production bom item cost price per unit through code. 

Does anyone have an idea how to do that?

Regards,

Brightlin

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,508 Super User 2026 Season 1 on at

    Hi Brightlin,

    Can you elaborate on the business process where you need this? What exact cost do you want to retrieve? Estimated, WIP, or cost calculated?

  • Brightlin Profile Picture
    60 on at

    Sure André.

    When you go to Production control -> Common -> Production orders -> All production orders -> open a production -> Production order tab -> under Production details group -> BOM -> select a bom item -> click on the Inventory drop down -> Transaction -> and there you have the cost amount field, which a calculated method.

    For the invoiced production orders parent item, I want to get it's bom item cost amount.

    How to get the bom item cost amount?

    Am I clear?

    Regards,

  • André Arnaud de Calavon Profile Picture
    304,508 Super User 2026 Season 1 on at

    If I understand you correctly, you need the cost price from the related inventory transaction. If I'm not mistaken, the calculated method is available on the table. You can try to find the correct InventTrans in coding and then call the display method to get this amount.

    I'm not sure if you need all cost from all BOM lines or one single item line.

  • Brightlin Profile Picture
    60 on at

    I tried using the calculated methods by since the bom items have been invoiced, I don't get the correct cost price from those methods comparing to their respective inventory transactions.

  • André Arnaud de Calavon Profile Picture
    304,508 Super User 2026 Season 1 on at

    Can you share the code you used with your approach? That might help understanding where to assist you.

  • Brightlin Profile Picture
    60 on at

    I was using the calculated methods that comes with AX. When I was comparing it to the inventory transaction cost price, at times is was the same other time not.

  • André Arnaud de Calavon Profile Picture
    304,508 Super User 2026 Season 1 on at

    Hi Brightlin,

    Can you provide some examples? Note that the inventory closing or recalculation can indeed create an adjustment on the inventory transaction which is not reflected on the production order.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 606 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans