Order guide variables on RITM to be editable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 03:13 AM
Hi,
There is a order guide, when ordered 2 RITMS are generated. The fields from the order guide are cascaded onto the catalog item/RITM. The variable editor of the RITMs have the order guide variables and Catalog items variable.
The task here is to make the variables editable when the logged in user is same as the member in the requested for field of the RITM and stage is waiting for approval.
I have written a client script with condition stage == waiting_for_approval,reqfor == loguser and used setVariablesReadOnly(false), but it is making only the catalog items variables editable. The variables from the order guide present on the variables section of RITM are not being editable.
Any help on this is appreciated.
Thanks in Advance.