2009 Dec 10 9:03 AM
Hello,
my problem is that I have operand: PRICE1 which is QPRICE type. Operand is defined as optional value (and it must be so because it must be present in installation facts). Operand is used in Quanti01 variant which is set as optional. I should be able to distinguish three states:
- PRICE1 set to 0 EUR
- PRICE1 set to price different than 0 EUR
- PRICE1 not set at all on any of installation/rate/rate category facts
Does somebody know how to do this using standard variants?
Best regards,
Szymon
2010 Apr 10 9:33 AM
Hi,
I will try to explain how to make such kind of rate steps with checks:
PRICE1 = 0
- if the price is equal 0 then I propose the amount is also equal 0, for that you can use variant program IF* to check if amount is 0
PRICE1 different 0
- if the first check (PRICE = 0) then in this step (ELSE) you can check revers condition
PRICE1 not set
- you can put in the rate steps before some step with writing some flag (FLAG price set) and in the next steps check this flag
Thats all
Vlado