on 2017 Jul 18 3:07 PM
Hello Sourcing Experts,
Our Master Agreement OnLoad script does a lot of conditional field locking using IapiDocumentLockManager.lockField. For a few fields this is OK, but we have potentially 100+ fields to lock and the script takes longer to run each time another field is locked.
My questions are:
- Is there a way to lock multiple fields with one lock statement? If so does this save time over locking each field individually?
- If using conditional page customizations, can fields be locked based on things like: Phase of the MA, Owner of the MA, Role of current user, etc.
Any feedback would be greatly appreciated to shave time off loading the documents.
Thanks!
Request clarification before answering.
Phil,
"OnLoad script does a lot of conditional field locking using IapiDocumentLockManager.lockField."
Ans. I'm afraid that is the only option that we have. You may try to optimize your code.
-Is there a way to lock multiple fields with one lock statement? If so does this save time over locking each field individually?
Ans. Please try out the IapiDocumentLockManager.lockDocument() method.
- If using conditional page customizations, can fields be locked based on things like: Phase of the MA, Owner of the MA, Role of current user, etc.
Ans. No
muralidharankm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.