Hi BPC Experts,
I am new to BPC and studying the BPC Script Logic
I have studied the help notes on the function *DESTINATION_APP but I fail to follow it in my scripts.
I have two models called GLOBALMODEL and PROJMODEL.
I have a script logic on PROJMODEL and need to write some values to the GLOBALMODEL.
PROJMODEL has two dimensions PLANACCT and SUBBUSI which do not exist in GLOBALMODEL, so I drop them in *SKIP_DIM statement.
GLOBALMODEL has an additional dimension GLOBALACCT so I add it in the *ADD_DIM statement.
My goal is to sum the values from PLANACCT in PROJMODEL and insert the total to GLOBALACCT in GLOBALMODEL.
What is wrong in the script below?
*XDIM_MEMBERSET Category=ACTUAL
*XDIM_MEMBERSET InputCurrency=HKD
*XDIM_MEMBERSET NEW_ENTITY=DEFAULT
*XDIM_MEMBERSET Time=GENERAL
*XDIM_MEMBERSET SUBBUSI = TYPE1,TYPE2,TYPE3,TYPE4
*XDIM_MEMBERSET PLANACCT = INCOME_Y1,INCOME_Y2,INCOME_Y3
*DESTINATION_APP = GLOBALMODEL
*SKIP_DIM = PLANACCT,SUBBUSI
*ADD_DIM GLOBALACCT=NPV
*WHEN GLOBALACCT
*IS NPV
*REC (EXPRESSION = GET(PLANACCT="INCOME_Y1") + GET(PLANACCT="INCOME_Y2") + GET(PLANACCT="INCOME_Y3"))
*ENDWHEN
*COMMIT