Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Help getting a price from a Price List using nlapiGetMatrixValue
I'm trying to get the Inventory Item price value $$ for one of the price levels we have setup to setup our non-inventory item to the same price. We do not use multicurrency. It must be the field id. I have tried many things with no luck.
I have:
listPrice = nlapiGetMatrixValue('price', 'price', 1);
When I use nlapiLoadRecord on the 'inventoryitem' I see:
lineitems: ...
price: 1: currency: "1"
price_1_: "110.00"
pricelevel: "1"
pricelevelname: "List Price"
2: currency...
I even added an alert on a field change to return name, type and column = it returns (price, price, 1...7), just what I have in the script statement.
Any help would be greatly appreciate it. Thanks!
0