iif({Command.OLDSTATUS} in ["Cancel","CNCLACCT"], "CANCEL",
iif({Command.MATURESTATUS}="M","Mature",
iif({Command.SEC_TYP_CD} in ["OVND","TD"] and {Command.YESTERDAYTRADEID} <> 0,"ROLL",
"New")
)
)
I have this function which does take the 3rd contion if I comment 2nd line //iif({Command.MATURESTATUS}="M","Mature", - the other 2 condition works fine, any clue??
Thanks
Puneet
-cheers
Puneet
iif({Command.MATURESTATUS}="M","Mature",
iif({Command.SEC_TYP_CD} in ["OVND","TD"] and {Command.YESTERDAYTRADEID} <> 0,"ROLL",
"New")
)
)
I have this function which does take the 3rd contion if I comment 2nd line //iif({Command.MATURESTATUS}="M","Mature", - the other 2 condition works fine, any clue??
Thanks
Puneet
-cheers
Puneet