Closed metas-mk closed 6 years ago
requires: https://github.com/metasfresh/metasfresh-webui-api/issues/852 (Color Indicator Widget functionality API)
Introduce C_OrderLine.M_DiscountSchemaBreak_ID. Set that column when the price is calculated. i.e.
Discount.calculate
Introduce de.metas.order.NoPriceConditionsColorName
sysconfig which by default shall be empty or -
. Btw, in code, handle -
as empty.
Introduce C_OrderLine.NoPriceConditionsColor_ID column, reference=Color
If
de.metas.order.NoPriceConditionsColorName
sysconfig is setde.metas.order.NoPriceConditionsColorName
IT
#ffff00
OKOn the purchase side works the same. Is that wanted? OK? - OK for now!
#ffff00
OK
Is this a bug or feature request?
Feature Request
What is the current behavior?
Currently, all Products can be recorded in document lines as long as they are available on product prices of the price system.
Which are the steps to reproduce?
Open, try and see.
What is the expected or desired behavior?
If a user records a product that is not defined in Pricing Conditions Schema (Discount Schema Break) then the line shall be marked specially. The user shall receive a message that the recording of conditions is needed in advance. This functionality shall be able to be switched on/off via sysconfig.