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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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