Skip to main content

Notifications

Announcements

No record found.

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.
  • Suggested answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,973 Super User 2024 Season 2 on at
    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
    Inge M. Bruvik 993 Super User 2024 Season 1 on at
    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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans