Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : 2ILY3M1tR5qhYJpMDn/JAl
Small and medium business | Business Central, N...
Suggested answer

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

Like (0) ShareShare
ReportReport
Posted on 15 Nov 2023 22:04:53 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.
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,168 Super User 2025 Season 1 on 16 Nov 2023 at 07:25:31
    Error - Sales Line Disc. Account must have a value in General Posting Setup:
    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.
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,005 Moderator on 15 Nov 2023 at 22:29:57
    Error - Sales Line Disc. Account must have a value in General Posting Setup:
    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.
     

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... 293,518 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,594 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete