Dynamics Excel Add-In
This article presents an example of the Excel Add In utility in Dynamics AX 2012
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb1.png?w=620&h=389)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb2.png?w=620&h=340)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb3.png?w=620&h=315)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb4.png?w=620&h=256)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb5.png?w=582&h=582)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb6.png?w=528&h=528)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb7.png?w=620&h=412)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb8.png?w=620&h=235)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb9.png?w=620&h=266)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb10.png?w=620&h=245)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb11.png?w=620&h=245)
And load the updated data into Dynamics Ax
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb12.png?w=620&h=238)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb13.png?w=389&h=633)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb14.png?w=620&h=389)
Or you can add a new record:
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb15.png?w=620&h=253)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb16.png?w=620&h=389)
Step 1: Identify the table in Dynamics AX
- Open the table you want to use in Excel Add In
- Right click > Personalize
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb1.png?w=620&h=389)
- Note the table name
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb2.png?w=620&h=340)
Step 2: Import the table in Excel
- Open Excel and go to the Dynamics AX tab
- Click “Connexion”
- Select the company
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb3.png?w=620&h=315)
- Click “Add data”
- Select “Add table”
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb4.png?w=620&h=256)
- Retreive the table and add it to the Selected table area
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb5.png?w=582&h=582)
- Select option “Create worksheets”
- Click “OK”
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb6.png?w=528&h=528)
- Table is open in Excel:
- Key fields are automatically selected
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb7.png?w=620&h=412)
- Add column:
- Double click to add a column
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb8.png?w=620&h=235)
Step 3: Refresh the data of the table
- Close the “Field Chooser” bar
- Click inside the table
- Click “Refresh All” > “Refresh Current”
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb9.png?w=620&h=266)
- All the data from Dynamics AX are loaded in the Excel file
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb10.png?w=620&h=245)
Step 4: Update or create a new record
You can now update the data:- for example the description
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb11.png?w=620&h=245)
And load the updated data into Dynamics Ax
- Click “Publish” > “Publish selected” to publish only the current worksheet
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb12.png?w=620&h=238)
- Once the data are published, a new sheet is created with the details of the import status
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb13.png?w=389&h=633)
- Check in Dynamics AX: the table has been updated
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb14.png?w=620&h=389)
Or you can add a new record:
- Create a new line in the excel table
- Populate all the fields
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb15.png?w=620&h=253)
-
Click “Publish all”
Remark: If there is an error (a code does not exist
for example), the error will be describe in the status report and the
record is not imported.
- Check in Dynamics AX: new record has been created
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb16.png?w=620&h=389)
No comments:
Post a Comment