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
How to "inject" results into nlobjsearchresults array (built from nlapiSearchRecord)
Is there any way to do this? My results (array) currently read as follows:
| Index | Item | Bin | Qty |
| 0 | Item_A | Bin01 | 1000 |
| 1 | Item_B | Bin01 | 1000 |
| 2 | Item_C | Bin01 | 1000 |
I'd like to manually add to the array so that it ends up as:
| Index | Item | Bin | Qty |
| 0 | Item_A | Bin01 | 1000 |
| 1 | Item_B | Bin01 | 1000 |
| 2 | Item_C | Bin01 | 1000 |
| 3 | Item_D | Bin01 | 0 |
Thanks in advance!
0