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.
Working with shipitem (shipping method)?
I couldn't find shipping method in supported suitescript records.
In suitescript document, section "Filtering Items by Type", it tells that "ShipItem" is a type of item. So I modified example code a little:
function searchutnoninventorypart() { var filters = new Array(); //filters[0] = new nlobjSearchFilter('type', null, 'anyof ', 'NonInvtPart'); filters[0] = new nlobjSearchFilter('type', null, 'anyof ', 'ShipItem'); var columns = new Array(); columns[0] = new nlobjSearchColumn('internalId'); var items = nlapiSearchRecord('item', null, filters, columns); }but it didn't work. the "items" is "null". So anyone can tell me how can I work with shipping method (search/get)?
0