MPPMRP: change MRP organization when order line's org changes

This commit is contained in:
teo_sarca 2008-10-14 09:43:58 +00:00
parent 9b6c8f86e8
commit 3cd4bf8698
1 changed files with 1 additions and 1 deletions

View File

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