Revert commented code from [ 1977523 ] Missing PP_MRP.DD_Order_ID & DD_OrderLine_ID columns

This commit is contained in:
Carlos Ruiz 2008-05-30 00:37:18 +00:00
parent bb17d5aaf8
commit e9f8d5f020
2 changed files with 5 additions and 5 deletions

View File

@ -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());

View File

@ -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;