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!
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.