标签:item Plan like attr 技术分享 ast routing creat cto
5000163458/30_1
000000101001025920CZ
000000102001001608CZ
001201191645
SELECT * FROM IN_MO where so_id=‘5000163458‘ and so_line_id=‘30‘; SELECT DEMANDLINEID,SUPPLYORDERID,DEMANDORDERID,QTYALLOCATED,ITEM FROM ABPPMGR.SUPPLYDMDPEGPLAN WHERE ITEM=‘000000102001001608CZ‘;--前台显示 SELECT DEMANDORDERID,DEMANDLINEID,DEMANDTYPE,ITEM,QTYINMOVE,SOURCEDATE,SUPPLYORDERID,SUPPLYTYPE,QTYALLOCATED FROM ABPPMGR.supplydmdpegging WHERE (DEMANDORDERID=‘5000163458‘ AND DEMANDLINEID=‘30_1‘) OR DEMANDORDERID=‘5000163458/30_1-MFG001‘ ; --000000101002001849CZ 001201126508 000000102002000845CZ SELECT PRODUCTIONORDID,BOMID,ITEM,QTYORDERED,REQUIREDDATE,ROUTINGID,UDF_MO_FACTORY FROM ABPPMGR.PRODUCTIONORDERS WHERE PRODUCTIONORDID=‘5000163458/30_1-MFG001‘; SELECT ENTERPRISE, ENGINE_ID, SALESORDERID, SOLINENUM, ATTRIBUTECLASS, ATTRIBUTE, RELATIONSHIP, VALUE , SYS_CREATED_BY FROM ABPPMGR.SALESORDERLINE_P WHERE ATTRIBUTECLASS LIKE ‘%5000163458_30_1%‘; SELECT * FROM ABPPMGR.PRODUCTIONORDERS_P WHERE PRODUCTIONORDERID IN (‘001201191645‘); SELECT BOMID,ITEM,PRIORITY,ROUTINGID FROM ABPPMGR.MST_ITEMBOMROUTING WHERE ITEM in(‘000000101001025920CZ‘,‘000000102001001608CZ‘) or ITEM in(‘000000101001025920‘,‘000000102001001608‘); SELECT * FROM ABPPMGR.FORECASTDETAIL_P ; SELECT * FROM ABPPMGR.INVENTORYPROPERTY WHERE ITEM in(‘000000101001025920CZ‘,‘000000102001001608CZ‘) or ITEM in(‘000000101001025920‘,‘000000102001001608‘);--无 SELECT * FROM ABPPMGR.SFCHEADERPROPERTY WHERE PRODUCTIONORDERID IN (‘001201191645‘);--无
SELECT * FROM IN_MO where so_id=‘5000163998‘ and so_line_id=‘30‘; SELECT DEMANDLINEID,SUPPLYORDERID,DEMANDORDERID,QTYALLOCATED,ITEM FROM ABPPMGR.SUPPLYDMDPEGPLAN WHERE ITEM=‘000000102010000218CA‘;--前台显示 SELECT DEMANDORDERID,DEMANDLINEID,DEMANDTYPE,ITEM,QTYINMOVE,SOURCEDATE,SUPPLYORDERID,SUPPLYTYPE,QTYALLOCATED FROM ABPPMGR.supplydmdpegging WHERE (DEMANDORDERID=‘5000163998‘ AND DEMANDLINEID=‘30_1‘) OR DEMANDORDERID=‘5000163998/30_1-MFG001‘ ; --000000101002001849CZ 001201126508 000000102002000845CZ SELECT PRODUCTIONORDID,BOMID,ITEM,QTYORDERED,REQUIREDDATE,ROUTINGID,UDF_MO_FACTORY FROM ABPPMGR.PRODUCTIONORDERS WHERE PRODUCTIONORDID=‘5000163998/30_1-MFG001‘; SELECT ENTERPRISE, ENGINE_ID, SALESORDERID, SOLINENUM, ATTRIBUTECLASS, ATTRIBUTE, RELATIONSHIP, VALUE , SYS_CREATED_BY FROM ABPPMGR.SALESORDERLINE_P WHERE ATTRIBUTECLASS LIKE ‘%5000163998_30_1%‘; SELECT * FROM ABPPMGR.PRODUCTIONORDERS_P WHERE PRODUCTIONORDERID IN (‘001201192133‘); SELECT BOMID,ITEM,PRIORITY,ROUTINGID FROM ABPPMGR.MST_ITEMBOMROUTING WHERE ITEM in(‘000000101010001980‘,‘000000102010000218‘) or ITEM in(‘000000101010001980‘,‘000000102010000218‘); SELECT * FROM ABPPMGR.FORECASTDETAIL_P ; SELECT * FROM ABPPMGR.INVENTORYPROPERTY WHERE ITEM in(‘000000101010001980CA‘,‘000000102010000218CA‘) or ITEM in(‘000000101010001980‘,‘000000102010000218‘); SELECT * FROM ABPPMGR.SFCHEADERPROPERTY WHERE PRODUCTIONORDERID IN (‘001201192133‘);--无
标签:item Plan like attr 技术分享 ast routing creat cto
原文地址:https://www.cnblogs.com/Snowfun/p/9105379.html