用友软件首页

U8.51收发存汇总表打印出错

2016-3-17 0:0:0 wondial

U8.51收发存汇总表打印出错

U8.51收发存汇总表打印出错


U8.51-收发存汇总表打印出错

自动编号:7890产品版本:U8.51
产品模块:存货核算所属行业: 通用
适用产品:U851----16关 键 字:U851收发存汇总表打印出错
问题名称:收发存汇总表打印出错
问题现象:该公司使用了U851系统。在16模块打印收发存汇总表时,如果打印范围超过2003-5-30就打印不出表尾也打不全所有存货。但如果不打印存货名称就正常。还有,如果导出excel就报出错
原因分析:数据错误
解决方案:数据库中有一个存货传感器&控制器总成,其名称中有特殊字符"&",去掉即可。update [UFDATA_666_2003].[dbo].[Inventory] set [cInvName]='传感器和控制器总成'where [cInvCode] like '285565e929%'

温馨提示:如果您的问题还没有解决,欢迎进入用友云基地

如果您的问题还没有解决,可以到 T+搜索>>上找一下答案

分享到:

微博关注

bj用友软件

相关阅读

最新信息

用友财务通标准版821财务通现存量不对

用友财务通标准版821财务通现存量不对财务通标准版821财务通现存量不对


财务通标准版821-财务通现存量不对

自动编号:5782产品版本:财务通标准版821
产品模块:存货核算所属行业: 通用
适用产品:4关 键 字:现存量
问题名称:财务通现存量不对
问题现象:财务通现存量不正确怎么办?
原因分析:执行以下脚本能解决问题
   
   select * from sysobjects where name='tempcurrentstock'
   drop table TempCurrentStock
   SELECT cWhCode,cInvCode,(CASE WHEN cFree1=''THEN NULL ELSE cFree1 END) AS
   cFree1 ,(CASE WHEN cFree2=''THEN NULL ELSE cFree2 END) AS cFree2 ,iainquantity
   AS iQuantity, CAST(0 AS FLOAT) AS fOutQuantity,CAST(0 AS FLOAT) AS fInQuantity
   INTO TempCurrentStock
   From ia_subsidiary
   Where cvoutype='34'
   group by ia_subsidiary.cWhCode,ia_subsidiary.cInvCode,ia_subsidiary.cFree1,
   ia_subsidiary.cFree2,ia_subsidiary.iainquantity
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,iQuantity) SELECT
    cWhCode, cInvCode,(CASE WHEN cFree1=''THEN NULL ELSE cFree1 END) AS cFree1 ,(
   CASE WHEN cFree2=''THEN NULL ELSE cFree2 END) AS cFree2 , (CASE WHEN bRdFlag<>0
   THEN iQuantity ELSE -iQuantity END) AS iQuantity
   FROM RdRecord INNER JOIN RdRecords ON RdRecord.ID = RdRecords.ID
   WHERE cVouchType<>'33'AND cVouchType<>'34' AND RdRecord.dDate>='2007-1-01'
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,fOutQuantity)
   SELECT EnDispatchs.cWhCode, EnDispatchs.cInvCode,(CASE WHEN EnDispatchs.cFree1=
   '' THEN NULL ELSE EnDispatchs.cFree1 END) AS cFree1 ,(CASE WHEN EnDispatchs.
   cFree2='' THEN NULL ELSE EnDispatchs.cFree2 END) AS cFree2 , (ISNULL(iQuantity,
   0)-ISNULL(fOutQuantity,0)) AS fOutQuantity
   FROM EnDispatch INNER JOIN EnDispatchs ON EnDispatch.EDID = EnDispatchs.EDID
   WHERE ISNULL(EnDispatchs.cWhCode,'')<>'' AND ISNULL(EnDispatch.cSTCode,'')<>''
    AND EnDispatchs.iQuantity>0 AND bReturnFlag=0
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,fOutQuantity)
   SELECT DispatchLists.cWhCode as cWhCode, DispatchLists.cInvCode as cInvCode,(
   CASE WHEN DispatchLists.cFree1='' THEN NULL ELSE DispatchLists.cFree1 END) AS
   cFree1 , (CASE WHEN DispatchLists.cFree2='' THEN NULL ELSE DispatchLists.cFree2
   END) AS cFree2 , (ISNULL(iQuantity,0)-ISNULL(fOutQuantity,0)) AS fOutQuantity
   FROM DispatchLists INNER JOIN DispatchList ON DispatchLists.DLID =
   DispatchList.DLID
   WHERE DispatchList.cVouchType='05' AND ISNULL(DispatchLists.cWhCode,'')<>''
   AND ISNULL(DispatchList.cSTCode,'')<>'' AND (DispatchList.iSale=0 or
   DispatchList.iSale IS NULL) AND DispatchLists.iQuantity>0
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,fOutQuantity)
   SELECT cWhCode, cInvCode,(CASE WHEN cFree1=''THEN NULL ELSE cFree1 END) AS
   cFree1 , (CASE WHEN cFree2=''THEN NULL ELSE cFree2 END) AS cFree2 , (ISNULL(
   iQuantity,0)-ISNULL(fOutQuantity,0)) AS fOutQuantity
   FROM SaleBillVouchs INNER JOIN SaleBillVouch ON SaleBillVouch.SBVID=
   SaleBillVouchs.SBVID
   WHERE ISNULL(SaleBillVouchs.cWhCode,'')<>'' AND (SaleBillVouch.iDisp=0 OR
   SaleBillVouch.iDisp IS NULL) AND ISNULL(cBusType,'')<>'委托' AND ISNULL(
   cSTCode,'')<>'' AND ISNULL(cInvalider,'')='' AND SaleBillVouchs.iQuantity>
   0INSERT INTO CurrentStock(cWhCode,cInvCode,cFree1,cFree2,iQuantity,fOutQuantity,
   fInQuantity)
   SELECT cWhCode, cInvCode,cFree1,cFree2 , sum(iQuantity) AS iQuantity,sum(
   ISNULL(fOutQuantity,0)) AS fOutQuantity, sum(ISNULL(fInQuantity,0)) AS
   fInQuantity
   FROM TempCurrentStock
   GROUP BY cWhCode,cInvCode,cFree1,cFree2
   Delete From CurrentStock
   where iquantity is null and foutquantity=0 and finquantity=0
   
   
   
解决方案:执行以下脚本能解决问题
   
   select * from sysobjects where name='tempcurrentstock'
   drop table TempCurrentStock
   SELECT cWhCode,cInvCode,(CASE WHEN cFree1=''THEN NULL ELSE cFree1 END) AS
   cFree1 ,(CASE WHEN cFree2=''THEN NULL ELSE cFree2 END) AS cFree2 ,iainquantity
   AS iQuantity, CAST(0 AS FLOAT) AS fOutQuantity,CAST(0 AS FLOAT) AS fInQuantity
   INTO TempCurrentStock
   From ia_subsidiary
   Where cvoutype='34'
   group by ia_subsidiary.cWhCode,ia_subsidiary.cInvCode,ia_subsidiary.cFree1,
   ia_subsidiary.cFree2,ia_subsidiary.iainquantity
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,iQuantity) SELECT
    cWhCode, cInvCode,(CASE WHEN cFree1=''THEN NULL ELSE cFree1 END) AS cFree1 ,(
   CASE WHEN cFree2=''THEN NULL ELSE cFree2 END) AS cFree2 , (CASE WHEN bRdFlag<>0
   THEN iQuantity ELSE -iQuantity END) AS iQuantity
   FROM RdRecord INNER JOIN RdRecords ON RdRecord.ID = RdRecords.ID
   WHERE cVouchType<>'33'AND cVouchType<>'34' AND RdRecord.dDate>='2007-1-01'
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,fOutQuantity)
   SELECT EnDispatchs.cWhCode, EnDispatchs.cInvCode,(CASE WHEN EnDispatchs.cFree1=
   '' THEN NULL ELSE EnDispatchs.cFree1 END) AS cFree1 ,(CASE WHEN EnDispatchs.
   cFree2='' THEN NULL ELSE EnDispatchs.cFree2 END) AS cFree2 , (ISNULL(iQuantity,
   0)-ISNULL(fOutQuantity,0)) AS fOutQuantity
   FROM EnDispatch INNER JOIN EnDispatchs ON EnDispatch.EDID = EnDispatchs.EDID
   WHERE ISNULL(EnDispatchs.cWhCode,'')<>'' AND ISNULL(EnDispatch.cSTCode,'')<>''
    AND EnDispatchs.iQuantity>0 AND bReturnFlag=0
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,fOutQuantity)
   SELECT DispatchLists.cWhCode as cWhCode, DispatchLists.cInvCode as cInvCode,(
   CASE WHEN DispatchLists.cFree1='' THEN NULL ELSE DispatchLists.cFree1 END) AS
   cFree1 , (CASE WHEN DispatchLists.cFree2='' THEN NULL ELSE DispatchLists.cFree2
   END) AS cFree2 , (ISNULL(iQuantity,0)-ISNULL(fOutQuantity,0)) AS fOutQuantity
   FROM DispatchLists INNER JOIN DispatchList ON DispatchLists.DLID =
   DispatchList.DLID
   WHERE DispatchList.cVouchType='05' AND ISNULL(DispatchLists.cWhCode,'')<>''
   AND ISNULL(DispatchList.cSTCode,'')<>'' AND (DispatchList.iSale=0 or
   DispatchList.iSale IS NULL) AND DispatchLists.iQuantity>0
   INSERT INTO TempCurrentStock(cWhCode,cInvCode,cFree1,cFree2,fOutQuantity)
   SELECT cWhCode, cInvCode,(CASE WHEN cFree1=''THEN NULL ELSE cFree1 END) AS
   cFree1 , (CASE WHEN cFree2=''THEN NULL ELSE cFree2 END) AS cFree2 , (ISNULL(
   iQuantity,0)-ISNULL(fOutQuantity,0)) AS fOutQuantity
   FROM SaleBillVouchs INNER JOIN SaleBillVouch ON SaleBillVouch.SBVID=
   SaleBillVouchs.SBVID
   WHERE ISNULL(SaleBillVouchs.cWhCode,'')<>'' AND (SaleBillVouch.iDisp=0 OR
   SaleBillVouch.iDisp IS NULL) AND ISNULL(cBusType,'')<>'委托' AND ISNULL(
   cSTCode,'')<>'' AND ISNULL(cInvalider,'')='' AND SaleBillVouchs.iQuantity>
   0INSERT INTO CurrentStock(cWhCode,cInvCode,cFree1,cFree2,iQuantity,fOutQuantity,
   fInQuantity)
   SELECT cWhCode, cInvCode,cFree1,cFree2 , sum(iQuantity) AS iQuantity,sum(
   ISNULL(fOutQuantity,0)) AS fOutQuantity, sum(ISNULL(fInQuantity,0)) AS
   fInQuantity
   FROM TempCurrentStock
   GROUP BY cWhCode,cInvCode,cFree1,cFree2
   Delete From CurrentStock
   where iquantity is null and foutquantity=0 and finquantity=0
   
   
   

