Hello Experts,
I need help with something. When using a Logic Script within the Default Logic in BPC, It runs everytime data is submitted. I have one logic script that copies a "Full-year" value input to each month. See below. So WHEN AuditTrail CC_FY is changed, it copies the value divided by 12 to each month and Audittrail CC. This works correctly. However, an issue came up that when a user wants to change the monthly Value, it defaults back to the value written by the CC_FY Logic Script. I think the Logic script is running again after the user makes a change. Below is the Logic Script and some other screen shots.
CC_FY.LGF (Also inside DEFAULT>LGF)
*XDIM_MEMBERSET AUDITTRAIL = CC_FY
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET RCOST_CENTER = RCCA_NONE
*XDIM_MEMBERSET TIME = 2015.12
*XDIM_MEMBERSET COST_CENTER = %COST_CENTER_SET%
*XDIM_MEMBERSET ACCOUNT = %ACCOUNT_SET%
*WHEN AUDITTRAIL
*IS CC_FY
*WHEN TIME
*is 2015.12
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.01", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.02", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.03", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.04", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.05", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.06", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.07", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.08", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.09", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.10", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.11", AUDITTRAIL = "CC")
*REC(EXPRESSION=%VALUE%/12, TIME = "2015.12", AUDITTRAIL = "CC")
*ENDWHEN
*ENDWHEN
For Example, I enter $12,000 into December, CC_FY, it puts $1,000 into each month for CC correctly
So then I try to Change January to $250, Save Data
The Value then Returns to $1000. I think its because the CC_FY.LGF is running again, but it shouldn't because there was no Change to the CC_FY AuditTrail Dimension. On the Backend, you can see the changes, and also the reversal of the change, leaving the starting amount $1000.
What am I missing?! Thank you for any input.
Sean