Hi,
I am still struggling doing additions via Web Services. I am doing very simple transactions to isolate the issue, but I cannot see what might be the problem.
For example following SOAP request returns Unexpected Error:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <preferences xmlns="urn:messages_2_5.platform.webservices.netsuite.com"> <warningAsError>false</warningAsError> </preferences> </soap:Header> <soap:Body> <add xmlns="urn:messages_2_5.platform.webservices.netsuite.com"> <record xmlns:q1="urn:customers_2_5.transactions.webservices.netsuite.com" xsi:type="q1:CreditMemo" externalId="NS-CM10107"> <q1:entity internalId="xxx-xxx-xxxx@usnavysealstore.com" type="customer" /> <q1:tranDate>2007-03-12T16:23:00</q1:tranDate> <q1:postingPeriod /> <q1:exchangeRate>1</q1:exchangeRate> <q1:itemList> <q1:item> <q1:item type="inventoryItem"> <name xmlns="urn:core_2_5.platform.webservices.netsuite.com">NS-SSR-71536265-SE-BOO-XXXX-XXX-XX</name> </q1:item> <q1:quantity>1</q1:quantity> <q1:amount>6.99</q1:amount> </q1:item> </q1:itemList> </record> </add> </soap:Body> </soap:Envelope>
Customer exists, item exists, transaction NS-CM10107 does not. I think supply everything required here according to the documentation, but I cannot go any further.Thanks for the helpDeniz