Price chain - CX_PRICE_DISCOUNT
The following example is listed without prices:
Price in the price agreement of the supplier: PRICE TABLE+PRICE TABLE+DISCOUNT
First prize table is main prize:
DN_REG = "DN 80" -> 1.385€
The second price table is a surcharge (if the first price table yields a result) with an attached further discount:
P_TEIL_AUS = 32.0 bar -> 128€/1piece -17%.
Percentage surcharge as third position in the complex price:
+10%
This price structure is recorded here.
The objects of class CX_PRICE_DISCOUNT each have a slot that specifies whether the value in the data field charge is added or subtracted.
There are two default values here:
2=subtract.
3=add...
current value in charge