Skip to Content
0
Nov 22, 2018 at 12:00 PM

Default Logic mutiplying values multiple times

188 Views

Hi Experts,

I have below script in DEFAULT.LGF and while posting values through input template for a single account the value generated through below script in the Account 2941000 is multiplying 6 times.

Logic for below code is I am moving data from node INCOME_STATEMENT to Retained earning account (i.e. 2941000) and at the same time defaulting the values to FUNC_AREA, INTERCO & PROFIT_CTR.

*SELECT(%ACCOUNTS%,ID,ACCOUNT,"CALC=N")

*WHEN ACCOUNT
*IS %ACCOUNTS%
*WHEN FUNC_AREA
*IS <> F0000
*REC(EXPRESSION= [ACCOUNT].[INCOME_STATEMENT], ACCOUNT = 2941000,FUNC_AREA = F0000, INTERCO = I_NONE, PROFIT_CTR = 2651000)
*ENDWHEN
*ENDWHEN
*COMMIT

Below mentioned is my input form.

Below mentioned is my version.

Regards

Attachments

15fu3.png (75.4 kB)
zodsb.png (19.7 kB)