Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Unit conversions for Product Variants

Posted on by Microsoft Employee

Hi, I have seen that maybe with Microsoft Dynamics Ax 2012 R3 CU8 it is possible to define Unit Conversions for Product Variants and not only for the main Product.

Could someone give some Feedback about if this is true? Or maybe only applicable in certain Modules of Ax like Warehouse or Retail?

Thanks!

http://technet.microsoft.com/en-us/library/dn553191.aspx

"You can set up conversion rules that control how units of measure are converted to different units of measure for product masters and released products. For example, this is useful when you receive products in one unit of measure, such as eaches, and want to handle them in another unit of measure, such as pallets. If you’ve installed AX 2012 R3 CU8, you can also define conversion rules for product variants. The process of setting up unit of measure conversions for product variants, and then subsequent behavior, is the same as for product masters and released products."

Categories:
  • Enrico Horn Profile Picture
    Enrico Horn on at
    RE: Unit conversions for Product Variants

    But if you call UnitOfMeasureConverter::convert you can specify a record id from EcoResProduct.

    So you may specify the Recid of a variant.

    But you dont want to write your own code? Just looking for a process in AX which actually uses this logic?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unit conversions for Product Variants

    Thank you for your reply!

    The fact is that whenever the conversion is called the product variable is set to InventTable.Product value which is a reference to a Product master , not a product variant

  • Enrico Horn Profile Picture
    Enrico Horn on at
    RE: Unit conversions for Product Variants

    Actually there is a record for every variant in EcoResProduct (+a record for the product without variant). They differ in relation type.

    So you have to use the Recid of the correct record there.

    You should get the Recid with the method InventTable::getDistinctProductRecId(_itemId,_inventDim)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unit conversions for Product Variants

    Hello,

    I have a simillar issue on using unit conversion on product variants on Microsoft Dynamics Ax 2012 R3 CU11.

    After enabling the unit conversion by product variant from Product masters I'm trying to find a process in the standard application that actually uses the conversion per product variant (not per product master).

    UnitOfMeasureConverter and UnitOfMeasureConverter_Product are the classes used for conversion but whenever their methods are called the Product RecId used is the one from InventTable.Product which points to the Product master RecId.

    Does anyone know a flow on which the product variants conversions are actually used?

    Thank you!

    Ciprian

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unit conversions for Product Variants

    Hi all, just wondered if a demo script has been published yet re the variant capabilities, could someone provide the link?

    thankyou

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unit conversions for Product Variants

    That is great. Thanks!

  • RE: Unit conversions for Product Variants

    Just asked around. Expect a demo script published in around a week's time on this. I will post the link here when that happens.

    The blog post I mentioned is actually not about variants, sorry about that. It's about product confirmation step during warehousing operations

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unit conversions for Product Variants

    Ok! I have already subscribed :-)

  • RE: Unit conversions for Product Variants

    No, it will be on the official SCM blog.

    blogs.msdn.com/dynamicsaxscm

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unit conversions for Product Variants

    Thanks! That´s is what I supposed. Would it be posted at your blog (http://kashperuk.blogspot.de/) ? At the moment I have not found that Whitepaper.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans