Documents that are exchanged using the Application Integration Framework (AIF) reflect data in the Microsoft Dynamics AX database, such as, a purchase order. To exchange documents and data with trading partners and other applications, the AIF creates a message, which couples header information with the document payload.
You can view document and message information on the form.
-
If you select in the field, you see information about the related action, the source and destination endpoints, and the date and time that the log entry was created.
-
If you select in the field, in addition to the information above, you also see information about the form name and the entity of the underlying document.
Information about messages and document history are organized by action for each endpoint. Set the parameters for logging when you configure endpoint action policies. For more information, see Configure endpoint action policies.

View general document history
-
Click > > > .
-
In the field, you can filter the display by selecting either or .
-
When you filter by , you see the following information about the message: the action, the source and destination endpoints, and the date and time of the message transfer.
-
When you filter by , in addition to the items above, you also see the form name and entity key for the document.
-
Click the tab to view the field.
-
Click the tab to view the following information:
-
The message direction (inbound or outbound)
-
The pipeline identification (if any)
-
User information for the endpoint (the Microsoft Dynamics AX user associated with the endpoint) and the submitting user. This is the user associated with the process that submitted the message (either the Microsoft Dynamics AX user that submitted the message for the source endpoint, or a trusted intermediary).
For more information, see Configure an endpoint.
-
For outbound documents sent in response to read requests, the field shows the message identification for the original request.
-
Processing details including the , the , and the used in the exchange.
-
Click to view the documents in the database that correspond to the message.
-
Click to view the raw XML for each version of the document as it is transformed by each of the components in the pipeline.
-
Click to clear all or some of the XML for any of the versions of the document that currently exist in the system.

View the data in a document for a message
-
Click > > > .
-
In the field, filter by .
-
Select a message and click .
-
On the form, view the form name, table name, and entity key for the document contained in the message you selected. You can also view a record for each of the numbered versions of the document and the related processing steps.
-
Click to see the data displayed in the default form for that document.

Delete a message
When you delete a message on the form, you delete it from the AifMessageLog table.
-
Click > > > .
-
In the field, filter by .
-
Select a message and click .
-
Press ALT+F9 to delete the record.

Delete the XML for a document
-
Click > > > .
-
In the field, filter by .
-
Select a document.
-
Click .
-
To clear all the XML document images in the system, click .
-
To clear all versions of the XML document except the version closest to the local endpoint, click .
-
For outbound documents, this clears all versions except the highest-numbered version.
-
For inbound documents, this clears all versions except the first one.

See Also