Working with Product Variants, Product Masters in Dynamics AX

by | Updated August 15, 2016 | Dynamics AX, Manufacturing, Set Up

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

Figure1

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

Figure2

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:  6.2.158.0.

Enjoy!

 

 

Related Posts

0 Comments

Submit a Comment

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

Upcoming Events

april

31mar01aprTraining Class: Financial Reporting W/Account Schedules for Dynamics 365 Business Central

07apr2:00 pm2:30 pmEnsuring Quality for Batch Manufacturers

08apr11:00 am12:00 pmConfab with Stoneridge - Livestream - Jumping into the Deep End of the Data Lake

14apr10:00 am10:30 amBoost Seller Productivity and Close More Business with Dynamics 365 Sales

21apr10:00 am10:30 amSetting Your Sales Team Up for Success: A Modern Look at Revenue Operations

21apr12:00 pm1:00 pmGetting Started with Barcode Scanners and WMS Apps for Business Central

21apr2:00 pm3:00 pmMoving to the Cloud: Today's Solution for Leading Field Service Companies

22apr11:00 am12:00 pmConfab with Stoneridge - Livestream - Moving from Manual to Automated with Strategic Automation Strategies

28apr10:00 am10:30 amThe Modern Manufacturer: Best Practices for Inventory Turnover

28apr12:00 pm1:00 pmPower Up Microsoft Dynamics by Automating Budgeting, Dashboarding and Reporting

may

05may10:00 am10:30 amAchieve More with Zetadocs for Business Central

05may2:00 pm2:30 pmSimplifying Item Pricing, Availability, and Tracing for Batch Manufacturers

06may11:00 am12:00 pmD365 Field Service – New Features to Empower Your Remote Workforce

12may10:00 am10:30 amThe Modern Manufacturer: Manufacturing Software in the Real World

12may12:00 pm12:30 pmFinancial Implications of Moving from Dynamics GP to Dynamics 365: Licensing and Infrastructure

17may(may 17)8:00 am28(may 28)11:00 amDynamics 365 Finance & Supply Chain Development Training - Online Workshop

26may10:00 am10:30 amThe Modern Manufacturer - Enterprise Asset Management

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