cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Script Logic - Copy

Former Member
0 Likes
2,657

HELLO,

BPC 10.1NW

iam trying to copy data from 1 period to next 2 periods.Below is my script. I want to copy

2017.09 to 2017.10,2017.11 & 2017.12 to 2018.01,2018.02. When i run below script - 2018.01,2018.02 -data is getting copied from both 2017.09 & 2017.12. script works when i have only one member for time selection. with multiple members it gives incorrect results.

Time = 2017.09,2017.12

version - FORECAST

-----------------------------------------------------

*XDIM_MEMBERSET ACCOUNT = BAS(INVENTORY_FIFO)

*XDIM_MEMBERSET AUDIT_ID = IC_ALLOC_CALC

*XDIM_MEMBERSET TIME = %TIME_SET%

*XDIM_MEMBERSET VERSION = %VERSION_SET%

*WHEN ACCOUNT

*IS *

*FOR %TIM%=%TIME_SET%

*REC(FACTOR=1,TIME=TMVL(1,%TIM%))

*REC(FACTOR=1,TIME=TMVL(2,%TIM%))

*NEXT

*ENDWHEN

Thanks.

View Entire Topic
Former Member
0 Likes

MEGHANA,

Can you use this code if it helps

GANAPATHI

former_member186338
Active Contributor
0 Likes

What is the difference between your script and Ashish script????

No difference!