简体   繁体   English

Netsuite Saved Transaction Search - 在结果中获取汇总字段

[英]Netsuite Saved Transaction Search - Get summary fields in results

I'm trying to create a saved search that will give me the subtotal as seen in the summary field on a Netsuite transaction.我正在尝试创建一个已保存的搜索,它将给我在 Netsuite 交易的摘要字段中看到的小计。 This is usually very doable but in this case, when I do a sum on the amount of items sold, it is giving me the subtotal minus the coupon discount.这通常是非常可行的,但在这种情况下,当我对售出的商品数量求和时,得到的是小计减去优惠券折扣。 As you can see in the screen grabs, the Subtotal field has an id of 'subtotal' but that isn't in the list of choices and if I try to pull that field into a formula, I get an error that the field does not exist.正如您在屏幕截图中看到的那样,小计字段的 ID 为“小计”,但它不在选项列表中,如果我尝试将该字段拉入公式,我会收到一个错误,指出该字段不存在存在。

Netsuite Summary Block: Netsuite 摘要块:

Netsuite 摘要块

Netsuite Subtotal Field: Netsuite 小计字段:

Netsuite 小计字段

Netsuite Discount Field: Netsuite 折扣字段:

Netsuite 折扣字段

Any help would be greatly appreciated.任何帮助将不胜感激。

In a Netsuite's saved search, there is not a single field to access subtotal amount.在 Netsuite 的已保存搜索中,没有一个字段可以访问小计金额。 Instead, add a Formula(Currency) column in the search as:-相反,在搜索中添加一个 Formula(Currency) 列:-

Formula (Currency) = 
nvl({totalamount},0)- 
nvl({discountamount},0)- 
nvl({taxtotal},0)- 
nvl({shippingamount},0)

This calculates the subtotal as shown in the summary section of a transaction.这将计算交易摘要部分中显示的小计。

reference:- SuiteAnswer ID: 76161参考:- SuiteAnswer ID:76161

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM