web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Invoice XXX is closed. The corrective credit memo will not be applied to the invoice.

(0) ShareShare
ReportReport
Posted on by 60

Hi,
I get the following message when I try to create a credit memo from a Posted Sales Invoice where Closed Field is True.
"Invoice XXX is closed. The corrective credit memo will not be applied to the invoice. Show applied entries |Skip|Create credit memo anyway"

How can I skip this Error? Because it I can't change a custom Boolean field that is True is Sales Invoice Header and I want to make it False in sales Hedear for current created Sales Credit Memo. It works when Posted Sales Invoice has the field Closed No, but not when the closed is yes.

I will appreciate your help guys!

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,214 Super User 2026 Season 1 on at

    Are you using the below action?

    I am able to create the creditmemo with closed posted sales invoice.

    pastedimage1673008407845v1.png

    which version are you using?

  • Ana Cerric Profile Picture
    60 on at

    I am able too, but my problem is that I have an custom boolean field that is in posted invoice it is True and i want that when i create a credit memo the value of custom boolean field should be False.

    When Posted invoice has Closed field to True and  I create a credit memo, my custom feild does not change to false as i want.

    And when Posted invoice has closed field to false, my custom field change to false.

    Where is the problem?

  • Suggested answer
    Mohana Yadav Profile Picture
    61,214 Super User 2026 Season 1 on at

    what type of field is it? flowfield or normal field?

  • Ana Cerric Profile Picture
    60 on at

    Type is Boolean,

    And it is normal field

  • Suggested answer
    Mohana Yadav Profile Picture
    61,214 Super User 2026 Season 1 on at

    do you know what code is written and where to make it true/false in that corrective process?

  • IB-29041624-0 Profile Picture
    1,187 Moderator on at

    The solution is to use Copy document instead.

    Create a new credit memo and use the copy document feature to copy the posted sales invoice into a credit memo.

  • Ana Cerric Profile Picture
    60 on at

    In Corrective Credit Memo action, i have added the following statements:

    SalesHeader.field:= FALSE;

    SalesHeader.MODIFY();

    I repeat that When an invoice is not closed, and i create a credit memo, my custom field change to false... this is what i want...

    Buuutttt, In Posted Sales invoices that are closed,

    My field doesnt change, It stay True.,

  • Ana Cerric Profile Picture
    60 on at

    My task isn't this.

    My task is to correct the Corrective credit memo action. :)

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,187 Moderator on at

    That is a task you really should not do.

    The copy document are there for cases where you can not use the corrective credit memo action.

    The corrective credit memo action should only be used for open sales invoices. That is by design and has to do with the application of entries in your customer ledger entries.  So the error message you are getting is there for a reason.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,865 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,098 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 898

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans