Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

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

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
    Bcfanatic 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
    Bcfanatic 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
    Bcfanatic 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
    Community Member Microsoft Employee 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
    Ola Darwish 905 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
    JAngle 33,135 on at
    RE: Correct and Cancel function on Posted Sales and Purchase Invoices in Business Central Error

    Sounds like a bug. Which localisation?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans