MPPMRP: change MRP organization when order line's org changes
This commit is contained in:
parent
9b6c8f86e8
commit
3cd4bf8698
|
@ -221,9 +221,9 @@ public class MPPMRP extends X_PP_MRP
|
|||
if(mrp == null)
|
||||
{
|
||||
mrp = new MPPMRP(ctx, 0, trxName);
|
||||
mrp.setAD_Org_ID(ol.getAD_Org_ID());
|
||||
mrp.setC_OrderLine_ID(ol.getC_OrderLine_ID());
|
||||
}
|
||||
mrp.setAD_Org_ID(ol.getAD_Org_ID());
|
||||
mrp.setC_Order(ol.getParent());
|
||||
mrp.setDescription(ol.getDescription());
|
||||
mrp.setName("MRP");
|
||||
|
|
Loading…
Reference in New Issue