Hello Experts,
I am new to BPC and am trying the following script logic:
*FOR %MONTH% =2008.JAN,2008.FEB,2008.MAR,2008.APR,2008.MAY,2008.JUN,2008.JUL,2008.AUG,2008.SEP *WHEN ACCOUNT *IS EQUIPMENT1 *WHEN TIME *IS "%MONTH%" *REC(EXPRESSION = ([ACCOUNT].[AccumDepr] = ([ACCOUNT].[AccumDepr] + [ACCOUNT].[Depreciation]))) *ENDWHEN *ENDWHEN *NEXT
When I execute the above logic, the system throws an error saying: "Missing ) in paranthetical". I was able to analyze the script and realize that the error is occurring in the *REC statement of the WHEN statement. To me, the script looks okay, but obviously not. Could you please shed some light on this?
Also, am I using the *FOR loop correctly?
Thanks for your help in advance.