Error when trying to End a Production

I have completely processed a BOM for a job, all the journals posted, and when I go back to Update, End, I get the following error message: “Account number for transaction type Production issue does not exist”.

I cannot end this production and have restarted it several times, repicking all of my items and starting new journals. I can’t figure out why this message is coming up. By not being able to End the Production, I could not invoice the job. This is the second time in the last few days it has happened.

Any help is appreciated.

It seems the posting accounts(Issue and Issue offset account in the production tab) for the item group assigned to the raw material used in the production are not defined…