现象描述:
查询应收账龄分析时,查到一家客户存在逾期,但实际情况客户基本提前一个月进行收款,并且核销里已经没有可核销数据,
原因分析:
查看客户记账的和核销的日期不一致。可能后台处理过dGatheringDate日期!目前处理方案是更新一致。
处理脚本如下:
update b set b.dGatheringDate=a.dGatheringDate
from ar_detail b inner join
(select * from Ar_Detail where cProcStyle =‘26‘ and cVouchType=‘26‘ and cGatheringPlan is not null) a
on a.iBVid =b.iBVid and a.ccoVouchID =b.ccoVouchID and a.ccoVouchType =b.ccoVouchType
where b.cProcStyle =‘9p‘ and b.ccoVouchType=‘26‘
截屏,微信识别二维码
客服QQ:5151867
(点击QQ号复制,添加好友)