I found this error message and proceeded to review the following areas (below) only to come to a dead end.
- Verified that Journal Voucher Number Sequence is set to Company - not Ledger.
- Verified that there was no overlap on number sequence.
- Verified that number sequence format and next sequence # numbering match.
- Checked number sequence status
- Ran Manual Cleanup.
So I ended up going to AOT and found that the number sequence was indeed set to 0. This transaction had been imported and apparently this had been overlooked or there was an issue here. As such...the transaction could not be deleted and was resulting in this error message. Here are the steps to take to resolve this issue:
- Open the AOT and find the LedgerJournalTable.
- Find the Journal in question and look at the NumberSequenceTable field. In this issue - it is set to 0.
- Review the number sequence for the Journal.
- Obtain the recid from the number sequence by right-clicking on the Number Sequence form and clicking on Record Info.
- Go back to the AOT to the LedgerJournalTable and copy the recid previously obtained from the Number Sequence into the NumberSequenceTable field.
- Go back to the journal and now you can delete the Journal.