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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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