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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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