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

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


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)