_QUICK_REORDER_PRODUCT_QUANTITIES_ session error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

_QUICK_REORDER_PRODUCT_QUANTITIES_ session error

Eric DE MAULDE
Hi,

In ProductDisplayWorker.java, the line 218 :

BigDecimal nqint = quantity.divide(new BigDecimal(occs), new MathContext(10));

creates a product quantity with decimal, to set session with _QUICK_REORDER_PRODUCT_QUANTITIES_

This variable implements minireorderprods screen,
a product can't have a quantity = 1.3333333333

For me it's impossible to sell the tenth of a product.

So, is there an error or ...

Thanks

Eric