I'm successfully adding about 60 Sales Orders a day with WS. But then our folks have to Bulk FulFill and Bulk Bill them manually and I want to save these 2 steps/transactions.
In my testing, I can add Invoices for my test customer (5637), but not the two real ones I need it to work on (14646) .
I'm sending the same SOAP for both but the real customer fails with an "Unexpected Error". Both customers look exactly the same and Bulk FulFill and Bill don't get any errors for them.
How do you troubleshoot this "unexpected error"?
Here is the SOAP that works:
<platformMsgs:add xmlns:platformMsgs = 'urn:messages_2_5.platform.webservices.netsuite.com'> <record xsi:type='ns2:Invoice' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:ns2='urn:sales_2_5.transactions.webservices.netsuite.com'> <ns2:entity internalId='5637'></ns2:entity> <ns2:tranId>SS-10965</ns2:tranId> <tranDate>2007-06-21T20:45:25.000-06:00</tranDate> <ns2:otherRefNum>po4321</ns2:otherRefNum> <ns2:memo>Device already shipped, please step to completion.</ns2:memo> <ns2:shipAddress>Shanon Swafford
412 Whispering Hills Drive
myroooom
Coppell
TX
75019
US</ns2:shipAddress> <ns2:shipMethod internalId='412'></ns2:shipMethod> <ns2:shippingCost>0</ns2:shippingCost> <ns2:location internalId='1'></ns2:location> <ns2:itemList> <ns2:item> <!-- line = 1 1951 --> <ns2:item internalId='1951'></ns2:item> <ns2:quantity>1.0</ns2:quantity> <ns2:amount>0.00</ns2:amount> <ns2:description>Linksys SPA-2102-NA Pre-Provisioned VoIP Analog Adapter from Consigned Inventory</ns2:description> <ns2:price internalId='-1'> <ns9:name xmlns:ns9='urn:core_2_5.platform.webservices.netsuite.com'> </ns9:name> </ns2:price> </ns2:item> <ns2:item> <ns2:item internalId='1552'></ns2:item> <ns2:quantity>1.0</ns2:quantity> <ns2:amount>4.35</ns2:amount> <ns2:description>Provisioning Packing and Packaging Materials Charge (Non-refundable)</ns2:description> <ns2:price internalId='-1'> <ns9:name xmlns:ns9='urn:core_2_5.platform.webservices.netsuite.com'> </ns9:name> </ns2:price> </ns2:item> </ns2:itemList> </record> </platformMsgs:add>
Here is the SOAP that doesn't and the error array returned:<platformMsgs:add xmlns:platformMsgs = 'urn:messages_2_5.platform.webservices.netsuite.com'> <record xsi:type='ns2:Invoice' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:ns2='urn:sales_2_5.transactions.webservices.netsuite.com'> <ns2:entity internalId='14646'></ns2:entity> <ns2:tranId>SS-10951</ns2:tranId> <tranDate>2007-06-21T15:26:38.000-06:00</tranDate> <ns2:otherRefNum>78099</ns2:otherRefNum> <ns2:memo>Device already shipped, please step to completion.</ns2:memo> <ns2:shipAddress>Sample Name
102 Lakeside WAY

Dallas
TX
75234
US</ns2:shipAddress> <ns2:shipMethod internalId='412'></ns2:shipMethod> <ns2:shippingCost>0</ns2:shippingCost> <ns2:location internalId='1'></ns2:location> <ns2:itemList> <ns2:item> <!-- line = 1 1951 --> <ns2:item internalId='1951'></ns2:item> <ns2:quantity>1.0</ns2:quantity> <ns2:amount>0.00</ns2:amount> <ns2:description>Linksys SPA-2102-NA VOIP.COM Pre-Provisioned VoIP Analog Adapter for VOIP.COM from Consigned Inventory</ns2:description> <ns2:price internalId='-1'> <ns9:name xmlns:ns9='urn:core_2_5.platform.webservices.netsuite.com'> </ns9:name> </ns2:price> </ns2:item> <ns2:item> <ns2:item internalId='1552'></ns2:item> <ns2:quantity>1.0</ns2:quantity> <ns2:amount>4.35</ns2:amount> <ns2:description>Provisioning Packing and Packaging Materials Charge (Non-refundable)</ns2:description> <ns2:price internalId='-1'> <ns9:name xmlns:ns9='urn:core_2_5.platform.webservices.netsuite.com'> </ns9:name> </ns2:price> </ns2:item> </ns2:itemList> </record> </platformMsgs:add>
Received: