Sourcing Gurus,
We have added a additional phase at the end of our contract workflow (after Executed Phase) and have the desire to have the system behave similarly to the way the Executed Phase behaves out of the box (i.e. locks all fields on Contract Document Tab and allows users to change back to previously phase(s) if needed).
We tried to accomplish this via a script by using lock field method in class IapiDocumentLockManager (IapiDocumentLockManager.lockField) without any luck.We are able to lock the entire document via IapiDocumentLockManager.lockDocument but this is not the preferred solution asthe document can no longer be moved to a previous phase once locked.
Any suggests on utilizing the system standard behavior when in Executed phase or is the best solution to continue to debug our issues with the lock field method.
Thanks in advance!
Vincent