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.
nlapiSubmitRecord - dosourcing not sourcing
I have a script that changes a sales order submitted via the websstore to be owned by the parent of the entity that submitted it. This is because the parent has a cheaper discount (and pays the bill) than the store that places the order.
The problem is that via the UI when you change the entity for an existing order, it updates the price levels for all items accordingly. However, it does not do this via the script, when dosourcing is true. I would have though that the price levels would have been updated as well.
IS there any way to make this happen, as changing the price level doesn't update it either, i'm assuming because the rate is already set in the sales order.
0