Experts:
I have encounter another problem for my New Script Logic (in DEFAULT.LGF):
What I want to do with this Script logic is to
NNNN= JJJJ + (XXXX+YYY) + (-PPP- MMM- SSS-LLL)
For some unexpected reason (which I am no aware of), the script logic only calculates the adding operation (the part in Bold letter). However, the substraction is not being calculated! Please help me out to solve this!!
*WHEN ACCOUNT
*IS "JJJJ"
*REC(EXPRESSION = %VALUE% + GET(ACCOUNT = "XXX") + GET(ACCOUNT = "YYY").. ,
ACCOUNT= "NNN")
*IS "JJJJ"
*REC(EXPRESSION = %VALUE% - GET(ACCOUNT = "PPP") - GET(ACCOUNT = "MMM") .. , ACCOUNT = "NNN")
*IS "JJJJ"
*REC(EXPRESSION = %VALUE% - GET(ACCOUNT ="LLLL") - GET(ACCOUNT = "SSS"), ACCOUNT ="NNN")
*ENDWHEN
*COMMIT
Please Help!