Skip to Content
0
Former Member
Oct 02, 2009 at 10:28 AM

Script logic for copying from one member to another

328 Views

Hello,

I'm trying to copy a value from one member to another when I update a different one. eg:

for accout A

I set for 2009.jan 10

I have already calculated (with a dimension formula) another value for 2009.feb_input

I would like to copy this value on 2009.feb when I send the data for 2009.jan

The code I have written is

*XDIM_MEMBERSET TIME_P = 2009.JAN,2009.FEB_INPUT,2009.FEB

*XDIM_MEMBERSET ACCOUNTL=A

*WHEN TIME_P

*IS 2009.JAN

*REC(EXPRESSION=GET(TIME_P="2009.FEB_INPUT"),TIME_P=2009.FEB)

*ENDWHEN

But it desn't work.

Any idea about what I sould do?

Regads,

Ana