https://netsuiteprofessionals.com logo
#suitescript
Title
# suitescript
j

Jared Fraley

04/21/2022, 8:02 PM
How do I reference the Online Price price level using SuiteScript? I want to set the Online Price level for an item based on if it's not the same as Base Price and other parameters.
b

battk

04/21/2022, 10:48 PM
same way you do in the ui, set the price level column to online price
j

Jared Fraley

04/25/2022, 1:12 PM
What is the function to set a price level's value?
b

battk

04/25/2022, 3:18 PM
depends on which record and honestly which features are enabled in the account
if its a transaction, then Record.setSublistValue
j

Jared Fraley

04/25/2022, 3:19 PM
It's the Item record itself I want to change prices for.
b

battk

04/25/2022, 3:20 PM
if you mean that actual item record, you will have to learn the Pricing Sublist / Pricing Matrix