19.07.2013, 15:11 | #1 |
Участник
|
atinkerersnotebook: Using Excel to Import Products & Services in Dynamics AX
Источник: http://atinkerersnotebook.com/2013/0...n-dynamics-ax/
============== At this point in my GuygAX project (a.k.a. implementing Dungeons & Dragons within ERP), I am working on loading all of the reference products and services into my system so that I can start stocking my shelves and selling services to my NPC’s. This is no small feat, since the initial load has more than 2000 different items. Rather than load all of the data by hand, I decided to use the Excel Add-In and create a import template for loading all of the products and services. Since there are multiple tables that need to be loaded with this example, it is a little more work to create the initial template, bus once it is up and built, it is a great time saver when loading in base and incremental data. In this walkthrough I will show how to use the Excel Add-In for Dynamics AX to create and use an Excel Product Import Template Creating a Product Import Template The first step in the importing process is to create a template in Excel that is linked to the appropriate tables within Dynamics AX. In this worked example we will show how to use the Excel Add-In to create an import template for product information. How to do it… To create a product import template, follow these steps:
To see all of the data that is in the system, click on the Refresh button in the Data group, and select the Refresh all option. You will now be able to see all of the records in the tables. Filtering the Products Rather than see all records, it may be a good idea to filter out the returned data. In this example we will show how to use the filter option of the Excel Add-In to return back just the information that you are working on. How to do it… To filter the data, follow these steps:
To see the filtered data that, click on the Refresh button in the Data group, and select the Refresh all option. Using the Excel Import Template to Load Products Once you have generated the import template, you can start using it to load the data into Dynamics AX. In this example we will show how to load the initial product data. Getting Ready… In this example we will start by loading in a number of services. Thanks to the AD&D Downloads site (http://www.adnddownloads.com/equipment.php) I was able to cut and paste all of the descriptions directly into a reference spreadsheet. The main information that I will use though is the Code, and the Description. How to do it… To import the data using the Excel Template, follow these steps:
After this is done, if you switch to the Dynamics AX Status tab that is created, you will be able to see if there were any errors in the load caused by incorrect data, of columns with data that exceeds the default field size etc. Returning back to the Products form in Dynamics AX, we will now see all of the products. They are missing the description through, because that is referenced from the EcoProductTransaltions table, so we need to populate that table now. Importing Product Translation All of the product descriptions are stored in the Product Translations table rather than the base product table. So in order to see the descriptions we need to load that table and reference it back to the parent table. In this example we will show how to load the product translations through the Excel template. How to do it… To import the product translations using the Excel Template, follow these steps:
When you look at the products within Dynamics AX, all of the descriptions should be populated. Importing Released Products The final step in the process is to load the Released Products table so that we can use it within our company. In this example we will show how to populate the Released Products table through the Excel Import template. How to do it… To import the released products using the Excel Template, follow these steps:
When you look at the Released Products within Dynamics AX, all records should now be available. Adding Additional Import Field Columns There may be other fields that you would like to populate in bulk through the Excel template. This is not a problem, all you need to do is add them to the template. In this example we will show how you can extend out the template to allow you to import more data through the template.. How to do it… To add more field columns to the Excel Template, follow these steps:
Setting up the template takes a little bit of work, but once you have created it, you want to take advantage of it as much as possible through re-use. In this example we will show how easy it is to load more data once you have the template. How to do it… To reuse your Excel Template, follow these steps:
In this case, the setup and loading process should take minutes at the most. Importing Detailed Product Descriptions Another benefit of the Excel import is that detailed descriptions are much easier to cut and paste in bulk into the spreadsheet rather than into each individual record. In this example we will show how you can update detailed descriptions through the Excel template. How it WORKS… If you have detailed descriptions, loading them into the spreadsheet is a breeze as well. After publishing the descriptions they show up on the products. Creating Better Import Load Templates If you are going to be loading a lot of information, you can save a little bit of time by preformatting the data within the Base Data sheet so that you can cut and paste entire table blocks rather than having to cut and paste by column. In this example we will show how to create a better data import load sheet within Excel. How it WORKS… To create a better template, copy the columns from the import sheets over into the base data sheet, and then use formula’s to populate the data. Now when you change the data in the base sheet, all you need to do is copy the table of data over into the load tables. Summary This is just a simple example of how you can use the Excel Data Import Add-In to easily load data into the system. Although we only imported product information, there is not reason why you cannot do the same to load other records as well such as:
Источник: http://atinkerersnotebook.com/2013/0...n-dynamics-ax/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|