How to Cancel Line Item in SuiteScript2.0 ? Equivalent API for nlapiCancelLineItem()?

Hi All,

Please use below code to cancel line Item in SuiteScript2.0:



In SuiteScript1.0:

      nlapiCancelLineItem(type)



In SuiteScript2.0:

       CurrentRecord.cancelLine(options)



Module Used:

       N/currentRecord Module





Please comment if you have any question.

Thanks

Abhi

Comments