How to get Index of Current Line Item in Suite Script 2.0?

Hi All,

Please use below code to save record in SuiteScript2.0:

In SuiteScript1.0:

      nlapiGetCurrentLineItemIndex(type)

In SuiteScript2.0:

       CurrentRecord.getCurrentSublistIndex(options)

Module Used:

       N/currentRecord Module

Please comment if you have any question.

Thanks

Abhi








Comments