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.
How to Capture Class Parent and Children in Search formula?
One of the result variables on our Saved searches is Class. We would like to capture the parent and all sub classes in the search instead. This will keep it dynamic and reduce the need to add the individual classes to the formula. How do you do that?
Here is the formula:
CASE WHEN {class} ='Sales : Software' THEN {transaction.amount}-nvl({transaction.discountamount},0) ELSE 0 END
I have also attached an image. For the formula above, and referencing the image, if i want the search to keep looking at the Software parent, and show all the associated children, currently we are manually adding in the children as we add more classes.
0