IDEMPIERE-4309 Changing the UOM field in an order doesn't change the price field / IDEMPIERE-2540 (#126)
This commit is contained in:
parent
426476149d
commit
84577578ea
|
@ -1077,14 +1077,12 @@ public class CalloutOrder extends CalloutEngine
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("QtyChanged -> PriceActual=" + pp.getPriceStd()
|
if (log.isLoggable(Level.FINE)) log.fine("QtyChanged -> PriceActual=" + pp.getPriceStd()
|
||||||
+ ", PriceEntered=" + PriceEntered + ", Discount=" + pp.getDiscount());
|
+ ", PriceEntered=" + PriceEntered + ", Discount=" + pp.getDiscount());
|
||||||
PriceActual = pp.getPriceStd();
|
PriceActual = pp.getPriceStd();
|
||||||
PriceEntered = pp.getPriceStd();
|
|
||||||
Discount = pp.getDiscount();
|
Discount = pp.getDiscount();
|
||||||
PriceLimit = pp.getPriceLimit();
|
PriceLimit = pp.getPriceLimit();
|
||||||
PriceList = pp.getPriceList();
|
PriceList = pp.getPriceList();
|
||||||
mTab.setValue("PriceList", pp.getPriceList());
|
mTab.setValue("PriceList", pp.getPriceList());
|
||||||
mTab.setValue("PriceLimit", pp.getPriceLimit());
|
mTab.setValue("PriceLimit", pp.getPriceLimit());
|
||||||
mTab.setValue("PriceActual", pp.getPriceStd());
|
mTab.setValue("PriceActual", pp.getPriceStd());
|
||||||
mTab.setValue("PriceEntered", pp.getPriceStd());
|
|
||||||
mTab.setValue("Discount", pp.getDiscount());
|
mTab.setValue("Discount", pp.getDiscount());
|
||||||
mTab.setValue("PriceEntered", PriceEntered);
|
mTab.setValue("PriceEntered", PriceEntered);
|
||||||
Env.setContext(ctx, WindowNo, "DiscountSchema", pp.isDiscountSchema() ? "Y" : "N");
|
Env.setContext(ctx, WindowNo, "DiscountSchema", pp.isDiscountSchema() ? "Y" : "N");
|
||||||
|
|
Loading…
Reference in New Issue