Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 1,085

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

  • Andy Adamak Profile Picture
    Andy Adamak 4,070 on at
    RE: [AX 2012] report a production order as finished with X++

    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.

  • Suggested answer
    Florian Hopfner Profile Picture
    Florian Hopfner 2,449 on at
    RE: [AX 2012] report a production order as finished with X++

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans