Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

Setting BOMLine Qty on Product Configuration using PcAdaptor API

$
0
0

Hi! 

I created a new product configuration model using the product configurator.

Now I would like to set the quantity field on the Subcomponents > BomLinesDetails > Setup > Quantity, from code, based on the selected values for the product attributes.

All I found on the Web is this blog article, but after creating a class it never gets called.

http://blogs.msdn.com/b/axsupport/archive/2012/04/13/product-configurator-calculating-decimal-bom-quantities.aspx#comments

For testing I create a new Sales Order, set a item variant of my product configuration on the line, go to Product and Supply > Configure Line, and after setting all the values, when I click OK my class should be called, but it's not :) 

Does anyone have any ideea why it doesn't get called ? 

Thank You!

 

 


Viewing all articles
Browse latest Browse all 9880

Trending Articles