From e9f8d5f020c1c68bba2e9c7ba8de0b84f5874451 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 30 May 2008 00:37:18 +0000 Subject: [PATCH] Revert commented code from [ 1977523 ] Missing PP_MRP.DD_Order_ID & DD_OrderLine_ID columns --- base/src/org/eevolution/model/MPPMRP.java | 8 ++++---- client/src/org/eevolution/form/VMRPDetailed.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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;