按单生产

Posted Snowfun

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了按单生产相关的知识,希望对你有一定的参考价值。

 

SELECT DEMANDLINEID,SUPPLYORDERID,DEMANDORDERID,QTYALLOCATED,ITEM FROM ABPPMGR.SUPPLYDMDPEGPLAN  WHERE  ITEM=000000102001001118CZ;--前台显示

SELECT DEMANDORDERID,DEMANDLINEID,DEMANDTYPE,ITEM,QTYINMOVE,SOURCEDATE,SUPPLYORDERID,SUPPLYTYPE,QTYALLOCATED
 FROM ABPPMGR.supplydmdpegging WHERE (DEMANDORDERID=5000154378 AND DEMANDLINEID=1180_4) OR DEMANDORDERID=5000154378/1180_4-MFG001  ;  --000000101002001849CZ   001201126508    000000102002000845CZ    
 
SELECT PRODUCTIONORDID,BOMID,ITEM,QTYORDERED,REQUIREDDATE,ROUTINGID,UDF_MO_FACTORY FROM ABPPMGR.PRODUCTIONORDERS WHERE PRODUCTIONORDID=5000154378/1180_4-MFG001;

SELECT * FROM IN_MO where so_id=5000154378 and so_line_id=1180;

 

SELECT DEMANDLINEID,SUPPLYORDERID,DEMANDORDERID,QTYALLOCATED,ITEM FROM ABPPMGR.SUPPLYDMDPEGPLAN  WHERE  ITEM=000000102011000263CZ;--前台显示

--SO:5000156623 模拟创建了成品MO:5000156623/70_1-MFG001,成品MO号供给者为半成品MO:001201126508
SELECT DEMANDORDERID,DEMANDLINEID,DEMANDTYPE,ITEM,QTYINMOVE,SOURCEDATE,SUPPLYORDERID,SUPPLYTYPE,QTYALLOCATED
 FROM ABPPMGR.supplydmdpegging WHERE (DEMANDORDERID=5000147246 AND DEMANDLINEID=380_1) OR DEMANDORDERID=5000147246/380_1-MFG001  ;  --000000101002001849CZ   001201126508    000000102002000845CZ    
 
SELECT PRODUCTIONORDID,BOMID,ITEM,QTYORDERED,REQUIREDDATE,ROUTINGID,UDF_MO_FACTORY FROM ABPPMGR.PRODUCTIONORDERS WHERE PRODUCTIONORDID=5000154378/1180_4-MFG001;

SELECT * FROM IN_MO where so_id=5000147246 and so_line_id=380;
SELECT * FROM ABPPMGR.MST_BOMCOMPONENTSALT where alternateitem like 000000102011000263CZ% ;--alternateitem替代料,item为主料

 

以上是关于按单生产的主要内容,如果未能解决你的问题,请参考以下文章

按单生产3

转SAP_405052等计划策略对比分析

SpringCloud系列十一:SpringCloudStream(SpringCloudStream 简介创建消息生产者创建消息消费者自定义消息通道分组与持久化设置 RoutingKey)(代码片段

揭秘先进制造业如何使用机械行业ERP系统快速升级?

前端开发必备!Emmet使用手册

CSDN 发布客户端生产力和低代码平台“猿如意”