Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Assigning a commission to each line item of a sales order / quote
Hello everyone,
I began developing a script in sandbox that would assign a commission percentage to each line item of a sales order and quote.
I created a transaction line field, COMM % and have it set to a list record. The values range from 0 - 10.
I am reading into SAID 94464 for inspiration. However, this script is doing things different. My process is going to be much different than that.
What I want to do is assign the options based on the line item's EST. GROSS PROFIT PERCENT
If the GP is within a certain percentage range, then the COMM % will select whichever option there is.
Tagged:
0