Hi,
I had joined a custom table and a Graphical calculation view using CE_JOIN function in a Script-based Calc View.
1) A IF statement metioned below was written to populate a calculated Attribute based on multiple conditions but was getting a syntax error at '='.
IF "NAME" = 'ZRRAPC003_FI_COPA_SD' AND "TYPE" = 'S' AND "SIGN" = 'I' AND "OPTION" = 'EQ' AND "LOW" = '11119995'
"CA_FM_SRC" = 'SALES_SD' ELSE "CA_FM_SRC" = ' '
END;
2) I then tried a CASE statement on the same scenario and again got a syntax error at CASE .
CASE WHEN("NAME" = 'ZRRAPC003_FI_COPA_SD' AND "TYPE" = 'S' AND "SIGN"='I' AND "OPTION"= 'EQ' AND "LOW" = '111199995')
THEN
"CA_FM_SRC" = 'SALES_SD' ELSE "CA_FM_SRC"= ' '
END;
Please let me know where I have go wrong in Syntax of the above two statements.
Thanks