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)

[AX 2012] report a production order as finished with X++

(0) ShareShare
ReportReport
Posted on by 1,087

Anyone got a snippet of code to report a production order as finished and post a journal (single product and coproducts)?

thank you in advance

regards

*This post is locked for comments

  • Suggested answer
    Florian Hopfner Profile Picture
    2,466 on at

    Report a production order as finished: Seems to be the same as in 2009, use class ProdUpdReportFinished and a ProdParmReportFinished record.

    I'm not sure what you mean by single/co products and what journal you want to post, but for production journals you can use class ProdJournalCheckPost and its subclasses, e.g. ProdJournalCheckPostBOM for a picking list or ProdJournalCheckPostRouteJob to post a job journal.

  • Andy Adamak Profile Picture
    4,074 on at

    As the previous comment suggests, you'll need to utilize a number of classes depending on your scenario.  If you're having trouble, step through the code while doing the process in the front end.  This will give you a good idea of the code path that needs to be taken.

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

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans