Hi, I am trying to write some x++ code that can take in a production ID and from it create a production input journal, create a line and assign a pallet id to the produced goods. I then want to post the journal, again using code. Can anyone help. I have tried to look to see if there are any classes that can help, but there doesn't seem to be much out there. I have looked at the WMSJournalTableData class and WMSJournalCreateLines.
I couldn't find an appropriate method in the WMSJournalTableData class which could create and post the journal, however I was able to create a record in the WMSJournalTable manually. Now not sure how to post it , and whether using WMSJournalCreateLines would link in with my newly created record. Can't find much documentation on this. Any help would be much appreciated. Thanks.

