Document Services Classes
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
In Application Integration Framework (AIF) a document is a representation of the data model in Microsoft Dynamics AX. This means that a document reflects the data as it occurs in the application. For example, the sales order document contains a sales order header with the sales order data and the corresponding sales order lines for a particular sales order. This document structure reflects the existing records in the application.
In most cases, the data fields that can be updated in the document are included on the form of the same name in the Microsoft Dynamics AX client. For example, to view the Sales order form, click Accounts receivable > Common > Sales orders > All sales orders. Viewing the records on the form also shows you what data is available to the read and find service operations for the AIF document service.
In AIF, data is exchanged in XML format. The AIF classes are responsible for serializing the data to or from XML for use by the transport layer. These classes include the document services classes, the Axd<Document> classes, and the Ax<Table> classes. The source of data for each document is a query (the Axd document query). The query controls the content and structure of the data in the document.
The topics in this section provide information about document services classes and document schemas.
About Document Service Classes
Document Class Service Operations