SAP Message WS504 - In company code &1, the cash discount amount contains tax

Diagnosis
In company code &v1&, the cash discount is calculated on the grossamount. This distorts the results of profit simulation.

Procedure for System Administration
Cash discount conditions are not taken into account in profitsimulation if you remove the "Calculate cash discount" indicator inCustomizing for the profit group.