问题
I need help on how to create the following workflow please.I added a new body field in the Netsuite sand box called “sow.” It is a check box field and I added it to the sales order transaction page. Is it possible to make a formula that says: If “contract type” equals “sow”, check box, if not don’t check box?
回答1:
You can do this using a single state workflow with two Set Field Value actions: one to Check the snow field if the contact type equals "sow" and the other to uncheck the snow field if contact type different of "snow".
You are obliged to use two actions because an action set only one value for a specific field when one or multiple conditions are true.
So when you have two different cases (val1 OR val2) you need to use two actions.
You can do something like this (of course you need to set the best Trigger On value for your case)
EDIT: If the two fields are not on the same, then you must decide on the best event to trigger your workflow and your actions, for example, create a workflow that trigger on the creation of a SO, and set your actions on the before user edit event. And you must configure the actions condition like this:
来源:https://stackoverflow.com/questions/41092394/netsuite-workflow-or-formula-for-a-field