Dynamics AX - XML (Magic xpi 4.1)
The Dynamics AX connector is designed to work with Magic xpi’s XML interface. When you drag the Dynamics AX connector into a flow, the Component Properties dialog box opens. Click Configuration to open the Dynamics AX Configuration dialog box.
This dialog box contains the following fields:
|
|
Connection
|
Resource Name
|
The name of the resource, previously defined in the Resource Repository, that you selected in the Component Properties dialog box's Settings tab.
|
Operation
|
Contract
|
Select the required contract from the drop-down list. This list is populated with contracts that are saved when you click the Dynamics AX Resource Setting window's Load Service button.
|
Operation
|
Select the required operation from the drop-down list. This list is populated with all the operations that are relevant for use with the contract that you selected in the Contract field (above).
Note:
|
During the mapping stage, when working with Read, Update, and Delete operations, you should use the EntityKey element and not the KeyField element if you want to submit multiple record requests in a single execution. For a single record, you can use either the KeyField record or the EntityKey record.
|
|
|
Result Options
|
Store Result In
|
Defines where you want to store the resulting XML file. Select one of the following from the drop-down list:
-
Variable: Select a variable to hold the entity data that is returned by Dynamics AX. Click to open the Variables List. Select a variable where this information is to be stored (the default is C.UserBlob).
-
File: Select a file to hold the entity data that is returned by Dynamics AX. Click to open the Expression Editor, or click and enter the file path where this information is to be stored.
|
Operation Success
|
This field lets you easily determine if the data entity was successfully located in Dynamics AX. Select one of the following from the drop-down list:
-
None: Select this option if you do not want to save the connector’s success or failure status.
-
Variable: Click to open the Variables List. Select the variable where you want to store the connector's success or failure status.
|
Note:
|
Although not recommended, if you changed your schema manually, you need to set the XSD File property in the Dynamics AX IFC model. You will see this property by clicking the Properties button on the Destination side of the Data Mapper that opens after you configure the Dynamics AX connector and click OK. If you change the XSD path in this property, the schema's original root that was generated in the resource will not be changed.
|
|