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.
script not saving changes to record
At my company our customers can place orders on our website (not NetSuite based) and those items will import into NetSuite as single items of whatever they ordered. Many times however, we offer a product that is a combination of two items they might have selected on the website and we would prefer to process the order as that combo item because of shipping cost savings.
To that end I've developed a script that when deployed will look at all orders as they are created if the context is web and search for the individual items and if it finds a match it will substitute the pair item for one line item and remove the other.
0