Working with Product Variants, Product Masters in Dynamics AX

By Tom Branca | July 22, 2013

Working with product variants, product masters in dynamics ax

Have you ever created a Product Master that uses Product Dimensions (Size, Color, Configuration or Style) and created the variant combinations right from the product master?  Well I have, as seen in figure1.

No New Variant Suggestions For Product ##### Were Found


The next step is to release the product and it’s combinations into a company.  I released my combinations into company USPI.  Once I go to that company I see the product, and if I go to the Release Product Variant button on the product I even see the product dimensions.  The problem occurs when you go to the Release Product Variants button, you won’t see any of the combinations you released as seen in figure2.

Released product Variants


If you try to manually add variant combinations you’ll get the error:  Product variant with specified dimensions has already been created.

If you try to use the Variant Suggestions button you’ll get the message:  No new variant suggestions for product ### were found.

What’s the problem here???

This is probably a bug…. But you’re in luck! I debugged it and found you a workaround!!

Long story short, if you don’t have a specific Retail module number sequence setup (I’m not going to tell you which one yet) a record in the InventDimCombination table never gets created, and the code that is run to search for variant combinations will never find anything.  The reason the code thinks the combinations are there however, and the reason you get the warnings/errors when you try to create the combinations is it looks at different tables for validating if the records are there and those records are present.

Answer:   If you navigate to:  Retails > Setup > Parameters > Retails Parameters > Number Sequence tab, you’ll see a reference called:  Variant Number.  This reference needs to be populated with a Number Sequence Code.  If not, you’ll run into my problem outlined above.

In the AOT\Tables\InventDimCombination.insert() on line 55 it does a check to see if you have the Variant Number, number sequence populated and if you don’t, it pushes the process down the wrong path resulting in the problem outlined above.  It looks like it should throw an error saying:  Variant Number Sequence is not set but that error is suppressed leaving you in limbo, thinking the process worked fine.

I hope this posting saves someone some time in the near future.  I was working on AX 2012 R2:




Related Posts

Recommended Reading:

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!