Hi, Experts!
May anyone tell me why this logic doesn't validate?
We receive the message: UJK_VALIDATION_EXCEPTION:Nenh.membro encontrado em dimensão "TIME" p/cond."CALC" = "N"
The script logic works when we change %FOR%= %MONTHS_ALL% by %FOR%=2013.01,2013.02 (for example). We can't insert all months, because they will change in time... Maybe another solution could help us.
*SELECT (%MONTHS_ALL%,"[ID]",TIME, "LEVEL='MONTH'")
*XDIM_MEMBERSET ACCOUNT = IMP_221001
*XDIM_MEMBERSET TIME = %MONTHS_ALL%
*FOR %TIM% = %MONTHS_ALL%
*WHEN TIME.PERIOD
*IS DEC,JUN
*REC(EXPRESSION=%VALUE%,ACCOUNT="PGTOIMP_221001", TIME=TMVL(5,%TIM%))
*IS JAN,JUL
*REC(EXPRESSION=%VALUE%,ACCOUNT="PGTOIMP_221001", TIME=TMVL(4,%TIM%))
*IS FEB,AUG
*REC(EXPRESSION=%VALUE%,ACCOUNT="PGTOIMP_221001", TIME=TMVL(3,%TIM%))
*IS MAR,SEP
*REC(EXPRESSION=%VALUE%,ACCOUNT="PGTOIMP_221001", TIME=TMVL(2,%TIM%))
*IS APR,OCT
*REC(EXPRESSION=%VALUE%,ACCOUNT="PGTOIMP_221001", TIME=TMVL(1,%TIM%))
*IS MAY,NOV
*REC(EXPRESSION=%VALUE%,ACCOUNT="PGTOIMP_221001")
*ENDWHEN
*NEXT
*COMMIT
Best regards,
Ana Teresa