netsuite icon indicating copy to clipboard operation
netsuite copied to clipboard

Lacking support for the 'attach' SOAP operation

Open jamesottaway opened this issue 8 years ago • 1 comments

@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 avatar Nov 15 '16 06:11 jamesottaway

@jamesottaway definitely! Send over a PR... I'd love to get this functionality in the gem.

iloveitaly avatar Nov 17 '16 13:11 iloveitaly