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 :
Microsoft Dynamics AX (Archived)

How to create BOM Journal via code using X++?

(0) ShareShare
ReportReport
Posted on by

Hi,

Any one can provide some sample code to create the BOM journal using X++ in AX 2009 or AX 2012?

 

Thanks

Matt

 

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at

    See and copy the related to Inventory Movement Journal for creating/posting by x++ code at

    http://learnax.blogspot.com/2010/01/x-code-to-create-and-post-inventory.html

    or

    http://axhelper.blogspot.com/2011/11/create-post-inventory-journal-in-ax.html

     

    Additionally apply the below listed changes for 'Inventory BOM Journal' :

    1) InventJournalTable.JournalType = InventJournalType::BOM;

    2) InventJournalTable.JournalNameId = ‘JournalNameId’;

    // journal name that has specified as InventJournalName.JournalType=InventJournalType::BOM

    3) InventJournalTrans.BOMLine = true;  // atleast one line for raw material items with InventJournalTrans.BOMLine = true

    4) specify InventJournalTrans’s Inventory Dimensions to be of production related 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans