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!
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
Suitescript Help using Multiple Shipping Routes
We currently have a simple script that runs on all Sales orders. This script runs if the ship method selected is "Next Day Delivery". The script creates a new record of a custom record type that we use to track truck deliveries, and make a drop schedule.
We are currently looking into making Multiple Shipping Routes available on new Sales Orders. My question is how do I make my script work when I have more than 1 ship method selected. Here is the script that is currently running:
function NewTruckDeliveryCreateRecord(type)
{
// Get the Current Sales Order Record
var currentRecord = nlapiGetNewRecord();
// Get the Previous Sales Order Record
0