Skip to Content
0
Former Member
Dec 30, 2015 at 10:20 AM

Script logic Problem

16 Views

Hi Folks,

Please I have a problem concerning logic Scrpit, I have two Models REEL ans Prevision ,They contain the same Dimensions but for TIME

we Have aT REEL the time dimension who have like properties:

DAY : DAY,WEEK,MOUNTH, YEAR, PERIOD

and for the model Prevision I have for the time dimension WEEK

WEEK: EEK,MOUNTH, YEAR, PERIOD

How to write a logic script who will allow us to transfer data from REEL to Prevision

TV_REALISE : the dimension of mesures for REEl

TV_PREV_REA:the dimension of mesures for Prevision

I Need to do this at DEFAULT.LGF

Here is the script i wrote but it's not completed

*XDIM_MEMBERSET TV_REALISE = REALISE *DESTINATION_APP = Prevision

*RENAME_DIM TV_REALISE = TV_PREV_REA

*RENAME_DIM DAY = WEEK *WHEN Phase *IS * *REC(EXPRESSION = %VALUE%, TV_REALISE = REALISE,DAY =) *ENDWHEN

*COMMIT