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)

Production Order : a code creating a production journal and production journal lines

(0) ShareShare
ReportReport
Posted on by

Hi all,

When I try to report a production order as finished we had this error

OF1.png

so in order to pass this we have to create a production journal with production journal lines and then post it

OF2.png

OF3.png

this was tested and it is working.

we are using a batch job that closes the production order so I want to create a code that create and post the journal.

I tried inserting directly to ProdJournalRoute and ProdJournalTable (the tables behind the production journal and production journal lines)

I can see it when opening the table from the AOT but not from the AX client

So when I try to report the production order as finished I have the same error (it's like AX is not seeing the journals I inserted)

So is there something i'm missing to insert in the journal besides a simple insert into the table (I respected the mandatory fields and I linked the production journal to the production journal lines).

Thanks 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    rafik_ Profile Picture
    225 on at

    Just pass the parm for  Automatic route consumption marked

  • Suggested answer
    Junaid Idrees Profile Picture
    2 on at

    I will suggest not to do such kind of customization since this can impact labor and machine cost for any other manufacturing scenario where you want to consume the cost.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans