用友T6软件‘未审核的凭证允许记账’不起做用
2019-4-19 8:0:0 wondial用友t6软件‘未审核的凭证允许记账’不起做用
‘未审核的凭证允许记账’不起做用‘未审核的凭证允许记账’不起做用
原因分析:是升级过程中没有执行关于“未审核也可以记帐”的相关语句。问题解答:重新执行如下语句:ALTER Proc GL_P_JZA(@iPer tinyint = 11, @ccash tinyint =1, @tcond varchar(5000)= '') ASSET NOCOUNT Ondeclare @ss varchar(8000) --ll Tong2005B declare @Checkflag varchar(20) set @Checkflag = (SELECT cvalue FROM AccInformation WHERE cSysID='GL' AND cName='bNotCheckJz')------------------------------Delete From GL_mpostcond1if @ccash=0begin --ll Tong2005B if @Checkflag = 'False' set @ss='SELECT iperiod,isignseq,ino_id From gl_accvouch where ibook=0 and iperiod= '+convert(char,@iPer,0) +(case when @tcond='' then '' else ' and (' + @tcond + ')' end)+' and (not (ccheck is null) and iflag is null or ccheck is null and iflag=1) GROUP BY iperiod,isignseq,ino_id' else set @ss='SELECT iperiod,isignseq,ino_id From gl_accvouch where ibook=0 and iperiod= '+convert(char,@iPer,0) +(case when @tcond='' then '' else ' and (' + @tcond + ')' end)+' and (iflag is null or ccheck is null and iflag=1) GROUP BY iperiod,isignseq,ino_id' ----------------------------- Insert GL_mpostcond1 exec (@ss)EndElsebeginif not object_id('tempdb..GL_jztmp') is nulldrop table tempdb..GL_jztmp --ll Tong2005B if @Checkflag = 'False' set @ss='SELECT isignseq,ino_id,1 as zt into tempdb..GL_jztmp FROM gl_accvouch inner join code ON gl_accvouch.ccode = code.ccode where ibook=0 and iperiod= '+convert(char,@iPer,0)+(case when @tcond='' then '' else ' and (' + @tcond + ')' end) +' and ((code.bbank ^ code.bcash) =1) and ((not (ccheck is null)) and (ccashier is null)) GROUP BY isignseq,ino_id Union SELECT isignseq,ino_id,0 as zt From gl_accvouch where ibook=0 and iperiod= '+convert(char,@iPer,0) +(case when @tcond='' then '' else ' and (' + @tcond + ')' end)+' and (not (ccheck is null) and iflag is null or ccheck is null and iflag=1) GROUP BY isignseq,ino_id' else set @ss='SELECT isignseq,ino_id,1 as zt into tempdb..GL_jztmp FROM gl_accvouch inner join code ON gl_accvouch.ccode = code.ccode where ibook=0 and iperiod= '+convert(char,@iPer,0)+(case when @tcond='' then '' else ' and (' + @tcond + ')' end) +' and ((code.bbank ^ code.bcash) =1) and (ccashier is null) GROUP BY isignseq,ino_id Union SELECT isignseq,ino_id,0 as zt From gl_accvouch where ibook=0 and iperiod= '+convert(char,@iPer,0) +(case when @tcond='' then '' else ' and (' + @tcond + ')' end)+' and (iflag is null or ccheck is null and iflag=1) GROUP BY isignseq,ino_id' ------------------------------ exec (@ss) SELECT isignseq,ino_id,sum(zt) as zt1 into #gl_bookB from tempdb..GL_jztmp group by isignseq,ino_idset @ss='select '+convert(char,@iPer,0)+' as iperiod,isignseq,ino_id from #gl_bookBWhere zt1 = 0 '+(case when @tcond='' then '' else ' and (' + @tcond + ')' end)insert GL_mpostcond1 exec (@ss) End如果您的问题还没有解决,可以到 T+搜索>>上找一下
相关阅读
- 用友T6软件如何增加操作员?2021-6-17 8:45:27
- 用友T6软件如何计提折旧?2021-6-17 8:41:2
- 用友T6软件出现零出库2021-5-21 13:50:36
- 用友T6软件用友财务报表,利润表,资产负债表提示正在被用户使用,出现加锁怎么解决2021-5-21 13:47:3
- 用友T6软件销售类型有哪些?2021-5-21 13:44:29
- 用友T6软件期初对账时应付模块和总账对账不平?2021-5-6 17:33:9
- 用友T6软件年结检查2021-5-6 17:32:7
- 用友T6软件客户往来期初对账不平2021-5-6 17:29:47
- T6如何计算偿债能力图文教程2021-1-10 13:47:49
- T6设置凭证账簿套打图文教程2021-1-9 14:1:58
最新信息
- 凭证打印时别的都能正常打印,由固定资产生成的凭证打印时提示打印机缺纸,错误号1001
- 销售出库单 记账失败 提示 单据号“00000001” 记账失败
- 提示此帐套行业性质与科目设置中的科目分类不符这么怎么办
- 11.5客户端登录一直这样,服务器可以打开,地址可以ping通,端口也可以
- t3安装到最后一直不提示重新启动,强制重启后,服务里没有T3,这是怎么回事啊-电脑装的是WIN7 32位的
- 用友软件结转工资模块时提示“上年数据库中无数据,不能结转上年数据”,如何处理?
- 用友软件点填制凭证按钮无反应
- 用友软件没有指定银行科目,也没设置辅助核算,但是在填凭证的时候,现金和银行存款提示需要录结算方式、票号、发生日期
- 用友软件套打凭证格式设置保存不上
- 用友软件填制凭证时报错无法从页(15574)中按RID检索行,因为slotid(7)无效