问题描述:用友U8V12,某物料现存量跟库龄分析表结存数量不一样
查询该物料用友出入库单据,cInvCode(物料编号),cBatch(批号)
--iQuantity数量,iNum件数,iinvexchrate换算率, select * from rdrecords01 where cInvCode='0201020034' and cBatch='20200820' --采购入库单 select * from rdrecords08 where cInvCode='0201020034' and cBatch='20200820' --其他入库单 select * from rdrecords10 where cInvCode='0201020034' and cBatch='20200820' --产成品入库单 select * from rdrecords09 where cInvCode='0201020034' and cBatch='20200820' --其他出库单 select * from rdrecords11 where cInvCode='0201020034' and cBatch='20200820' --材料出库单 select * from rdrecords32 where cInvCode='0201020034'and cBatch='20200820' --销售出库单
准确定位出库单据:
select cbsysbarcode,iQuantity,dvdate,* from rdrecords11 where cInvCode='0201020034' and cBatch='20200820' and iQuantity=1150 --材料出库单
现在2023年,单据却神乎其神的变成2043年,进入该单据,修改,审核后正常。
搜索
复制
标签:cInvCode,U8,--,cBatch,结存,0201020034,20200820,select,库龄 From: https://www.cnblogs.com/insoon/p/17096854.html