用友T6存货核算凭证列表看到的凭证日期和双击进去看到的凭证日期不一样

MQQ |浏览1507次
收藏|2012/12/14 17:30

存货核算凭证列表看到的凭证日期和双击进去看到的凭证日期不一样

满意回答

2012/12/31 09:39

备份好账套,执行如下语句:

---脚本意思,修改期初冗余记录coutno_id的只为null值。

update GL_accvouch set coutno_id=null where (coutsysname='IA' or coutsysname='PU' )  
and GL_accvouch.coutno_id IN
(Select distinct cPzid from ia_subsidiary inner join inventory on ia_subsidiary.cinvcode=inventory.cinvcode
where not cPzid  is null and ( iMonth=8)) and (iflag<>1 OR (iFlag is null )) and iperiod <>8

此问题一般不通用,很少碰到,若遇到相关问题可以参照此问题的解决思路。

桃子

其他回答(0)
人关注该问题
+1
 加载中...