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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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