BF [2847655] - Import Product - price list precision
https://sourceforge.net/tracker/?func=detail&aid=2847655&group_id=176962&atid=879332
This commit is contained in:
parent
622c20e5de
commit
30949f2e2b
|
@ -172,9 +172,9 @@ public class MProductPrice extends X_M_ProductPrice
|
|||
*/
|
||||
public void setPrices (BigDecimal PriceList, BigDecimal PriceStd, BigDecimal PriceLimit)
|
||||
{
|
||||
setPriceLimit (PriceLimit);
|
||||
setPriceList (PriceList);
|
||||
setPriceStd (PriceStd);
|
||||
setPriceLimit (PriceLimit.setScale(this.getM_PriceList_Version().getM_PriceList().getPricePrecision(), BigDecimal.ROUND_HALF_UP));
|
||||
setPriceList (PriceList.setScale(this.getM_PriceList_Version().getM_PriceList().getPricePrecision(), BigDecimal.ROUND_HALF_UP));
|
||||
setPriceStd (PriceStd.setScale(this.getM_PriceList_Version().getM_PriceList().getPricePrecision(), BigDecimal.ROUND_HALF_UP));
|
||||
} // setPrice
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue