Tuesday 12 March 2013

"Journal has already been posted and, consequently, is not open"

Cause:

The cause of this error is when you are trying to post a Journal which is already posted.This mostly happens when you are trying to post using X++ code.

Check if you are passing new record(LedgerJournalTable) to Class LedgerJournalCheckPost everytime you call it for posting.

First time you call the class the selected record gets posted but second time it is stopped in the validation process.As the record is already posted once.

2 comments:

  1. THe journal that has been posted has different date to the date of the journal i am needing to post.A few lines from the same file i imported ,imported and posted but not the full file.I use Azure to import files into Hour Journal on D365.

    ReplyDelete