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
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Adding data from Multiple Arrays
Hi,
How can I extend one array from 2 or more, for example:
First:
var ivcFilters = []; ivcFilters[0] = new nlobjSearchFilter('item', null, 'anyof', '53'); ivcFilters[1] = new nlobjSearchFilter('trandate',null,'onorafter','09/01/09'); var ivcColumns = []; ivcColumns[0] = new nlobjSearchColumn('internalid', null, null); ivcColumns[1] = new nlobjSearchColumn('type',null,null); ivcColumns[2] = new nlobjSearchColumn('tranid', null, null); ivcColumns[3] = new nlobjSearchColumn('trandate', null, null); var itemivcSearch = new Array(); itemivcSearch = nlapiSearchRecord('invoice',null,ivcFilters,ivcColumns); second:
var assbuildFilters = []; assbuildFilters[0] = new nlobjSearchFilter('item', null, 'anyof', '53'); itemivcSearch Array is the first, the second would be: var assbuildColumns = []; assbuildColumns[0] = new nlobjSearchColumn('type', null, null); assbuildColumns[1] = new nlobjSearchColumn('tranid', null, null); assbuildColumns[2] = new nlobjSearchColumn('trandate', null, null); assbuildColumns[3] = new nlobjSearchColumn('serialnumbers', null, null); assbuildColumns[4] = new nlobjSearchColumn('quantity', null, null); assbuildColumns[5] = new nlobjSearchColumn('item', null, null); var assbuildSearch = new Array(); assbuildSearch = nlapiSearchRecord('assemblybuild', null, assbuildFilters, assbuildColumns); 0