I am trying to create an If function to show "ON HOLD" depending on the aged balance being over the credit limit for customers, but it keeps returning the following error - expecting "then", found "
What I have so far is IF SUM(Aged_Period_1+Aged_Period_2+Aged_Period_3+Aged_Period_Older)>SALES_LEDGER.CREDIT_LIMIT ? "ON HOLD" : " "
I did think it was something to do with the " but it returns the same error when I removed those parts and replaced with data fields.