select sum(FQty) from ICInventory where FItemID=''
SELEct FSupplyID,* from ICSubContract where FBillNo='LG2016102011'
SELECT FQtyScrap , fitemid ,FAuxStockQty
FROM PPBOMEntry where finterid=1588 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 ficmointerid=1355
EXEC [xp_ICStockbill_28] 1821,3471,2600,250,'16422','123'
SELECT * FROM t_User
SELECT * FROM ICStockBill WHERE FTranType=28
SELECT FAUXQTY,* FROM ICStockBillEntry WHERE FINTERID=15456
DELETE FROM ICStockBillEntry WHERE FINTERID=15456