on 09-16-2014 12:13 PM
Hi,
I am using the standard process chain "/CPMB/DEFAULT_FORMULAS_LOGIC" to trigger Script logic file.
I have created some logic to clear and copy data to a targer category. I want to check the workstatus of the target category and if it is locked i want to clear/copy to fail.
I am not sure how to go about this? I was thinking of adding the following but that is just a guess!
TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
any advice would be helpful.
Thanks,
Hi Leo,
Script logic will not affect records closed by workstatus. You don't need to do anything!
But you can't check work status in script logic.
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Ideally did want an option for the user to select option to check whether the copy should happen if the data had been locked. Have done this via the standard COPY package.
Can this be done with the script logic e.g. using paramters in the package?
Or if you create a script logic file does it always check the workstatus?
thanks
Yes, the code you "guessed" should work for the standard COPY Package. Additionally you have to put similar code for step APPEND_LOAD and remove RADIOBUTTON prompt.
Regards,
Gersh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.