Hi experts, need your help.
Customer needs the following requirement fulfilled:
In Quote screen → Under Lines tab → When adding a new line → if the Usage type is Part. make the part_description non-editable but if the Usage type is Non part, make the part_description editable.
Currently, this behaviour is vice-versa.
I have created a new client script (attached) and linked it with the Usage Type field in UI designer.
However, it looks like it is fetching the value of the Usage Type field from the first row (which is selected by default when the screen loads). Whenever I select another row, it still has the same value as the Usage Type in the first row.
How can I get this to work properly?