百科问答

百科问答 国内资讯 公司资讯 政策法规 培训资料 产品下载

T6-企业管理软件V6.1 物资采购科目余额和采购管理中的在途货物余额表对不上

发布时间:2024-11-18 

特价活动:>>>> 用友U8、T6、T+、T3软件产品4折优惠,畅捷通T+cloud、好会计、好业财、好生意云产品8折优惠,另有话费赠送。

 

问题描述:

1211科目的8、9月的借方发生额和发票列表的金额不一致,都是在本月生成的凭证,也都生成了凭证了,请再帮忙查下。


问题回复:

出现此问题现象是由于9月份的采购发票,在8月份审核并生成凭证,具体的单据是0000000615 

----9月的单据凭证总值 select sum(md) from gl_accvouch where coutno_id in(select cPZid from Ap_Detail where iBVid in(select id from PurBillVouch p inner join PurBillVouchs ps on p.PBVID =ps.PBVID where YEAR (dpbvdate)=2014 and MONTH(dpbvdate)=9) and cflag='ap' ) and ccode='1211' 

--9月份的凭证 select * from gl_accvouch where ccode='1211' and iperiod =9 

----9月的单据的凭证明细 select * from gl_accvouch where coutno_id in(select cPZid from Ap_Detail where iBVid in(select id from PurBillVouch p inner join PurBillVouchs ps on p.PBVID =ps.PBVID where YEAR (dpbvdate)=2014 and MONTH(dpbvdate)=9) and cflag='ap' ) and ccode='1211'




X畅捷通软件.用友软件.企业云服务

截屏,微信识别二维码

客服QQ:5151867

(点击QQ号复制,添加好友)