Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Problem with count number of order in desire price range in formula of saved search
Hi,
I have tried to calculate number of order which has item in specific item category in desired price range.
So I use this criteria;
- Type = Invoice
- Main Line = false
- Item : Name = dose not start with Vat
- Account Type = is any of Income, Deferred Revenue
- Item Type = Is any of Service, Other Charge, Non-inventory item, Kit/Package, Inventory Item
- Item = Is non of NML Logistic (this is shipping item)
Result
- Item : Item Category (Group), Summary Type = Group
- Formula Numeric, Summary Type = Count, Formula = CASE WHEN TRUNC ({amount}) between 0 and 0 THEN {internalid} else 0 END
The result return that number of order of each item category is all count more than the actual for 1. I'm not sure which criteria or formula is wrong. Please advise. Thank you in advance.