Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Unable to Upload SalesOrder
I get an error that says I am unable to upload a SalesOrder because the ShippingCostField is missing. However, I have actually set this field and have verified this when debugging. Is there another set of circumstances that would result in me getting this message? Below is my code sample if you would like to look.
#region Create Test Order
SalesOrder order = new SalesOrder();
order.balance = 0.0;
order.balanceSpecified = true;
order.billAddress = test.addressbookList.addressbook[0].addr1;
order.itemList = new SalesOrderItemList();
order.entity = new RecordRef();
order.entity.internalId = test.internalId;
order.entity.name = test.firstName + test.middleName + test.lastName;
order.discountRate = "0%";
order.discountTotal = 0.0;