Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

(0) ShareShare
ReportReport
Posted on by 10

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.

  • Bcfanatic Profile Picture
    10 on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    This is happening to open Posted Purchase Invoices and Posted Sales Invoices. Haven't been paid.

    It's weird...

  • Bcfanatic Profile Picture
    10 on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    Invoice is not paid and still open.

  • Bcfanatic Profile Picture
    10 on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    United States

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    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

  • Ola Darwish Profile Picture
    907 on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    Is this invoice fully or partially paid?

  • JAngle Profile Picture
    83 on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    Sounds like a bug. Which localisation?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans