USING NETSUITE API nlapiSetCurrentLineItemMatrixValue

USING NETSUITE API nlapiSetCurrentLineItemMatrixValue

There are many api’s in Netsuite which are not frequently used in customization’s but has lot of importance.

Feel free to reach your NetSuite Solution Provider , TheSmilingCoders for proper netsuite implementationnetsuite consultation , netsuite customizationnetsuite Support,netsuite Training, nlapiSetCurrentLineItemMatrixValue can be used to set the price of an item in the item record. This cannot be achieved by using the api nlapiSetLineItemValue.

The following code can used with or without changes depending on the scenarios to set the base price of an item in the item record :

var total = 100;

nlapiSelectLineItem(‘price’, i);
 
nlapiSetCurrentLineItemMatrixValue(‘price’, ‘price’, i, total);
 
 nlapiCommitLineItem(‘price’);

contact us at: NetSuite Solution Provider , TheSmilingCoders

Email : [email protected]

Facebook : https://www.facebook.com/Smiling-Coders-Netsuite-Training-Implementation-and-Support-1591053827660082/

Linkedin : https://www.linkedin.com/company/netsuite-academy/


Log out of this account

Leave a Reply