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!
Setting lot number in Item Fulfillment
I created a button that automatically assign lot number of items to be fulfilled.
snippet:
var lotnumber = ['2012-02']; nlapiSelectLineItem('item', 1); nlapiSetCurrentLineItemValue('item', 'serialnumbers', lotnumber, true, true); nlapiCommitLineItem('item'); This works if assigning one lot number value. How do I assign multiple lot numbers? Example:
var lotnumber = ['2012-01(1)', '2012-02(2)];
Thanks.
0