I am using SM 9.40. I have to enable the fields under Spare/Purchased part and RoHS Compliance tab to those people who are having WPchange IM PM approver as user role.
Now, I am trying in format control by giving the calculation condition as below.
if ($lo.user.role="WPchange IM PM approver" or $lo.user.role="WPchange manager Press Customization") then ($e.readonly="yes") else ($e.readonly="no")
$e.readonly="no" is the read only condition the spare part fields.
But it is not working.
Any suggestions are appreciable.
Thanks & Regards,