Hi All,
We are using BPC NW 10.0 and EPM add-in 10.0 SP 20 .NET4.
Below is my advanced script to clear comments.I am taking entity and time dimensions to select and fixing FORECAST AND 2015.02.
PROMPT(SELECTINPUT,%SELECTION%,,,"%ENTITY_DIM%,%TIME_DIM%")
PROMPT(RADIOBUTTON,%ENABLETASK%,"Do you want to clear comments associated with data regions?",1,{"Yes","No"},{"1","0"})
INFO(%SUFFIX1%,DIMENSION:VERSION|FORECAST|)
INFO(%SUFFIX2%,DIMENSION:TIME|2015.02|)
TASK(/CPMB/CLEAR_COMMENTS,SELECTION,%SELECTION%%SUFFIX1%%SUFFIX2%)
TASK(/CPMB/CLEAR_COMMENTS,ENABLETASK,%ENABLETASK%)
TASK(/CPMB/CLEAR_COMMENTS,CHECKLCK,%CHECKLCK%)
I am getting "Invalid selection criteria" error while running below code without %SELECTION% variable (i.e commenting SELECTINPUT prompt) and removing the %SELECTION% variable from TASK(/CPMB/CLEAR_COMMENTS,SELECTION,%SUFFIX1%%SUFFIX2%) task.
'PROMPT(SELECTINPUT,%SELECTION%,,,"%ENTITY_DIM%,%TIME_DIM%")
PROMPT(RADIOBUTTON,%ENABLETASK%,"Do you want to clear comments associated with data regions?",1,{"Yes","No"},{"1","0"})
INFO(%SUFFIX1%,DIMENSION:VERSION|FORECAST|)
INFO(%SUFFIX2%,DIMENSION:TIME|2015.02|)
TASK(/CPMB/CLEAR_COMMENTS,SELECTION,%SUFFIX1%%SUFFIX2%)
TASK(/CPMB/CLEAR_COMMENTS,ENABLETASK,%ENABLETASK%)
TASK(/CPMB/CLEAR_COMMENTS,CHECKLCK,%CHECKLCK%)
Can I run the package with fixed members using INFO command (for fixing the members)??
Thanks and Regards,
Naidu