【问题标题】:Netsuite custom formula - max of 2 numbers?Netsuite 自定义公式 - 最多 2 个数字?
【发布时间】:2015-11-14 17:53:39
【问题描述】:

在 Netsuite 中,如何在自定义公式中取两个数字/值的最大值?目前以下抛出错误:max({shippingcost},{custbody3})

【问题讨论】:

    标签: netsuite


    【解决方案1】:

    提供 custbody3 是数字使用 GREATEST({shippingcost},{custbody3})

    http://www.techonthenet.com/oracle/functions/greatest.php

    这里的常规说明:Netsuite 在公式中使用 PL/SQL 函数。可以使用功能列表中显示的更多功能。

    【讨论】:

    • 谢谢!由于我不知道语法,我以不同的方式解决了它。我创建了一个在 shippingcost > custbody3 上拆分的工作流程,并在一种情况下将值设置为 shippingcost,在另一种情况下将值设置为 custbody3。基本上创建了我自己的 max 函数。我敢肯定这在执行方面会更快一些。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多