Need help in validating the script logic
Currently we are working on NW BPC 10.0
I need a help in modifying my script logic. Below code is my current script logic.
My requirement is:
From the above screen shot,
if TOT_COMP_YTD<FUT_LIMIT then TOT_COMP*FUT_RATE should be done
if TOT_COMP_YTD>FUT_LIMIT then subtract current month FUT_LIMIT with previous month TOT_COMP_YTD(only for first occurrence of TOT_COMP_YTD>FUT_LIMIT, remaining all should be ZEROs)
I have changed my script as below and executed in UJKT, but I am getting some validation error.
Can anybody help me how to achieve this.
It is working.. I forgot to put braces.