FAuxConCommitQty 入库基本关联数量. FConCommitQty 入库基本关联数量. FAuxRelateQty 关联数量 收料通知单 11320 11315 11316 11319 产品数量为7274,实际上没更新前FAuxConCommitQty,FConCommitQty为12074 关联数量大于fauxQty7274 所以删除失败,更新FAuxConCommitQty,FConCommitQty=7274后可以删除 update a set FAuxRelateQty=0 ,FAuxConCommitQty =7274,FConCommitQty =7274 from POInStockEntry a where FInterID=10250 and fitemid in(11315, 11316, 11319, 11320)