Netsuite工作流程或字段公式 [英] Netsuite workflow or formula for a field

查看:247
本文介绍了Netsuite工作流程或字段公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有关如何创建以下工作流程的帮助.我在Netsuite沙箱中添加了一个名为"sow"的新主体字段.这是一个复选框字段,我将其添加到了销售订单交易页面.是否可以制定一个公式来说明:如果合同类型"等于母猪",则选中该复选框,如果不是,则选中该复选框?

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?

推荐答案

您可以使用具有两个设置字段值"操作的单一状态工作流程来执行此操作:一个用于检查联系人字段等于母猪"的雪域,另一个如果联系人类型与雪"不同,则取消选中雪地.

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.

因此,当您遇到两种不同的情况(val1或val2)时,您需要使用两个操作.

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)

编辑:如果两个字段不同,则必须确定触发事件的最佳事件以触发您的工作流程和操作,例如,创建在创建以下事件时触发的工作流程SO,然后对用户之前的编辑事件设置操作.并且您必须配置动作条件,如下所示:

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:

这篇关于Netsuite工作流程或字段公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