Setting line number

  function validateLine(scriptContext){                    let recCurrent = scriptContext.currentRecord;      if(scriptContext.currentRecord.type == “creditmemo”){                 log.debug(“scriptContext.mode”,mode);                   var lineCount = recCurrent.getLineCount({           sublistId: ‘item’         })… Continue reading Setting line number

Showing the On Order Quantity of items in the Sales order

//Info: SZCO-4 Solution:We are going to include a new transaction line field in NetSuite. “ON ORDER” will be the field name, and a decimal number will be the field type. This field is used to display the quantity of the item that is “ON ORDER.” Based on the transaction body level location, the value for… Continue reading Showing the On Order Quantity of items in the Sales order