How to Insert Line item in Suite Script 2.0? Equivalent of nlapiInsertLineItem?
Hi All,
Please use below code in SuiteScript2.0:
In SuiteScript1.0:
nlapiInsertLineItem(type, line)
In SuiteScript2.0:
CurrentRecord.insertLine(options)
Module Used:
N/currentRecord Module
Please comment if you have any question.
Thanks
Abhi
Comments
Post a Comment
Thanks for you message, please join us on Facebook and Linkedin