0416工作备份

select sum(FQty) from ICInventory where FItemID=''
SELEct FSupplyID,* from ICSubContract where FBillNo='LGSC20170098'
SELECT FQtyScrap , fitemid
FROM PPBOMEntry where finterid=2109 and FAuxQtyMust!=0
select * from t_Item where FNumber='1.02.05.WKCX14312A0'
select FQty,* from ICInventory where FItemID=6554 and FStockID=3471
select * from ICTransType
select * from ICTemplate
select * from t_Supplier where fitemid=3268
SElecT fitemid,* FROM t_stock WHERE f_102=3268

select * from ppbom where ficnointerid=122

EXEC [xp_ICStockbill_28] 1821,3471,2600,250,'16422','123'
SELECT * FROM t_User
SELECT * FROM ICStockBill WHERE FTranType=28
SELECT * FROM ICStockBillEntry WHERE FINTERID=18185
DELETE FROM ICStockBill WHERE FINTERID=18185

原文地址:https://www.cnblogs.com/xujiating/p/6719360.html