专业版11.0 采购发票反钩稽 错误:子查询返回的值不止一个
518次浏览
编辑于2017年09月12日 10:54:52
错误描述:子查询返回的值不止一个。当子查询跟随在 =、!=、<、<=、>、>= 之后,或子查询用作表达式时,这种情况是不允许的。
跟踪了一下:
Update ICStockBill Set FCheckerID =0
where FHookInterID=578
And (FTranType in(100,101,102) or FInterID in(select FIBInterID from ICHookRelations where FGroupno=578 and FIBTag=4 ))
select FIBInterID from ICHookRelations where FGroupno=578 and FIBTag=4 的结果是 3625,3626 两张单据.
语句改成:Update ICStockBill Set FCheckerID =0 where FInterID in(3625,3626) 依然报上面的错误.
怎么处理?谢谢!