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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Error - Sales Line Disc. Account must have a value in General Posting Setup:

(0) ShareShare
ReportReport
Posted on by
When I cancel a Sales credit Memo from Posted Sales Credit Memo. I get the following error.

/Sales Line Disc. Account must have a value in General Posting Setup: Gen. Bus. Posting Group=LOCAL, Gen. Prod. Posting Group=CONSERV. It cannot be zero or empty./
 
The credit memo does not have any line discount.
 
The credit memo was created by cancelling an invoice.  and the original invoice against which the credit memo was created also does not have sales line discount.
 
I can continue by populating the line discount account in general posting setup. 
 
May be this is  something that Microsoft needs to fix.
I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at
    You should be aware that if you use a different price in a sales document then what is defined by the item or a price list Business Central will in some cases consider that to be a discount depending on how the sales document is entered.
    So maybe that is the situation in your case. 
    If you look at the lines details CTRL+ALT+F1 then you can check if any of the discount fields got a value.
     
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,780 Super User 2025 Season 2 on at
    You can populate the account no in the setup, and then do the Posting Preview on the Credit Memo and check if any amounts are actually posted to the account. 
    If Yes- examine more detailed the Credit Memo lines (also with page Inspection to see all table fields (Ctrl+Alt+F1))
     
    If no amount is posted to this account - then could be something of a bug or version issue or some modification/extension/add-on that causes this. Would need to ask Your partner to examine that from the Code perspective.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans