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!
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.
My task isn't this.
My task is to correct the Corrective credit memo action. :)
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.,
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.
do you know what code is written and where to make it true/false in that corrective process?
Type is Boolean,
And it is normal field
what type of field is it? flowfield or normal field?
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?
Are you using the below action?
I am able to create the creditmemo with closed posted sales invoice.
which version are you using?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156