Objective is to disable the ability of certain users to change the status of a Change Order. What is the most effective way to achieve this.
Release : 17.1
Component : SERVICE DESK MANAGER
Use Web Screen Painter to set the given status field to a read-only field for the users assigned to the given form group.
One would create two versions of the detail_chg.htmpl form. One would have the Status field as a read only field and the other would have an editable field. Each version would be assigned to their own customisation form group (Administration tab: Service Desk -> Form Groups), and the given form group would then be assigned to each role as needed.
One version of the form would have this line of code to make the status field accessible as usual:
<PDM_MACRO name=dtlDropdown hdr="Status" attr=status>
The other version of the form would have this line of code to make the status field read-only:
<PDM_MACRO name=dtlReadonly hdr="Status" attr=status>