Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
CASE WHEN conditions
Hi,
I feel very close but not quite there
SUM(CASE WHEN ({item.internalid} = 930 THEN 0 ELSE 1 END))
I'm trying to use this in a saved search Summary condition on Invoice transactions grouping on invoice number. I want to find any invoice where item with internal ID = 930 was sold and nothing else was on the invoice.
I think the issues is with my {item.internalid} = 930 bit, because it is always getting to the "ELSE". I've tried {item.internalid} = '930' too and that does not work.
Ideas?
Thanks,
Jean
0