Skip to Content
0
Former Member
Sep 11, 2010 at 03:46 PM

Interpret code

27 Views

hi mates, could any one explain what below code do,

*XDIM_MEMBERSET P_ACCT = CE0004010,CE0652000 

*WHEN P_ACCT 

*IS "CE0004010"

*REC(EXPRESSION=([P_ACCT].[CE0004010],[P_ACTIVITY].[NONE])/([P_ACCT].[CE0652000],[P_ACTIVITY].[LABPRD]), RPTCURRENCY=[ENTITY].CURRENCY, P_ACCT=CE0661000) 

*ENDWHEN

As per my understand, below line generates a numeric value for Expression

([P_ACCT].[CE0004010],[P_ACTIVITY].[NONE])/([P_ACCT].[CE0652000],[P_ACTIVITY].[LABPRD]), 

then that value is multiplied by source record for posting into target record(P_ACCT=CE0661000).Also, target record RPTCURRENCY dim value is posted with [ENTITY].CURRENCY value.

Is above interpretation is correct?

TH