This post covers the creation of the "missing" backend integration from the previous post.
I discussed the auto-generation of the send/receive integrations in the previous post. What I now need to do is create a backend integration for processing my EDFACT Order. That integration will create a Sales Order in Netsuite. It will then be called from the scope below.
Create the Backend Integration
As you can see from above - REST trigger which then loops over the EDI messages -
For each message - take the b2b reference passed in the request payload and fetch the b2b doc. Finally. I just log the sender / receiver fields of the doc.
So now to the implementation details - The REST API Request payload is as follows -