Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Setting Prices via Pricing Matrix API
I am attempting to modify pricing via SuiteScript (a User Event script) - however the setCurrentLineItemMatrixValue function doesn't seem to be working properly.
The code is really a script found in the Help topic on Pricing Sublists, so it is surprising to me that it doesn't just work as is.
Other parts of the script are working just fine, both before and after the call to setCurrentLineItemMatrixValue. I even enclosed that call in a try-catch block of its own, with no error being caught. The code seems to run, but not actually update the matrix values. We need to be able to update pricing via some form other than CSV imports, and I figured that scripting would be the best way, especially since there is the Matrix API designed specifically for this sort of thing - modifying item pricing.