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
UPS Delivery Confirmation Default to Signature Required
Is there any way to set UPS to insured and signature required for packages over a certain declared value? I tried the follow client script with no luck:
var insuredvalue = nlapiGetCurrentLineItemValue('packageups','insuredvalueups');
if(insuredvalue < 200){
nlapiSetCurrentLineItemValue('packageups', 'useinsuredvalueups', 'F', false, true);
nlapiSetCurrentLineItemValue('packageups', 'deliveryconfups', 2, false, true);
}
Setting the declared value checkbox works via suite script however setting the delivery confirmation dropdown via the following line does not work:
nlapiSetCurrentLineItemValue('packageups', 'deliveryconfups', 2, false, true);
Any ideas?
0