【发布时间】:2019-02-23 02:06:05
【问题描述】:
需要保存的搜索,以显示超过 60 天未更改销售阶段的停滞的 Opps。我是 Netsuite 销售管理员(以前是 Salesforce 管理员)的新手..并且无法弄清楚计算阶段变化后天数的公式。
公式(日期)
--- 我知道我需要使用系统注释来确定设置阶段的时间,然后计算 60 天但卡住了。
【问题讨论】:
需要保存的搜索,以显示超过 60 天未更改销售阶段的停滞的 Opps。我是 Netsuite 销售管理员(以前是 Salesforce 管理员)的新手..并且无法弄清楚计算阶段变化后天数的公式。
公式(日期)
--- 我知道我需要使用系统注释来确定设置阶段的时间,然后计算 60 天但卡住了。
【问题讨论】:
想对上述内容发表评论,但还没有足够的代表。 NetSuite 公式不允许换行。 case when {entitystatus} = {systemnotes.newvalue} and {today} - to_date({systemnotes.date}) > 60 then 1 else 0 end 应该可以工作。
【讨论】:
您可以使用此公式。您需要按机会和状态对结果进行分组,并至少采用{today} - to_date({systemnotes.date}),因为每个机会都会获得多个系统注释匹配项。
case
when {entitystatus} = {systemnotes.newvalue} and {today} - to_date({systemnotes.date}) > 60 then 1
else 0
end
等于 1
【讨论】: