Announcements
I’m sure I’m missing a setting somewhere because this doesn’t happen to my other client.
Every time I use the Correct or Cancel function on a posted sales invoice or posted purchase invoice I get this error message:
”Canceling the invoice failed because of the following error:
Applied-to ID must be equal to “ in Gen. Journal Line; Journal Template Name =, Journal Batch Name=, Line No.0. Current Value is ‘S-CR1011’.
A credit memo is created but not posted. Do you want to open the credit memo?”
Any would be greatly appreciated.
This is happening to open Posted Purchase Invoices and Posted Sales Invoices. Haven't been paid.
It's weird...
Invoice is not paid and still open.
United States
Hello,
Adding to what Ola wrote, can you explain further about the Invoice you are trying to Correct and Cancel. Here is an overview of the Correct and Cancel functionality:
Correct - Reverse the posted invoice. A credit memo will be created and matched with the invoice and the invoice will be canceled. Any Shipments for the Invoice will be reversed.
Cancel - Create and post a credit memo that reverses the posted Invoice. This posted invoice will be canceled.
Now one thing to realize is that if the Posted Invoice has been closed (applied-to) then the Correct feature will not work since it is trying to apply the Credit Memo to a Posted Invoice that is not Open. In this case, the Cancel is the correct approach. Also note that the Cancel will post the transaction in reverse and if the Item so please make sure you have the inventory available to reverse, if this is the case.
Hope this helps.
Thanks,
Steve
Is this invoice fully or partially paid?
Sounds like a bug. Which localisation?
André Arnaud de Cal...
294,161
Super User 2025 Season 1
Martin Dráb
232,942
Most Valuable Professional
nmaenpaa
101,158
Moderator