USING NETSUITE API nlapiSetCurrentLineItemMatrixValue

Feel free to reach your NetSuite Solution Provider , TheSmilingCoders for proper netsuite implementationnetsuite consultation , netsuite customizationnetsuite Support,netsuite Training, contact us at: Email : info@smilingcoders.com
There are many api's in Netsuite which are not frequently used in customization's but has lot of importance.

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');


Email : info@smilingcoders.com


Comments

  1. We are NetSuite Solution Provider with vast experience in NetSuite Implementation, netsuite customization including netsuite training & netsuite integration.
    NetSuite Solution Provider
    NetSuite Training
    NetSuite Implementation
    NetSuite Customization
    NetSuite Integration

    ReplyDelete

Post a Comment

Popular posts from this blog

Work Around the 1000 Row Limit Returned by Saved Searches in Netsuite

Understand Core Technology behind SuiteScript 2.0

HOW TO SET SUBLIST SUB RECORD VALUES IN SUITE SCRIPT 1.0 AND 2.0