Revert commented code from [ 1977523 ] Missing PP_MRP.DD_Order_ID & DD_OrderLine_ID columns
This commit is contained in:
parent
bb17d5aaf8
commit
e9f8d5f020
|
@ -562,8 +562,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setAD_Org_ID(source.getAD_Org_ID());
|
mrp.setAD_Org_ID(source.getAD_Org_ID());
|
||||||
mrp.setName("MRP");
|
mrp.setName("MRP");
|
||||||
mrp.setDescription(ol.getDescription());
|
mrp.setDescription(ol.getDescription());
|
||||||
// [ 1977523 ] // mrp.setDD_Order_ID(ol.getDD_Order_ID());
|
mrp.setDD_Order_ID(ol.getDD_Order_ID());
|
||||||
// [ 1977523 ] // mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID());
|
mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID());
|
||||||
mrp.setQty(ol.getQtyOrdered().subtract(ol.getQtyDelivered()));
|
mrp.setQty(ol.getQtyOrdered().subtract(ol.getQtyDelivered()));
|
||||||
mrp.setDatePromised(ol.getDatePromised());
|
mrp.setDatePromised(ol.getDatePromised());
|
||||||
mrp.setDateOrdered(ol.getDateOrdered());
|
mrp.setDateOrdered(ol.getDateOrdered());
|
||||||
|
@ -617,8 +617,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setAD_Org_ID(target.getAD_Org_ID());
|
mrp.setAD_Org_ID(target.getAD_Org_ID());
|
||||||
mrp.setName("MRP");
|
mrp.setName("MRP");
|
||||||
mrp.setDescription(ol.getDescription());
|
mrp.setDescription(ol.getDescription());
|
||||||
// [ 1977523 ] // mrp.setDD_Order_ID(ol.getDD_Order_ID());
|
mrp.setDD_Order_ID(ol.getDD_Order_ID());
|
||||||
// [ 1977523 ] // mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID());
|
mrp.setDD_OrderLine_ID(ol.getDD_OrderLine_ID());
|
||||||
mrp.setQty(ol.getQtyOrdered().subtract(ol.getQtyDelivered()));
|
mrp.setQty(ol.getQtyOrdered().subtract(ol.getQtyDelivered()));
|
||||||
mrp.setDatePromised(ol.getDatePromised());
|
mrp.setDatePromised(ol.getDatePromised());
|
||||||
mrp.setDateOrdered(ol.getDateOrdered());
|
mrp.setDateOrdered(ol.getDateOrdered());
|
||||||
|
|
|
@ -1106,7 +1106,7 @@ public class VMRPDetailed extends CPanel implements FormPanel, ActionListener, V
|
||||||
{
|
{
|
||||||
AD_WindowNo = MWindow.getWindow_ID("Distribution Order");
|
AD_WindowNo = MWindow.getWindow_ID("Distribution Order");
|
||||||
query = new MQuery("DD_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)
|
if (AD_WindowNo == 0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue