viktor lesiv | celenia software na inc axc01 dixf: the microsoft dynamics ax data import and export...
TRANSCRIPT
![Page 1: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/1.jpg)
![Page 2: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/2.jpg)
Viktor Lesiv | Celenia Software NA Inc
AXC01DIXF: The Microsoft Dynamics
AX Data Import and Export Framework
![Page 3: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/3.jpg)
• Purpose– DIXF overview– Data migration: alternative solutions
• Assumptions – Audience has:– Technical implementation and development experience, AX 2012
• Target Roles– TSAs– Consultants– Developers
Introduction
![Page 4: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/4.jpg)
• DIXF
• Alternative Data Migration solutions
• Summary
Agenda
![Page 5: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/5.jpg)
Tools to Compare
• DIXF• In product (dat/def)• Test Data Transfer Tool• Excel add-in
• AIF – not in scope
![Page 6: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/6.jpg)
Survey #1 - Experience
• Which tool you have most of experience with?– DIXF– In product (dat/def)– TDTT– Excel add-in– AIF
![Page 7: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/7.jpg)
DIXF
• Data Import Export Framework– AKA DIEF and DMF – Export and Import– R3: compare and copy
• Data migration – Numerous templates
![Page 8: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/8.jpg)
• Multiple templates
• Multiple import sources
• Streamlines data migration
• Simplicity, Intuitive
DIXF: Benefits
![Page 9: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/9.jpg)
DIXF: Key features70+Entities(150+ R3)
Multiple Data sources
Mapper controlParallel
execution
Number sequence Support
Role Base Security
Custom entity wizard
Import and Export data
Error handling
Multiple AOS support
Folder support
Compare Entity Copy data (R3)
![Page 10: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/10.jpg)
• Add-on for Microsoft Dynamics AX 2012• 70+ Entities • Import / Export data• Source: Flat files / XML / Excel
DIXF: Version history
AX 2012
AX 2012 R2 CU7
• Part of foundation layer• 70+ Entities • Import / Export data• Source: Flat files / XML / Excel
AX 2012R3
• Part of foundation layer• 150+ Entities • Import / Export / Copy / Compare data• Source: Flat files / XML / Excel / ODBC• Role base security
![Page 11: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/11.jpg)
• Source
• Staging
• Target
DIXF: Data Flow
![Page 12: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/12.jpg)
DIXF: Data Flow
![Page 13: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/13.jpg)
• Source Data Format
• Target Entities
• Processing Groups
• Mapping
DIXF: Setup
![Page 14: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/14.jpg)
DIXF: Process
• Load Source data file into the intermediate staging tables
Load Source Data
• Validate Staging Data for data integrity
Staging Data validation • Converting
Staging data into actual Dynamics AX table records
Process Staging data into Target entities
![Page 15: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/15.jpg)
Pros:• Support for import from files, ODBC data sources, and AX
tables• Process big data• Synchronous processingCons:• Does not process large data volumes• Complex troubleshooting process• Difficult to extend for complex data structures
DIXF: Pros and Cons
![Page 16: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/16.jpg)
DIXF: Demo
• Create custom target entity• Import using DIXF• Export using DIXF
![Page 17: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/17.jpg)
RefRecId: Convert the natural key to a RecId for references • Add a data source so that the referenced table can be
added to the target entity query.• Create a function to handle the logic
DIXF: Hint
![Page 18: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/18.jpg)
Recommended uses: • Import data from another ERP system that uses
dissimilar data structures• Import data that requires transformation
Non-recommended uses: • When you work only with configuration settings
DIXF: Recommendation
![Page 19: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/19.jpg)
In-Product
• In-product Import/Export (.DAT/Def)
![Page 20: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/20.jpg)
• Built-in with AX
• Time tested
• Definition groups
In-Product
![Page 21: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/21.jpg)
In-Product: Demo?
• Create a definition group• Import and Export
![Page 22: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/22.jpg)
RefRecId: • Regenerate RefRecIds if import both
related and main tables.• Save RefRecIds if import only related
table. RefRecIds will be not actual.
In-Product: Hint
![Page 23: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/23.jpg)
TableId: • Tables with the different name
and same table id.
• Tables with the same name and different table id.
In-Product: Hint
![Page 24: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/24.jpg)
Recommended uses: • The source and target are AX instances.• You are moving data from one company to
another.
Non-recommended uses: • Move configuration metadata to a new
environment.
In-Product: Recommendation
![Page 25: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/25.jpg)
Test Data Transfer Tool
• Process
• Metadata
• Syntax
![Page 26: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/26.jpg)
Test Data Transfer Tool
• Process
• Metadata
• Syntax
![Page 27: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/27.jpg)
• Import the MetadataXMLGenerator.xpo.• Run the MetadataXMLGenerator job.
• Copy Metadata.xml from temporary folder to the [List] subfolder where the Test Data Transfer Tool is installed
TDTT: Metadata
![Page 28: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/28.jpg)
• DP.exe direction directory database server
TDTT: Syntax
Parameter Default value Description
direction EXPORT Specify EXPORT to export data or IMPORT to import data.
directory The current directory Specify the directory from which the data should be exported or to which the data should be imported.
database AXDB The name of the database.
server The current computer Specify the computer name or instance name of the SQL Server computer that is hosting the Microsoft Dynamics AX database.
![Page 29: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/29.jpg)
TDTT: Demo?
• Refresh data in DEV system
![Page 30: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/30.jpg)
Pros:• Speed• Saves RecId• The data file format is text-based. Therefore, the data file
can be compared with earlier versions and can be stored in a version control system.
• The tool enables export filtering.• The tool updates entity IDs, so that the IDs match the IDs of
the target system.
TDTT: Pros and Cons
![Page 31: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/31.jpg)
Cons:• Importing data into a production environment is not
supported.• The tool does not make sure that any data that you export
or import is complete or coherent database.
TDTT: Pros and Cons
![Page 32: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/32.jpg)
Recommended uses: • Export or import a large multi-company data set in a non-
production environment.• Move data between non-production AX environments that
have slightly different customizations.• Store business data as a backup• Export or import data without running an instance of AOS in
a non-production environment.
TDTT: Recommendations
![Page 33: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/33.jpg)
Excel add-in
• Import • Publishing • RecId challenge• Recommendations
![Page 34: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/34.jpg)
Excel add-in: Import
![Page 35: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/35.jpg)
Excel add-in: Publish
![Page 36: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/36.jpg)
Excel add-in: RecId
• Relations between tables based on RecIds are not supported. • Alternative keys can be used instead
![Page 37: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/37.jpg)
Excel add-in: RecId
![Page 38: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/38.jpg)
Recommended uses: • Low to medium data volumes (<10,000 records)• No business logic is required outside an existing document
serviceNon-recommended uses: • Large data sets• Content that requires execution of business logic• Data sets that require data cleansing
Excel add-in: Recommendations
![Page 39: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/39.jpg)
Best tool for Each UseDIXF Dat/Def TDTT Excel
Source types AX, ODBC, CSV, Excel, XML, Text Dat + Def Out + OutModel
+ XML Excel
Import from another system Best
Update data Possible Possible
Cross company copy Best Possible
Speed Best
Save foreign keys Possible Best
Data entry Best
Copy data to TEST or DEV Best
Change data before import Best Possible
Validation Best
![Page 40: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/40.jpg)
Summary
• Data migration addressed• Tools reviewed:
– DIXF– In-product Import/Export – Test Data Transfer Tool– Excel add-inhttp://technet.microsoft.com/en-us/library/aa834437.aspx
![Page 41: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/41.jpg)
OPEN Q & A
![Page 42: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/42.jpg)
Contact details
• Viktor Lesiv – [email protected]
• Ganna Kupchenko – [email protected]
• www.celenia.com
![Page 43: Viktor Lesiv | Celenia Software NA Inc AXC01 DIXF: The Microsoft Dynamics AX Data Import and Export Framework](https://reader034.vdocuments.net/reader034/viewer/2022052303/551c58445503469d6a8b4f81/html5/thumbnails/43.jpg)
THANK YOUPlease fill out your evaluation