温馨提示:如果您的问题还没有解决,欢迎进入用友云基地

登录总账系统显示子系统登录失败

登录总账系统显示子系统登录失败 登录总账系统显示子系统登录失败[]

这类报错,请参照社区-知识库中的方案排查处理:http://service.chanjet.com/zhi ... b45be

热点文章

新闻资讯

  • 【新年首签】天津用友&通广集团签署战略协议

    【新年首签】天津用友&通广集团签署战略协议

    天津用友软件技术有限公司(以下简称天津用友)和天津通信广播集团有限公司(以下简称通广集团)就企业信息化建设事宜进行战略签约。

    参加此次会议有天津用友总经理赵永春,天津用友副总经理王成岩、通广集团副总经理马严、通广集团科技质量部部长尹刚、七一二公司技术质量部部长门国梁、七一二公司技术中心主任黄建尧等。

    image

  • 会计职场堪比宫斗剧

    会计职场堪比宫斗剧

     近几年,各种宫斗剧火爆,《甄嬛传》《芈月传》等等都脍炙人口,许多人经常打趣自己像某个人物,若是在古代能活到第几集。让人不禁想起,会计职场又何尝不是一场宫斗,每天要察言观色,明了领导的内心,就像后宫谁也不敢惹皇后一样。但当你坐上领导位置的时候,盯着你的眼睛就会很多,稍有不慎就会被取代。就像后宫的嫔妃一样,就算坐上了皇后的位置也要时刻担心有没有人觊觎。

    image

