- Initial cost from m_product_po is wrong if m_product_po.c_uom_id <> m_product.c_uom_id - fixed a typo error: should be i instead of 0 - Need to do checking after uom conversion
This commit is contained in:
parent
554ca9727b
commit
421f88cdb3
|
@ -400,6 +400,9 @@ public class MCost extends X_M_Cost
|
|||
price = MUOMConversion.convertProductTo (Env.getCtx(), product.getM_Product_ID(),
|
||||
pos[i].getC_UOM_ID(), price);
|
||||
}
|
||||
}
|
||||
if (price != null && price.signum() != 0)
|
||||
{
|
||||
retValue = price;
|
||||
s_log.fine(product.getName() + ", Product_PO = " + retValue);
|
||||
return retValue;
|
||||
|
|
Loading…
Reference in New Issue