diff --git a/base/src/org/eevolution/model/MPPMRP.java b/base/src/org/eevolution/model/MPPMRP.java index c4fb1137e6..51500baa7f 100644 --- a/base/src/org/eevolution/model/MPPMRP.java +++ b/base/src/org/eevolution/model/MPPMRP.java @@ -562,8 +562,8 @@ public class MPPMRP extends X_PP_MRP mrp.setAD_Org_ID(source.getAD_Org_ID()); mrp.setName("MRP"); mrp.setDescription(ol.getDescription()); - // [ 1977523 ] // mrp.setDD_Order_ID(ol.getDD_Order_ID()); - // [ 1977523 ] // mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID()); + mrp.setDD_Order_ID(ol.getDD_Order_ID()); + mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID()); mrp.setQty(ol.getQtyOrdered().subtract(ol.getQtyDelivered())); mrp.setDatePromised(ol.getDatePromised()); mrp.setDateOrdered(ol.getDateOrdered()); @@ -617,8 +617,8 @@ public class MPPMRP extends X_PP_MRP mrp.setAD_Org_ID(target.getAD_Org_ID()); mrp.setName("MRP"); mrp.setDescription(ol.getDescription()); - // [ 1977523 ] // mrp.setDD_Order_ID(ol.getDD_Order_ID()); - // [ 1977523 ] // mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID()); + mrp.setDD_Order_ID(ol.getDD_Order_ID()); + mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID()); mrp.setQty(ol.getQtyOrdered().subtract(ol.getQtyDelivered())); mrp.setDatePromised(ol.getDatePromised()); mrp.setDateOrdered(ol.getDateOrdered()); diff --git a/client/src/org/eevolution/form/VMRPDetailed.java b/client/src/org/eevolution/form/VMRPDetailed.java index f141ccb968..e683047ae8 100644 --- a/client/src/org/eevolution/form/VMRPDetailed.java +++ b/client/src/org/eevolution/form/VMRPDetailed.java @@ -1106,7 +1106,7 @@ public class VMRPDetailed extends CPanel implements FormPanel, ActionListener, V { AD_WindowNo = MWindow.getWindow_ID("Distribution Order"); query = new MQuery("DD_Order"); - // [ 1977523 ] // query.addRestriction("DD_Order_ID", MQuery.EQUAL, mrp.getDD_Order_ID()); + query.addRestriction("DD_Order_ID", MQuery.EQUAL, mrp.getDD_Order_ID()); } if (AD_WindowNo == 0) return;