Question Status

Suggested Answer
Hari Vallabhaneni asked a question on 13 Oct 2013 2:40 AM

Hi Everyone,

I need to create and post production order report as finished journal thur code with batch number and serial number in AX 2012

Can anyone help me

Regards,

Hari

Reply
Suggested Answer
Leandro Honório responded on 14 Oct 2013 5:22 AM

Hi, Hari

You need to use ProdJournalCreateProd and ProdJournalCheckPostProd classes.

The method ProdJournalCreateProd::newReportFinished can help you a lot, I guess. Then post the journal with ProdJournalCheckpostProd. Make sure you set the correct parameters using the parm methods, as you would when manually creating a raf journal.

Regards,

Leandro H.

Reply
Suggested Answer
Leandro Honório responded on 14 Oct 2013 5:22 AM

Hi, Hari

You need to use ProdJournalCreateProd and ProdJournalCheckPostProd classes.

The method ProdJournalCreateProd::newReportFinished can help you a lot, I guess. Then post the journal with ProdJournalCheckpostProd. Make sure you set the correct parameters using the parm methods, as you would when manually creating a raf journal.

Regards,

Leandro H.

Reply