Professional Documents
Culture Documents
The Excel Add-In is an incredibly useful tool because it doesnt just allow you to download
information from Dynamics AX, but it also allows you to publish information back to the
system without compromising the data integrity. You can use this for the initial data
setup within Dynamics AX, quick maintenance of multiple records, moving data from one
system to another, and even aggregating data through matrix fields. And best of all, this
tool is included for free with Dynamics AX, so you dont need to buy additional licenses in
order to use it.
In this worked example we will show how you can use the Dynamics AX Excel Add-In to
make updating data a breeze.
Installing The
Dynamics AX Excel
Add-In
Installing The
Dynamics AX Excel
Add-In
Installing The
Dynamics AX Excel
Add-In
Installing The
Dynamics AX Excel
Add-In
Installing The
Dynamics AX Excel
Add-In
Downloading &
Publishing Data
Through Excel
You can update pretty much any data that you are able to
access through the Dynamics AX client. All you need to
know is where to find it.
If you dont know what table to update though, here is a
quick trick. Find a form that has the data that you want to
update through Excel.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
Or you can also just type in the table name in the Filter
field at the bottom of the form.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
Select the table, and then click on the > button to add the
table to the selected tables. You can continue adding
tables if you want, and when you are finished, click on the
OK button.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
This will create a new worksheet for all of the tables that
you selected to add, and also open up the field explorer
on the left hand side with all of the available fields that
you can select from.
Note that the initial index fields are added by default to
your worksheet, saving a little bit of time.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
Now from the field list on the left, select all of the fields
that you want to include in the worksheet.
When you have finished, click on the Fields button in the
Design group of the Dynamics AX ribbon bar to return to
update mode.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
When you swap from the field listing to the edit mode,
you will initially have no records showing. To view all of
the data that is in the company, select the Refresh button
and then select the Refresh All iption.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
Now you will see all of the records from Dynamics AX.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
After you have added your new record, then select the
Publish All option from the Publish button.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
If all of your field values are correct, and you dont add
any records that already exist, then the table will refresh
and you will now see your new record.
2013. All rights reserved.
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
Downloading &
Publishing Data
Through Excel
You can use this for initial data loading, saving a lot of
repetitive data updates. For example, you can use this for
adding all of the common codes that you need for a new
company, and even for adding new chart of accounts in
just seconds.
2013. All rights reserved.
Using Filters to
Update Select Data
Using Filters to
Update Select Data
Since this is still an Excel table, you can filter on any of the
fields.
2013. All rights reserved.
Using Filters to
Update Select Data
You can select any of the values that are in the table for
the filter, and then click OK.
2013. All rights reserved.
Using Filters to
Update Select Data
Using Filters to
Update Select Data
Using Filters to
Update Select Data
This will allow you to select a field that you want to filter
on.
2013. All rights reserved.
Using Filters to
Update Select Data
Using Filters to
Update Select Data
Using Filters to
Update Select Data
The next time that you refresh the data, you will only get
the data that matches the filter criteria. This is better
than the Excel filter, because all of the additional records
are not returned, rather than being hidden in the
traditional filter.
2013. All rights reserved.
Using Filters to
Update Select Data
Once you have your dataset that you want to update, you
can change any of the field values.
2013. All rights reserved.
Using Filters to
Update Select Data
Using Filters to
Update Select Data
Copying Data
Between
Companies
Copying Data
Between
Companies
Copying Data
Between
Companies
You can change the Legal Entity that will be used just by
selecting it from the drop down list.
2013. All rights reserved.
Copying Data
Between
Companies
Copying Data
Between
Companies
Before we refresh the data, we will save off the data from
the original company for reference. This will make it
easier to cut and paste the data back into the new
company. So we just select all of the original table, and
then copy it.
2013. All rights reserved.
Copying Data
Between
Companies
Then paste the data over to the right of the main data.
2013. All rights reserved.
Copying Data
Between
Companies
Copying Data
Between
Companies
Copying Data
Between
Companies
Copying Data
Between
Companies
Select the template data that you saved and then paste it
as text into the linked table.
2013. All rights reserved.
Copying Data
Between
Companies
This will add all of the data for you so that it matches the
template. Although notice that I didnt populate the
Terms of Payment etc. here in this example thats only
because those tables are not configured, but highlight
that you can cleanse the data before pasting it in/
Copying Data
Between
Companies
Now from the Publish ribbon bat menu, select the Publish
All option to push the data to the new company.
2013. All rights reserved.
Copying Data
Between
Companies
Copying Data
Between
Companies
Copying Data
Between
Companies
Importing Complex
Data Structures
EcoResProductDimensionGroup
PK
RecId
EcoResProductDimensionGroupProduct
PK
RecId
FK1
FK2
Product
ProductDimensionGroup
EcoResProductIdentifier
PK
RecId
FK1
Product
EcoResProductMaster
PK,FK1
RecId
EcoResProduct
PK
EcoResInstanceValue
PK
RecId
RecId
EcoResDistinctProductVariant
PK,FK1
RecId
FK2
ProductMaster
EcoResDistinctProduct
PK,FK1
RecId
EcoResProductInstanceValue
PK,FK2
RecId
FK1
Product
Importing Complex
Data Structures
Importing Complex
Data Structures
Importing Complex
Data Structures
Importing Complex
Data Structures
Importing Complex
Data Structures
Importing Complex
Data Structures
Also you can filter the data so that you only select certain
groups of values. This is useful because you can create
period based fields that only apply to certain dates within
the data selection.
2013. All rights reserved.
When you refresh the data, then you will see the matrix
field summing up all of the child values.
If you update any of the values, then it will prorate the
changes over all of the related table records.
2013. All rights reserved.
If you take this to the next level, you can then create
Matrix Fields for periods, and then use it in this case to
forecast by date ranges.
2013. All rights reserved.
Importing &
Exporting Data
Through Document
Services
Importing &
Exporting Data
Through Document
Services
To use these with Excel, select the Add Data option from
the Add Data button of the Dynamics AX ribbon bar.
2013. All rights reserved.
Importing &
Exporting Data
Through Document
Services
Importing &
Exporting Data
Through Document
Services
Importing &
Exporting Data
Through Document
Services
Just select the fields that you want to use, and drop them
onto your sheet.
2013. All rights reserved.
Importing &
Exporting Data
Through Document
Services
When you switch to edit mode, you can refresh the data,
and then retrieve all of the records.
2013. All rights reserved.
Importing &
Exporting Data
Through Document
Services
SUMMARY
In this walkthrough we showed how you can use the Dynamics AX Excel Add-In in a number of different ways to query, and also to publish data. It is a great tool to use to create update
templates and also to make a lot of periodic update tasks a lot easier.
Murray Fife
Microsoft MVP
http://slideshare.net/murrayfife/presentations