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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Filtering out inventory items by the display in web site flag
Here's the scenario:
we currently use the standard webstore that comes with NS and have items set up there as noninventory items which are then filtered by the "Display in Web Site" flag to show or not - many items are turned off.
I've searched around trying to figure how to get that to display via a web service but just can't get it. Here's the code I have in C#
ItemSearch search = new ItemSearch();
ItemSearchBasic basic = new ItemSearchBasic();
search.basic = basic;
basic.isOnline.searchValue = true;
SearchResult result = ns.search(search);
I hit the basic.isOnline value and get System.NullReferenceException: Object reference not set to an instance of an object.
0