you can use the N/ui/serverWidget module on a befo...
# suitescript
c
you can use the N/ui/serverWidget module on a beforeLoad script to disable fields