Importing Product Masters into Dynamics AX 2012 using DIEF | DIXF | DMF | – Uncovered

by | Dec 19, 2016 | Dynamics AX

I’ve heard and seen mixed practices on how to import product masters into Dynamics AX 2012 and their variants. The intent of this article is that you can import product masters and product using the same DIEF entity and to provide you with some information and templates on how to import products, product masters, and their variants.

Contrary to popular belief, it only takes two DIXF data entities to import both products, product masters, and their variants and release them.

Here are the data entities:

1. Product Entity – Imports and releases a product or product master
2. Variant Entity – Imports the variants for specific product masters.

importing-product-masters_tom

Below are the fields I used in the import templates that I created for both entities:

NOTE: In my variant example the only product dimension I was using was style. If you need more add more product dimensions.
NOTE: Some of the fields that are marked as required aren’t required by a specific underlying table. They are marked as required because if you want things to work right in AX downstream, the required fields are the ones you’ll want to fill in. Example: Item Group.

branca_import1

branca_import2

branca_import3

Also, note the following observations:

1. IsVariantGenerationEnabled* – This field we’ll always want to mark with a value of “YES” for Product Masters. So when we import variants they are automatically released. If you don’t do this, you’ll find you’ll import variants but you’ll still have to run through the release process.

2. Prior to importing, in general, you’ll want to get the latest hotfixes in place for the Product Entity and Variant Entity. Having the latest code will save you a lot of time troubleshooting bogus errors.

a. The primary error I was running into when importing variants was: “Cannot create a record in Product Variant – dimension Values (EcoResProductVariantDimensionValue). Product Variant: 0, 100605. The record already exists.

To get the proper code, what I did was find an AX 2012 R3 CU11 environment and export the following objects and import them into the environment I was working on:

a. Classes\DMFProductVariantEntityClass
b. Classes\DMFProductEntityClass
c. Tables\DMFProductVariantEntity
d. Tables\DMFProductEntity

Example Import

Below are two files that can be imported into the USMF company of the Contoso demo data set as an example import.

I’m not going to walk through the import process, but if you want to know more you can take a look at this article for the process on how to use DIEF processing groups to import the attached files I’ve provide.

NOTE: I typically importing using Tab Separated Values (TSV) as the file type as that as the file type I’ve had the best luck with importing using DIEF. So you can take the Excel files and save them as Test (Tab Separated) to get a TSV file.

After importing both files, you should have the following:

1. Two Product Masters
2. A normal Product
3. A service Item
4. Variants for all your product masters

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

april

08apr10:00 am10:30 amLicensing Preparedness for Dynamics 365 Customer Engagement

08apr12:00 pm1:00 pmMaking Project Information Management (PIM) a Priority

08apr2:00 pm2:30 pmFeatures in the Spring Release of Dynamics 365 Customer Engagement Users Can Take Advantage of Immediately

09apr11:00 am12:00 pmConfab With Stoneridge - Livestream - Portals

13apr11:30 am12:30 pmStoneridge Connect Online Keynote: Business Transformations Throughout History

14apr8:00 am5:00 pmStoneridge Connect Online - Day 1

15apr8:00 am5:00 pmStoneridge Connect Online - Day 2

15apr1:15 pm5:00 pmWhat’s New for Developers in Dynamics 365 Finance and Supply Chain Management – Online Workshop

16apr8:00 am5:00 pmStoneridge Connect Online - Day 3

22apr11:00 am12:00 pmPower BI and Reporting with Dynamics 365 Business Central

22apr2:00 pm2:30 pmNew Features for Power Apps Users

23apr11:00 am12:00 pmConfab With Stoneridge - Livestream - Internet of Things (IoT)

29apr10:00 am11:00 amStreamlining Customer Service and Enabling Your Sales Team with a Self-Service Portal

29apr12:00 pm12:30 pmUpdates to the Dynamics 365 Customer Engagement User Experience - What Technical Resources Need to Know

may

06may12:00 pm12:30 pmPower Apps Telemetry and AI Builder - Power Platform Updates

06may2:00 pm2:30 pmImprove Customer Experience with a Mobile Workforce Management Solution

07may11:00 am12:00 pmConfab With Stoneridge - Livestream - Manufacturing

13may12:00 pm1:00 pm3 Simple Sets Your Business Can Take to Embrace the Future of B2B E-Commerce

21may11:00 am12:00 pmEnterprise Asset Management and Manufacturing

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X