From b1fd54d5c37dffd67769e581fc63182b4074d9ec Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Thu, 30 Oct 2008 04:50:58 +0000 Subject: [PATCH] bug fix do not should use system sequence --- base/src/org/eevolution/process/MRPUpdate.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 "