Custom Function

Custom Function

Dear Team,

Please help me out with custom function to stop editing certain fields by certain users.
Example:
My sales user login should  not be allowed to edit tax rate and term column in invoice.


Regards,
Ashfaq Abdullah