Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
attach/detach for customer/opportunity
The documentation suggests that attach() can be called to attach opportunity to a customer record. However, I get the error message:
"Missing or Invalid RecordType for AttachTo (USER_ERROR)".
Here is the SOAP message:
<SOAP-ENV:Body xmlns:ns1="urn:messages_2008_1.platform.webservices.netsuite.com">
<ns1:attach xsi:type="ns1:AttachRequest">
<ns1:attachReferece xmlns:ns2="urn:core_2008_1.platform.webservices.netsuite.com" xsi:type="ns2:AttachBasicReference">
<ns2:attachTo internalId="1315" type="customer" xsi:type="ns2:RecordRef"></ns2:attachTo>
<ns2:attachedRecord internalId="1178" type="opportunity" xsi:type="ns2:RecordRef"></ns2:attachedRecord>