Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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;