Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AIF Class Naming Conventions [AX 2012]

Updated: December 15, 2011

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The following table lists the naming conventions for the Application Integration Framework (AIF) classes. If you are creating your own services, it is a best practice to follow these naming conventions.

NoteNote

The document class artifact is the top-level data object. It is referred to as the document class, but is also a data object.

Artifact type

Name description

Name generation rules

Example

Document name

Name of the document

User-defined name describing the document

SalesOrder

Service class

Name of the AIF service class

<Prefix> + <Document Name> + "Service"

SalesSalesOrderService

Document class

Name of the X++ class for the root data object

<Prefix> + <Document Name>

SalesSalesOrder

Data objects

Name of the X++ class for the child data objects of the document class

<Root data object name> + "_" + <Query data source Name>

SalesSalesOrder_SalesTable, SalesSalesOrder_DocuRefHeader, SalesSalesOrder_DocuRefLine, SalesSalesOrder_InventDim, SalesSalesOrder_MarkupTransHeader, SalesSalesOrder_MarkupTransLine, SalesSalesOrder_SalesLine

AOT service node

Name of the AOT node for the service

<Prefix> + <Document Name> + "Service"

SalesSalesOrderService

Service external name

Name of the service published to Windows Communication Foundation (WCF)

<Document Name> + "Service"

SalesOrderService

Table class names

Name of the Ax <Table> classes

"Ax" + query data source table name

AxSalesTable, AxInventDim, AxDocuRef, AxMarkupTrans, AxSalesLine

Query

Name of the query

"Axd" + user-defined document name

AxdSalesOrder

Document class name

Name of the Axd <Document> class

Same name as the query

AxdSalesOrder

Community Additions

ADD
Show:
© 2015 Microsoft