Hello,
I have created a Boomi process that accepts a request to close an RMA in NetSuite. The XML payload being passed to NetSuite (which gets included in the SOAP request) is below. The version of NetSuite is
NetSuite (Edition: United States) Release 2019.1
The response I get back from NetSuite is below the XML payload.
Does anyone have experience with closing RMAs via the API and might know which fields need to be passed in? Even though the payload below does not show passing in orderStatus, I have tried passing in orederStatus (tried setting to Closed & H) and get an error
<message>Error executing Netsuite operation: org.xml.sax.SAXException: Closed is not a legal value for {urn:types.customers_2018_2.transactions.webservices.netsuite.com}ReturnAuthorizationOrderStatus</message>
Any ideas are appreciated.
Thanks in advance.
Joe
Payload to NS ...
<ReturnAuthorization>
<tranId>12345</tranId>
<location internalId="123"></location>
<subsidiary internalId="7"></subsidiary>
<itemList>
<item>
<item internalId="987654"></item>
<isClosed>T</isClosed>
</item>
</itemList>
</ReturnAuthorization>
Response from NS ...
<Result>
<id></id>
<success>false</success>
<errors>
<error>
<statusCode>INVALID_KEY_OR_REF</statusCode>
<message>The specified key is invalid.</message>
<type>ERROR</type>
</error>
</errors>
</Result>