USING NETSUITE API nlapiSetCurrentLineItemMatrixValue
Category : NetSuite suitescript
Feel free to reach your NetSuite Solution Provider , TheSmilingCoders for proper netsuite implementation, netsuite consultation , netsuite customization, netsuite 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]
Linkedin : https://www.linkedin.com/company/netsuite-academy/