Netsuite workflow or formula for a field

爷,独闯天下 提交于 2019-12-13 06:37:35

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!