Is there a way to automate the change of an item price level value (price) via SuiteScript?
Let me clarify. I saw the following in the help topic regarding this specific issue:
Pricing Sublist
//nlapiGetLineItemMatrixValue(type, fldnam, linenum, column) nlapiGetLineItemMatrixValue('price', 'price', 2, 1);[INDENT]In this sample you:1.Specificy the sublist internal ID (price).2.Specify the internal ID of the pricing field (which will generally be price).Important: Although the UI labels in this figure show field names such as Alternate Price 1, Alternate Price 2, and Online Price, the internal ID for the fldnam parameter is still price. The only exception to this is described in Pricing Sublist Field IDs for the currency field.3.Specify the line number (row) of the price you want to get (in this sample, you are getting the value in row 2 - this is the price for Alternate Price 1).4.Specify the column number you want to get the value for (in this sample, you are getting the value in column 1 for Alternate Price 1).[/INDENT]Is that for real? There's no way to reference by id the price level you are interested in updating? I need to ensure that when I write code and somebody else with Administrative privileges goes in and modifies the first character of the price level which then alters the sequence of the price level appearance on the page, that such a change doesn't alter the expected results from running the script!I must be misunderstanding something here. . .