Hi,
usually I use a business rule to transfer the profit from the income statement to the balance sheet (account based calculation). However, in my current model I have an extra dimension that is used on income statement accounts but not on balance sheet accounts. As the script will be run via default.lgf I tried something really simple:
*WHEN ACCOUNT.DIMLIST_ABC
*IS GUV
*WHEN ACCTDETAIL
*IS F_CLO
*REC(EXPRESSION=%VALUE%,ACCOUNT=RETEARN,INTCO=I_NONE,FUNCT=NONE)
*ENDWHEN
*ENDWHEN
This works fine when I enter data initially, but when I change one value, the RETEARN account only shows the one changed value. Let's say, I enter three values on three accounts with a total of 6 (three values of 2), my RETEARN shows 6. If I then change one of the values, so the new total would be 7 (2 values of 2 and one of 3), my RETEARN shows 3. So I changed the REC statement
*REC(FACTOR=1,ACCOUNT=RETEARN,INTCO=I_NONE,FUNCT=NONE
This made no difference whatsoever.
What would be the correct syntax??