Specifying a new request/reply action
Specifying a new action for handling a Process BOD and sending an Acknowledge BOD in reply.
- On the Documents tab, click Add.
- Select the scenario Request / Reply.
-
Define the statement used to handle the data from the incoming
document. Use a stored procedure. In the statement specify the [Data] placeholder to refer to the incoming data.
The incoming XML is a single DataArea which can contain one or more document instances. For example, when using SQL Server the statement can contain: EXEC ProcessItem '[Data]';
The statement must provide an XML result set, containing the DataArea for the Acknowledge BOD to be published in reply.
- Click Test to test if the statement details specified are correct.
- Specify a Process BOD XML in the dialog box that is displayed.
-
Click OK to run the test.
You are informed if errors occur. If the test has finished successfully, check the database whether the data is stored as expected.
-
Select the document. If the document is not defined in the ION Registry, add the required metadata.
See "Custom Nouns" in the Infor ION Desk User Guide.