Hi Gurus
I have a script logic to rollover the balances and to create retained earnings in the opening period. This packages uses *WHEN_REF_DATA as below:
// -------------------------------------------------------------------------------------- //
*FUNCTION TIMEMBRS= %TIME_SET%
*SELECT(%FLOWS%,"[ID]",FLOW,"[CALC]='N'")
*SELECT(%EXPACCTS%,"[ID]",ACCOUNT,"[ACCTYPE]='EXP'")
*SELECT(%INCACCTS%,"[ID]",ACCOUNT,"[ACCTYPE]='INC'")
*SELECT(%LEQACCTS%,"[ID]",ACCOUNT,"[ACCTYPE]='LEQ'")
*XDIM_MEMBERSET ACCOUNT=%EXPACCTS%
*XDIM_ADDMEMBERSET ACCOUNT=%INCACCTS%
*XDIM_MEMBERSET TIME=%TIME_SET%
*XDIM_MEMBERSET RPTCURRENCY=USD,GBP
*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
*XDIM_MEMBERSET FLOW=F_OPEN
*WHEN TIME
*IS %TIME_SET%
*REC(EXPRESSION=0)
*ENDWHEN
*COMMIT
*FOR %MTH%=TIMEMBRS
*XDIM_MEMBERSET ACCOUNT=%EXPACCTS%
*XDIM_ADDMEMBERSET ACCOUNT=%INCACCTS%
*XDIM_ADDMEMBERSET ACCOUNT=%LEQACCTS%
*XDIM_ADDMEMBERSET TIME=TMVL(-1,%MTH%)
*XDIM_MEMBERSET RPTCURRENCY=USD,GBP
*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
*XDIM_MEMBERSET MEASURES=YTD
*XDIM_MEMBERSET FLOW=%FLOWS%
*WHEN_REF_DATA = MASTER_DATA
*WHEN TIME
*IS %MTH%
*WHEN ACCOUNT.ACCTYPE
*IS "INC","EXP"
*REC(EXPRESSION=0,FLOW="F_OPEN")
*IS "LEQ"
*WHEN TIME.MONTHNUM
*IS "12"
*WHEN ACCOUNT
*IS "ACCT1"
*REC(TIME=[TIME].[TMVL(1,%MTH%)],FLOW="F_OPEN",ACCOUNT="ACCT2")
*ENDWHEN
*ENDWHEN
*ELSE
*REC(FACTOR=1,TIME=%MTH%,FLOW="F_OPEN")
*ENDWHEN
*ENDWHEN
*COMMIT
*NEXT
// ------------------------------------------------------------------------------------------------------- //
While executing the package, I am getting error:
RUN_LOGIC:Logic is running on too large a selection; try using MAXMEMBERS
I tried using MAXMEMBERS to limit the accounts and cost centers to as low as 10 numbers but still get the same error.
Before upgrade, this package was working fine in 7.5 environment.
I have tried removing the REF_DATA and included LEQ accounts to clear them before copying but then not getting the correct results.
Are there any parameters to be set before REF_DATA can be used. I am on BPC 10 NW 801 SP3.
Thanks.
-SM