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!
Create a Saved search showing SO with only 2 specific products
Hello All,
I am looking to create a saved search that will show: SO that contains only 2 types of items (X-C and Y-C)
The idea is to show sales orders that either have:
- X-C
- Y-C
- X-C + Y-C
If the SO contains different products than those or these products are on the SO with other products, it should not be shown as results.
So far, we tried use the formula: MAX(DECODE({item},'X-C',1,0))+MAX(DECODE({item},'Y-C',1,0)) equal 2
We tried also case when, using SUM and Max without success.
Would be happy for any help!
Thank you and have a good day,
0