By using this website, you agree to our Terms of Use (click here)
Hi Everyone,
I am trying to nest two iif statements in Acumatica Report Designer:
=IIf([ARDunningLetter.DunningLetterLevel]='1','ATTENTION PLEASE',IIf([ARDunningLetter.DunningLetterLevel]='2','SECOND NOTICE'),'FINAL DEMAND')
But I get an error which I do not understand:
The expression contains a call of an undefined function IIf().
Hi Fozzie,
I think the problem is due to a misplaced closing parenthesis.
Try moving the closing parenthesis highlighted below to the end of the formula.
So your formula would now read like this:
=IIf([ARDunningLetter.DunningLetterLevel]='1','ATTENTION PLEASE',IIf([ARDunningLetter.DunningLetterLevel]='2','SECOND NOTICE','FINAL DEMAND'))