Good morning all. Does anyone know of a way to re...
# administration
m
Good morning all. Does anyone know of a way to restrict roles other than Accounting from changing a customer's tax exempt status?
j
Is this feature a part of NS point of sale?
m
I don't know. Trying to figure out if I can use a workflow to lock the field without modifying the forms and assigning them to roles.
j
If it's just a field on the customer record, you can try a couple of things, but it depends on the level of security you're looking for. Lowest Security: • Create a custom form specifically for the Accounting team, and display the tax exempt field • Restrict other users to another form without access to that field • Note: Users may still be able to edit that field through In Line Edit. Medium Security: • Workflow would work, but only when the user interacts with the form. You can change the field display type for accounting users. • Note: Same issue here, users will still be able to edit the field through inline edit High Security: • SuiteScript ◦ User Event Script preventing users in non accounting roles ◦ Before User Submit entry point, validate the user role and throw an error if the user role doesn't match. You can simplify with a workflow to prevent editing on the record, and find a simple script on SuiteAnswers like: Answer Id: 70519
SA 70519 give a pretty simple 1.0 script that would stop inline edit of standard fields.
m
Awesome. Thank you for the link. I appreciate it.
j
You should be able to use a WF to change the display type for the {taxable} checkbox on the customer record:
In the workflow criteria, just validate the user role === accounting role(s)
m
It's been so long since I've touched workflows, I can't remember where to set the role option. 😄
Ah found it but "field" must be filled out and the only thing in field is "use sales rate" which doesn't make sense.
j
I'm confused
m
Visual builder is not great. I just using the customer formula option now. Thanks for the help!
j
message has been deleted
🙌 1
If you have trouble with the custom formula, try this out for size.
Don't ask me why you can't select
Record === User
WHERE
User Role === etc.
But you can find User Role, User Department, User Class, etc. under the field dropdown.
m
Right. I was clicking the wrong area. 😂
Got it after seeing your screenshot and it looks like this on the summary page now.
message has been deleted
netsuite 1
j
Glad I could help!