on 03-26-2015 2:31 AM
Hi,
I have a custom collection in Supplier and Supplier Modification via Workflow object (10002203).
In page customization of Supplier Modification by Workflow, I am setting this custom collection as NOT Editable
But when I open a Supplier by clicking Edit via Workflow, this collection is still Editable.
Please suggest how can we achieve this or am i missing anything.
Hello Vaibhav,
This is actually related to a recent thread
As it turns out such a page customization will not work (it applies for all collections, standard or custom).
A solution for this is to use custom scripting to achieve this result using IapiDocumentLockManager.
Also note that to fully lock a collection you need to use it like so:
1. IapiDocumentLockManager.lockField(session, doc, "collection_id"); -> disable add/delete buttons
2. IapiDocumentLockManager.lockField(session, collection_row, "collection_field"); -> lock field in collection row
Bogdan
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.