When attempting to add a salesOrder after the new 11.0.6 release, I am now greeted with the following error:
Shipping total must be calculated before saving. Please click "Calculate".
The shippingCost and shippingMethod are being sent with the request, and yet this message persists.
I have isolated to the problem to being tax-related (where a customer without tax processes fine, and customer with tax fails). I am contacting customer service via telephone with my gold support package now, and have posted my SOAP request and response below.
SOAP Request:
<soap:Body> <add> <record xsi:type="ns6:SalesOrder"> <ns6:taxItem internalId="6" /> <ns6:ccName xsi:type="xsd:string">John Doe</ns6:ccName> <ns6:email xsi:type="xsd:string">john@doe.com</ns6:email> <ns6:ccStreet xsi:type="xsd:string">1234 Fake Street</ns6:ccStreet> <ns6:ccNumber xsi:type="xsd:long">XXXXXXXXXXXXXXXX</ns6:ccNumber> <ns6:entity internalId="35644" type="customer" /> <ns6:ccAvsStreetMatch xsi:type="xsd:string">_y</ns6:ccAvsStreetMatch> <ns6:ccExpireDate xsi:type="xsd:dateTime">2010-07-28T00:00:00</ns6:ccExpireDate> <ns6:toBePrinted xsi:type="xsd:boolean">true</ns6:toBePrinted> <ns6:shippingCost xsi:type="xsd:float">6.38</ns6:shippingCost> <ns6:customForm internalId="101" /> <ns6:ccAvsZipMatch xsi:type="xsd:string">_y</ns6:ccAvsZipMatch> <ns6:ccZipCode xsi:type="xsd:int">92656</ns6:ccZipCode> <ns6:shipMethod internalId="3" /> <ns6:tranDate xsi:type="xsd:dateTime">2007-02-11T08:54:17</ns6:tranDate> <ns6:toBeEmailed xsi:type="xsd:boolean">true</ns6:toBeEmailed> <ns6:authCode xsi:type="xsd:string">XXXXXX</ns6:authCode> <ns6:isTaxable xsi:type="xsd:boolean">true</ns6:isTaxable> <ns6:paymentMethod internalId="5" /> <ns6:pnRefNum xsi:type="xsd:string">XXXXXXXXX</ns6:pnRefNum> <ns6:orderStatus xsi:type="ns7:SalesOrderOrderStatus">_pendingFulfillment</ns6:orderStatus> <ns6:customFieldList xsi:type="ns3:CustomFieldList" /> <ns6:itemList xsi:type="ns6:SalesOrderItemList" replaceAll="true"> <ns6:item xsi:type="ns6:SalesOrderItem"> <ns6:item internalId="31" /> <ns6:rate xsi:type="xsd:float">36.95</ns6:rate> <ns6:quantity xsi:type="xsd:float">4.00</ns6:quantity> </ns6:item> </ns6:itemList> </record> </add> </soap:Body>
SOAP Response: <soapenv:Body> <addResponse xmlns=""> <writeResponse xmlns="urn:messages_2_5.platform.webservices.netsuite.com"> <ns1:status isSuccess="false" xmlns:ns1="urn:core_2_5.platform.webservices.netsuite.com"> <ns1:statusDetail type="ERROR"> <ns1:code>USER_ERROR</ns1:code> <ns1:message>Shipping total must be calculated before saving. Please click "Calculate".</ns1:message> </ns1:statusDetail> </ns1:status> </writeResponse> </addResponse> </soapenv:Body>
I have notified NetSuite of this issue (Case #534930), and they have confirmed it is re-producible. I wanted to post it on the forums in case anyone was experiencing the same thing.Jonathan Lloyd