Restrict user to select a specific location on sal...
# general
t
Restrict user to select a specific location on sales order record. Show an error message when user selects any other location so i used TYPE Set Field Value Trig Before Record Submit and condition Location (Main) != CAN-1,UK-1,US-2 but it not working
n
if(Location (Main) != CAN-1 && Location (Main) !=UK-1 && Location (Main) != US-2){ }
t
message has been deleted
n
Oh for workflow, I think you can choose all 3 locations in one line. I thought you were doing it via script.
t
yeah for workflow
n
Why is your parameter Location = null?
t
yeah got it