Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

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

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.
Categories:
  • Suggested answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,660 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 32,744 Moderator 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.
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans