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 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Can't set line item tax code on sales order via Suitescript (scheduled)
When I try and set the tax code on a line item in a sales order via Suitescript the code reverts to the default tax code every time. If I do this via the UI it works fine. I need some pointers on what to try here.
Code snippet below. I am using the internal id of the tax code to set it. This is a scheduled Suitescript.
I have tried this when loading the sales order in dynamic mode and not but same result. I also tried different code to create the sales order, save it and then reload it and go back and change the id in case it was to do with the sequence of setting the address etc. But no luck.
Tagged:
0