知 识 库

  • 用友t3怎么备份

    用友t3怎么备份

    用友t3怎么备份

    用友软件提供两种备份方式:手工备份和自动备份,下面我们讲解这两种方式的备份账套数据操作步骤(T6和U8与T3备份恢复方法相同,此处以T3为例):

    ㈠、手工备份

    1、先在硬盘上建立一个空文件夹

    打开我的电脑(双击)D(或E、F)盘,(空白处右击右键)新建文件夹,把这个新建的文件夹,改名为如用友数据手工备份。(双击)打开用友数据手工备份,(右击)出现新建文件夹,把所新建的文件夹改名为当天的备份日期如2016-12-16后退出

  • 用友t3怎么备份帐套

    用友t3怎么备份帐套

    用友t3怎么备份帐套

    用友软件提供两种备份方式:手工备份和自动备份,下面我们讲解这两种方式的备份账套数据操作步骤(T6和U8与T3备份恢复方法相同,此处以T3为例):

    ㈠、手工备份

    1、先在硬盘上建立一个空文件夹

    打开我的电脑(双击)D(或E、F)盘,(空白处右击右键)新建文件夹,把这个新建的文件夹,改名为如用友数据手工备份。(双击)打开用友数据手工备份,(右击)出现新建文件夹,把所新建的文件夹改名为当天的备份日期如2016-12-16后退出

  • 最新文章排行
  • 热门文章排行

管理软件

  • T3卸载就会跳到安装界面去,用360工具也卸载不了。请问这种情况哪位老师遇见过,我们应该如何处理。谢谢、在线等。

    T3卸载就会跳到安装界面去,用360工具也卸载不了。请问这种情况哪位老师遇见过,我们应该如何处理。谢谢、在线等。

    T3卸载就会跳到安装界面去,用360工具也卸载不了。请问这种情况哪位老师遇见过,我们应该如何处理。谢谢、在线等。 T3卸载就会跳到安装界面去,用360工具也卸载不了。请问这种情况哪位老师遇见过,我们应该如何处理。谢谢、在线等。[]

    备份好账套,这种情况只能强制删除了,请备份好账套之后,停止数据库服务和T3产品服务,自动备份服务;然后删除T3安装路径以及C盘下ufcomsql文件夹,然后使用360清除无用注册表,最后重启电脑即可;

  • 用友T3-用友通标准版录完期初后,总账系统和往来管理中往来科目期初余额不一致

    用友T3-用友通标准版录完期初后,总账系统和往来管理中往来科目期初余额不一致

    用友T3-用友通标准版录完期初后,总账系统和往来管理中往来科目期初余额不一致 用友T3-用友通标准版录完期初后,总账系统和往来管理中往来科目期初余额不一致

    用友T3-用友通应收账款在总账系统明细表中期初余额为10元,但在往来管理客户科目余额表中期初余额为110元.
    挂上往来辅助核算之后在总账期初余额里录入期初,后来发现录错了,接着就取消往来辅助核算,直接清空总账期初余额表面的金额(下图红色),却没有删除期初余额往来中的明细(下图蓝色)

关于我们 | 公司动态 | 获奖记录 | 联系我们 | 招聘信息 | 用友产品中心 | 用友云基地
Copyright ©  www.kuaiji66.com  All Rights Reserved 天龙瑞德
京ICP备11046295号-1 技术支持 北京天龙瑞德信息技术有限责任公司   北京海淀上地十街辉煌国际大厦3号楼6层 总机:010-59798025   售后:4009908488
北京天龙瑞德信息技术有限责任公司