Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Help Optimizing Formula
When I use this formula in an item saved search i get no problems. In a different item saved search i get an unexpected error. If I put the formula into a custom item field i get an invalid expression error. I know there is more than one way to write this formula and get the info i need. Can someone offer an alternative to this formula. I'm hoping that writing the formula differently will help me avoid some of the errors. I would appreciate the help!
CASE WHEN (LENGTH{parent}>1) THEN (CASE WHEN (LENGTH{custitem_matrix_parent.custitem_tabbed_descrip}>1) THEN SUBSTR({custitem_matrix_parent.custitem_tabbed_descrip},1,1000) ELSE SUBSTR({custitem_matrix_parent.storedetaileddescription},1,1000) END) ELSE SUBSTR({custitem_stand_item_descrip},1,1000) END