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 :
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

I have the same question (0)
  • Suggested answer
    Florian Hopfner Profile Picture
    2,461 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

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

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans