From 3cd4bf86982bfd0e25f4c456fc4e145b483436b8 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Tue, 14 Oct 2008 09:43:58 +0000 Subject: [PATCH] MPPMRP: change MRP organization when order line's org changes --- base/src/org/eevolution/model/MPPMRP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/eevolution/model/MPPMRP.java b/base/src/org/eevolution/model/MPPMRP.java index b50f3faa5b..c0bf4f1053 100644 --- a/base/src/org/eevolution/model/MPPMRP.java +++ b/base/src/org/eevolution/model/MPPMRP.java @@ -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");