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)

 

相关文章:

  • 2021-12-18
  • 2021-06-12
  • 2021-06-29
  • 2021-10-28
  • 2021-08-01
  • 2022-12-23
  • 2021-09-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案