简体   繁体   中英

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. 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.

Netsuite Summary Block:

Netsuite 摘要块

Netsuite Subtotal Field:

Netsuite 小计字段

Netsuite Discount Field:

Netsuite 折扣字段

Any help would be greatly appreciated.

In a Netsuite's saved search, there is not a single field to access subtotal amount. Instead, add a Formula(Currency) column in the search as:-

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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