Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How to change the Price Level when the Customer field is changed in Sales Order
Hello everyone!
I'm developing a script that should change the value of the Price Level field in the Items sublist when the customer field is changed in Sales Order.
(See Script_SetPriceLevel.txt)
What needs to be done: In many Sales Orders, in the Items sublist, there are items with values set for Price Level = "2023 Price List". When someone changes the customer, it is necessary to save these values in the fields and prevent NetSuite from changing them to other values.
As I noticed, NetSuite automatically runs a function that changes several fields, including the Price Level, based on the selected customer. As you know, for each customer, you can choose a default Price Level that will be set for all items in the list.