Thursday, September 20, 2018

Get or Iterate to Transaction Serial/Lot numbers in SuiteScript

   

The script below should iterate to the the serial numbers in a transaction.

 

var serial = nlapiGetLineItemValue('item', 'serialnumbers', 1);
alert(serial);
seriallist = serial.split(String.fromCharCode(5));
for (var j=0; j<seriallist.length; j++)
{
alert(seriallist[j].toString());
}
  


 

No comments:

Post a Comment