How to create and post the production picking list journal in dynamics ax via a job

Hello everyone,

Is Anyone have done the production picking list journal via code in dynamics ax 2009. Kindly reply.

Regards

Varun Garg

Hiiiii…

Try this code…

ProdJournalCheckPostBOM prodJournalCheckPostBOM;
;
ProdJournalCheckPostBOM = ProdJournalCheckPostBOM::newPostJournal(_record.JournalId,false);

ProdJournalCheckPostBOM.run();

Hello Lakshmi Somjanya.B,

Thanks for the reply , but this code only automatically post picking list journal . I want the whole process i.e creating and posting journal via code in dynamics ax. Any ways thanks once again.

Regards

Varun Garg

I have done the creation and posting of picking list journal in dynamics ax.

Varun,

Can you tell me how you did this ?? I need to do the same for a production RAF journal !!

Thanks,

Kumar

Hello Kumar,

I just follow ProdUpdStartUp class → update consumption method. Please check this class, I created a similar class and used as a menu item button on a Form.

Regards

Varun Garg

Thanks Varun,

That was helpful !!

Kumar