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
recreating "order items" page as a saved search
I am trying to build a saved search that gives me the contents of the Order Items page, but I am falling short. Here's what I have in my saved search so far:
(Preferred Stock Level is 0 And Formula (Numeric) is greater than 0 {quantitybackordered}-{quantityonorder}) Or
(Preferred Stock Level is greater than or equal to 1 And Formula (Numeric) is greater than 0 {quantitybackordered}-{quantityonorder}+ ({preferredstocklevel}-NULLIF({quantityavailable}, 0))) Or
(Preferred Stock Level is empty And Formula (Numeric) is greater than 0 {quantitybackordered}-{quantityonorder})
I get 2 results for my saved search right now, while the Order Items page has about 150 results. The first item on the Order Items page (which doesn't show for my search) has a back ordered quantity of 1, an on order quantity of 0, and a preferred stock level of 0. I can't figure out for the life of me why the first clause of my saved search does not cause it to appear. I've also tried adding NULLIF to every field in the search, but that didn't seem to make a difference. What am I missing here?