Hello,
i try to set a monthly fee for the entity "Vertrag" based on a selected "produkt". I use this code
The only result I can see is, that the monthly fee is 179.00 € no matter which "produkt" is selected.
What is the fault?
Thank you all for helping me.
Greets
Dennis
i try to set a monthly fee for the entity "Vertrag" based on a selected "produkt". I use this code
Code:
ifThenElse(
entity\isAttributeChanged('produkt') && produkt = 'Basic Webseite',
mtlVertragswert = 179.00,
ifThenElse(
entity\isAttributeChanged('produkt') && produkt = 'Premium Webseite',
mtlVertragswert = 349.00,
ifThenElse(
entity\isAttributeChanged('produkt') && produkt = 'Local Marketing Plus',
mtlVertragswert = 79.90,
ifThen(
entity\isAttributeChanged('produkt') && produkt = 'Local Marketing Profi',
mtlVertragswert = 99.80
))));
What is the fault?
Thank you all for helping me.
Greets
Dennis

...
Comment