Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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;