Having stange response on this, replies "You must enter at least one line item for this transaction" but there clearly is a line in the transaction. There may be variance by account becasue this kind of worked in a different account with locations enabled. Anyone see anything wrong with this (the spaces in the xmlns seem to be part of the cut/paste and not in the actual SOAP post) ? I'll put in a case but here's the SOAP:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<add xmlns="urn:messages_2_0.platform.webservices.netsuite.com">
<record xsi:type="ns1:InventoryAdjustment" xmlns:ns1="urn:inventory_2_0.transactions.webservices.netsuite.com">
<ns1:tranDate xsi:type="xsd:dateTime">2006-10-13T00:45:58.238Z</ns1:tranDate>
<ns1:account internalId="302" xsi:type="ns2:RecordRef" xmlns:ns2="urn:core_2_0.platform.webservices.netsuite.com"/>
<ns1:department internalId="32" xsi:type="ns3:RecordRef" xmlns:ns3="urn:core_2_0.platform.webservices.netsuite.com"/>
<ns1:inventoryList replaceAll="false" xsi:type="ns1:InventoryAdjustmentInventoryList">
<ns1:inventory xsi:type="ns1:InventoryAdjustmentInventory">
<ns1:item internalId="46880" type="inventoryItem" xsi:type="ns4:RecordRef" xmlns:ns4="urn:core_2_0.platform.webservices.netsuite.com"/>
<ns1:location internalId="1" type="location" xsi:type="ns5:RecordRef" xmlns:ns5="urn:core_2_0.platform.webservices.netsuite.com"/>
<ns1:adjustQtyBy xsi:type="xsd:double">1.0</ns1:adjustQtyBy>
</ns1:inventory>
</ns1:inventoryList>
</record>
</add>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Body>
<addResponse xmlns="urn:messages_2_0.platform.webservices.netsuite.com">
<writeResponse xmlns="urn:messages_2_0.platform.webservices.netsuite.com">
<ns1:status isSuccess="false" xmlns:ns1="urn:core_2_0.platform.webservices.netsuite.com">
<ns1:statusDetail type="ERROR">
<ns1:code>USER_ERROR</ns1:code>
<ns1:message>You must enter at least one line item for this transaction.</ns1:message>
</ns1:statusDetail>
</ns1:status>
</writeResponse>
</addResponse>
</soapenv:Body>