RE: How can I transform an SO to an INV and attach an externalId using REST?

I’m having an issue including an externalId when I transform a sales order to an invoice using the REST API.

My request looks like this:

{{REST_SERVICES}}/record/v1/salesOrder/8/!transform/invoice

and the request goes through, but I get the following header:

Unknown field name externalid. Field does not exist on this record instance.

And the resulting INV does not have an externalId

 

RE: How can I transform an SO to an INV and attach an externalId using REST?

Jonathan Rookie Asked on September 1, 2020 in SuiteTalk.
Add Comment
8 Answers

Hey Chris, this is what I’m doing now. Would you be able to file a bug with NS? Unfortunately, I only have basic support so I’m unable to file one myself.

 

POST {{REST_SERVICES}}/record/v1/salesOrder/eid:so-test/!transform/invoice

With {“externalId”: “123”}

Yields:  X-NetSuite-PropertyValidation: Unknown field name externalId. Field does not exist on this record instance.

Rookie Answered on October 2, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.