Hi All,
Hi All,
I would like to copy data from parent element to other base member using logic script. Copy concerns many accounts, so I decided to create attribute in which (at th parent level) I placed destination member code.
What I'd like to do is create script which get value for parent and copy value into destination account (see below for the script - as for now).
The problem is attribute is placed at parent level, but values are at base members level... As for now (code below) values aren't copied because BPC tries to copy data into destination_account from base members level...
*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
*XDIM_MEMBERSET TIME = %TIME_SET%
*XDIM_MEMBERSET ENTITY = BAS(%ENTITY_SET%)
*SELECT(%ACCOUNTS%, ID, ACCOUNT, DESTINATION_ACCOUNT<>"")
*XDIM_MEMBERSET ACCOUNT = %ACCOUNTS%
*FOR %ACCOUNT% = %ACCOUNTS%
*XDIM_MEMBERSET ACCOUNT = BAS(%ACCOUNT%)
*WHEN CATEGORY
*IS %CATEGORY_SET%
*REC(EXPRESSION=%VALUE%,ACCOUNT=ACCOUNT.DESTINATION_ACCOUNT)
*ENDWHEN
*NEXT