bug fix do not should use system sequence

This commit is contained in:
vpj-cd 2008-10-30 04:50:58 +00:00
parent c978848d17
commit b1fd54d5c3
1 changed files with 5 additions and 5 deletions

View File

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