cancel
Showing results for 
Search instead for 
Did you mean: 

Data deletion allowed for period locked in work status

former_member590808
Participant
0 Kudos

Hello

We are on BPC 11.0

Suppose we have locked period 2021.08(calendar month) in BPC via work status. Presently it does not allows us to input any data for the locked period but If I execute clear package for 2021.08 then the same gets deleted.

Does period locking via work status only stops end user from making any changes to the date via input but data deletion is allowed ?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

If you look on the script of standard CLEAR package:

PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",%DIMS%,0)
PROMPT(RADIOBUTTON,%ENABLETASK%,"Do you want to clear comments associated with the data region?",1,{"Yes","No"},{"1","0"})
PROMPT(RADIOBUTTON,%CHECKLCK%,"Do you want to check Work Status when clearing?",1,{"Yes","No"},{"1","0"})
PROMPT(RADIOBUTTON,%CHECKJOUR%,"Exit the package if journal data encountered (no change will be committed)?",0,{"Yes","No"},{"1","0"})
INFO(%SELECTION_KEYDATE%,)
INFO(%DIMVALUE%,E=24)
TASK(/CPMB/CLEAR_CUBE,CHECKLCK,%CHECKLCK%)
TASK(/CPMB/CLEAR_CUBE,SELECTION,%SELECTION%)
TASK(/CPMB/CLEAR_CUBE,DUMPLOADMODE,3)
TASK(/CPMB/CLEAR_CUBE,KEYDATE,%SELECTION_KEYDATE%)
TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,DIMENSIONVALUE,%DIMVALUE%)
TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,SELECTION,%SELECTION%)
TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,ENABLETASK,%ENABLETASK%)
TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,CHECKLCK,%CHECKLCK%)
TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,CHECKJOUR,%CHECKJOUR%)

You will see the line:

PROMPT(RADIOBUTTON,%CHECKLCK%,"Do you want to check Work Status when clearing?",1,{"Yes","No"},{"1","0"})

May be in your package this line is replaced with fixed value 0 in:

TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,CHECKLCK,0)