29.07.2012, 13:11 | #1 |
Участник
|
Axilicious:Data Migration Framework Hands-on
Источник: http://www.ksaelen.be/wordpresses/dy...work-hands-on/
============== Architecture of the DMF The Data Migration Framework uses a three-step process to import data into Dynamics AX.
Once imported in AX, data can be transferred from the staging tables to the target tables. This can be done in batch jobs to handle larger data sets. The different stages allow us to control the data flow and adjust data in the staging tables. Data is imported quickly in Dynamics AX and from then on we can handle the data without any dependencies outside Dynamics AX. Source data formats Formats define the parameters for reading the source files. You can setup the delimiters and code pages used to read the file. For now, only the File type is available so you can choose between Delimited and Fixed Length files. Behind the Enum field, there are other Types available that suggest the ability to transfer data from on Dynamics AX environment to another. But for now, only the type File is supported. Target entities Go to Data Migration Framework > Setup > Target entities. There are some target entities available out of the box. Target entities describe a grouping of tables that define a logical entity. For example: The product entity defines a product and therefor contains all of the tables related to a Product : InventTable, InventTableModule, … Target entities can be used to define the following:
For each entity, you can view the structure of the entity. This contains all of the physical tables that make up the entity. The target mapping is generated, but can always be validated and changed if specific requirements are in place. There is also a possibility to create functions to use in the mapping. Note that this is the mapping between the staging table and the Target Dynamics Ax UnitOfMeasurement table. Processing groups Group definition Processing groups are used to group entities together for import. Processing Group Entities For each processing group, you can define the entities involved with this group. For all of the entities you can define the following:
Source file Concerning the source file, you have to options:
Preview source file Once the source file is selected and the source mapping is done, we can preview the contents of the file by clicking the Preview source file button. Import staging data On the processing group form, click the Get staging data button. A dialog will appear showing the ID and Description of the processing job that will be created. Fill in a description and click ok. Following the dialog, the Staging data execution form appears. This form contains details for all of the entities contained in the processing group such as : start time, end time and status. From here on, you can choose to run the job immediately or to run it on the AOS in batch. So, depending on what you want to do here, click the Run or the Run on AOS button. After running the job, an infolog is shown informing how many records were inserted in the staging table(s). To view the staging data, refer to the paragraph explaining the Execution History. Copy data to target Back on the processing group form. Click the Copy data to target button. This opens up a dialog where you can specify a job to process. The selected job is the job that created the staging data. It is this staging data that we are going to transfer from the staging table(s) to the target table(s). You can also choose to run the data copy for all of the records or for the records specified by the criteria:
Click the OK button and the Target data execution form appears. This is a similar form as the source data execution form, but here the information is about data being transferred to the target table(s). Here you can also choose to run it immediately or execute this on the AOS in batch. The result should be an infolog informing about the number of records written to the target table(s). Execution History On the processing group form, click the Execution History button to view the history for the selected group. This will open up the history form which shows the following information:
To view the staging data after importing data into the staging table(s), you can use the View staging data button. It opens a form for the staging table and show the records. Here you can do the following:
Back on the Execution History form, you can use the Log button to view the logging details for all the previous steps. Источник: http://www.ksaelen.be/wordpresses/dy...work-hands-on/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|