Share via

How to resolve Sales Order Posting Error "You must enter a value in Gen. Prod. Posting Group for Line No. 40000 if you want to post discounts for that line".

Karen Wingard 20 Reputation points
2026-05-12T15:57:32.23+00:00

When posting a Sales Order I get the error "You must enter a value in Gen. Prod. Posting Group for Line No. 40000 if you want to post discounts for that line". I don't have a discount

Microsoft 365 and Office | Other
0 comments No comments

Answer accepted by question author

AI answer

2026-05-12T15:57:50.8066667+00:00

The error indicates that for line 40000 on the sales order, the system is trying to post a discount and therefore requires a value in the “Gen. Prod. Posting Group” field for that line’s G/L account or item. Even if there is no explicit discount line, invoice or line discounts can still be calculated.

To resolve this, ensure that the G/L account or item used on line 40000 has a valid “Gen. Prod. Posting Group” set up so discounts can be posted. If discounts should never be posted for that line, adjust the setup so that discount posting does not apply to that line type, or remove any implicit discount configuration affecting that line.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.