diff --git a/base/src/org/eevolution/process/MRPUpdate.java b/base/src/org/eevolution/process/MRPUpdate.java index 45a1e1aa43..dcd4e3e478 100644 --- a/base/src/org/eevolution/process/MRPUpdate.java +++ b/base/src/org/eevolution/process/MRPUpdate.java @@ -243,7 +243,7 @@ public class MRPUpdate extends SvrProcess + "null, null," + "null, null," +"t.m_product_id, t.m_warehouse_id," - + "nextidfunc(53040,'Y'), null ," + + "nextidfunc(53040,'N'), null ," +"t.qty, 'D', 'FCT', t.updated, t.updatedby, f.Name," +"t.ad_client_id , null as S_Resource_ID, null as C_BPartner_ID " +" FROM M_ForecastLine t " @@ -262,7 +262,7 @@ public class MRPUpdate extends SvrProcess +" t.c_order_id, t.c_orderline_id, " +" null, null, " +"t.m_product_id, t.m_warehouse_id," - + "nextidfunc(53040,'Y'), null ," + + "nextidfunc(53040,'N'), null ," +"t.QtyOrdered-t.QtyDelivered, (case when o.IsSOTrx='Y' then 'D' else 'S' end) , (case when o.IsSOTrx='Y' then 'SOO' else 'POO' end), t.updated, t.updatedby, o.DocumentNo," +"t.ad_client_id , null as S_Resource_ID, o.C_BPartner_ID" +" FROM C_OrderLine t" @@ -282,7 +282,7 @@ public class MRPUpdate extends SvrProcess +" null, null, " +"rl.m_requisition_id, rl.m_requisitionline_id, " +"rl.m_product_id, t.m_warehouse_id," - + "nextidfunc(53040,'Y'), null ," + + "nextidfunc(53040,'N'), null ," +"rl.Qty, 'S', 'POR', rl.updated, rl.updatedby, t.DocumentNo," +"rl.ad_client_id , null as S_Resource_ID, null as C_BPartner_ID " +" FROM M_RequisitionLine rl" @@ -306,7 +306,7 @@ public class MRPUpdate extends SvrProcess +" null, null, " +" null, null, " +"t.m_product_id, t.m_warehouse_id," - + "nextidfunc(53040,'Y'), null ," + + "nextidfunc(53040,'N'), null ," +"t.QtyOrdered-t.QtyDelivered, 'S', 'MOP', t.updated, t.updatedby, t.DocumentNo," +"t.ad_client_id, t.S_Resource_ID, null as C_BPartner_ID " +" FROM PP_Order t " @@ -325,7 +325,7 @@ public class MRPUpdate extends SvrProcess +" null, null, " +" null, null, " +"t.m_product_id, t.m_warehouse_id," - + "nextidfunc(53040,'Y'), null ," + + "nextidfunc(53040,'N'), null ," +"t.QtyRequiered-t.QtyDelivered, 'D', 'MOP', t.updated, t.updatedby, o.DocumentNo," +"t.ad_client_id, o.S_Resource_ID, null as C_BPartner_ID " +" FROM PP_Order_BOMLine t "