Lesson 4: Perform an Insert Operation on the Purchase Order Table
In Lesson 3: Execute a Stored Procedure to Select New Employees Added, you executed the UPDATE_EMPLOYEE stored procedure and received a response message that contains the details of the newly inserted employee record. In this lesson, you will build on the previous lesson and update the orchestration to perform the following steps:
Within the orchestration, you build the message to perform an Insert operation on the Purchase_Order table. This step is similar to Step 1: Create the Request Message for UPDATE_EMPLOYEE Stored Procedure.
After you build the request message, you map the response message of the UPDATE_EMPLOYEE stored procedure to the request message for the Insert operation on the Purchase_Order table. By mapping the messages, you pass the values received from the response messages to the request message for Insert operation.
You send the message to insert a record in the Purchase_Order table and receive a response.
You send the response to a send port.