Rank: Newbie
Joined: 3/4/2013 Posts: 8
|
Hi,
I am using XMLSpy to create Formula Linkbase.
Problem 1:
I have created the following value assertion formula:
if ($varZB='1') then $varTax =1000 else $varTax = 2000
Goal: 1. This formula will check the value of element called ZB. 2. If the element value = 1 then element Tax value should be 1000, if else then the value of tax should be 2000 3. I created both unsatisfied and satisfied message
I save the formula and no error is found (valid)
However, When I execute the formula, No message I can get. Unsatisfied and satisfied messages are blank.
Somebody please help.
Problem 2:
How to create if-then-else which has more than 1 line... like the following example:
If $Ba= 123 then $var1 = 1 $var2 = 1 $var3 = 1 $var4 = 1 else $var1 = 2 $var2 = 2 $var3 = 2 $var4 = 2 end if ========================
THANKS for help
|