bug fix do not should use system sequence
This commit is contained in:
parent
c978848d17
commit
b1fd54d5c3
|
@ -243,7 +243,7 @@ public class MRPUpdate extends SvrProcess
|
||||||
+ "null, null,"
|
+ "null, null,"
|
||||||
+ "null, null,"
|
+ "null, null,"
|
||||||
+"t.m_product_id, t.m_warehouse_id,"
|
+"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.qty, 'D', 'FCT', t.updated, t.updatedby, f.Name,"
|
||||||
+"t.ad_client_id , null as S_Resource_ID, null as C_BPartner_ID "
|
+"t.ad_client_id , null as S_Resource_ID, null as C_BPartner_ID "
|
||||||
+" FROM M_ForecastLine t "
|
+" FROM M_ForecastLine t "
|
||||||
|
@ -262,7 +262,7 @@ public class MRPUpdate extends SvrProcess
|
||||||
+" t.c_order_id, t.c_orderline_id, "
|
+" t.c_order_id, t.c_orderline_id, "
|
||||||
+" null, null, "
|
+" null, null, "
|
||||||
+"t.m_product_id, t.m_warehouse_id,"
|
+"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.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"
|
+"t.ad_client_id , null as S_Resource_ID, o.C_BPartner_ID"
|
||||||
+" FROM C_OrderLine t"
|
+" FROM C_OrderLine t"
|
||||||
|
@ -282,7 +282,7 @@ public class MRPUpdate extends SvrProcess
|
||||||
+" null, null, "
|
+" null, null, "
|
||||||
+"rl.m_requisition_id, rl.m_requisitionline_id, "
|
+"rl.m_requisition_id, rl.m_requisitionline_id, "
|
||||||
+"rl.m_product_id, t.m_warehouse_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.Qty, 'S', 'POR', rl.updated, rl.updatedby, t.DocumentNo,"
|
||||||
+"rl.ad_client_id , null as S_Resource_ID, null as C_BPartner_ID "
|
+"rl.ad_client_id , null as S_Resource_ID, null as C_BPartner_ID "
|
||||||
+" FROM M_RequisitionLine rl"
|
+" FROM M_RequisitionLine rl"
|
||||||
|
@ -306,7 +306,7 @@ public class MRPUpdate extends SvrProcess
|
||||||
+" null, null, "
|
+" null, null, "
|
||||||
+" null, null, "
|
+" null, null, "
|
||||||
+"t.m_product_id, t.m_warehouse_id,"
|
+"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.QtyOrdered-t.QtyDelivered, 'S', 'MOP', t.updated, t.updatedby, t.DocumentNo,"
|
||||||
+"t.ad_client_id, t.S_Resource_ID, null as C_BPartner_ID "
|
+"t.ad_client_id, t.S_Resource_ID, null as C_BPartner_ID "
|
||||||
+" FROM PP_Order t "
|
+" FROM PP_Order t "
|
||||||
|
@ -325,7 +325,7 @@ public class MRPUpdate extends SvrProcess
|
||||||
+" null, null, "
|
+" null, null, "
|
||||||
+" null, null, "
|
+" null, null, "
|
||||||
+"t.m_product_id, t.m_warehouse_id,"
|
+"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.QtyRequiered-t.QtyDelivered, 'D', 'MOP', t.updated, t.updatedby, o.DocumentNo,"
|
||||||
+"t.ad_client_id, o.S_Resource_ID, null as C_BPartner_ID "
|
+"t.ad_client_id, o.S_Resource_ID, null as C_BPartner_ID "
|
||||||
+" FROM PP_Order_BOMLine t "
|
+" FROM PP_Order_BOMLine t "
|
||||||
|
|
Loading…
Reference in New Issue