Hi guys... Is it possible to remove certain depart...
# suitescript
e
Hi guys... Is it possible to remove certain departments from the standard dropdown /selector in the header field, when creating a Sales Order. My use case: We have departments and sub-departments, but some of them must not be used in the specific case of Sales Order (but are active in other contexts)... Any idea?
s
Just thinking out loud without trying it... hide department field, make your own filtered dropdown, and set the hidden one based upon value selected in yours
s
If my memory is working correctly, I believe theres a way to filter dropdown menus with suitescript by using the user's role as a condition. I saw a video of it somewhere on youtube.
e
Thanks @Sandii @Scruffy