netsuite
netsuite copied to clipboard
Lacking support for the 'attach' SOAP operation
@iloveitaly is this something you'd be interested in a PR to add support for?
I need to send an AttachContactReference
via the attach
operation to set the role for a Contact
.
The message body in my scenario needs to look like this:
<platformMsgs:attach>
<platformMsgs:attachReference xsi:type="s0:AttachContactReference">
<s0:attachTo xsi:type="s0:RecordRef" internalId="9044" type="customer" />
<s0:contact internalId="9045" />
<s0:contactRole internalId="-10" />
</platformMsgs:attachReference>
</platformMsgs:attach>
I've read through the implementation of a few of the other "actions" in lib/netsuite/actions/
and believe I could write something to allow this operation.
Any thoughts? Even just a quick :+1: before I write too much code would be useful.
@jamesottaway definitely! Send over a PR... I'd love to get this functionality in the gem.