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.
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