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
ItemSearchBasic works for one item but not another?
The following code snippet works for one item but not another. The difference betweeen the two items is that one is a "Non-inventory Item for Resale" and the other is a "Serialized Inventory Item".
However, the only criteria I am specifying for the search is the item's internal id. The search works for the "Non-inventory Item for Resale" but not for the "Serialized Inventory Item".
Why is this? What do I need to change to get the itemSearch to work for the "Serialized Inventory Item"?
[SIZE=2]
RecordRef[] rr =
rr[0] = new RecordRef();
rr[0].internalId = itemInternalId;
ItemSearch itemSearch = new ItemSearch();
0