How to: Update a Service After Adding a Query Data Source [AX 2012]
Updated: January 29, 2014
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
In Microsoft Dynamics AX, if you add a data source to a query that is the foundation for a document service, you must update the service to reflect these changes. For more information about the document services classes, see Document Services Classes. This process creates an Ax <Table> class (also called an AxBC class) for the new data source and updates the data object classes.
Update the service
-
After you have added the query data source, open the Update document service form. In a Development Workspace, click Tools > Application Integration Framework > Update document service.
-
In the Service class name field, select the service class.
-
In the Supporting classes area, select the Regenerate data object classes box.
-
Select the Update AxBC classes box.
-
Click OK.
After you complete these steps, the table, the Ax <Table> class, and the data object classes will be synchronized. Next, you must refresh the services.
Refresh the services
-
In a Development Workspace, expand the Forms node in the AOT.
-
Right-click AifService, click Open, and then click Refresh.
Note |
|---|
| You can also refresh the services from the Inbound ports form. Click System administration > Setup > Services and Application Integration Framework > Inbound ports, click File, and then click Refresh. |
Note