用友财务软件互动问答平台

 找回密码
 立即注册
查看: 467|回复: 1

用友U8.52软件中客户档案无法并户?

[复制链接]
发表于 2016-9-25 16:08:06 | 显示全部楼层 |阅读模式
问题现象:在用友8.52erp系统中用友U8版本号:U8.52软件的公共平台产品线企业门户模块出现如下问题:在客户档案里将客户编码为1807的客户并到1801客户时,提示:基础档案中使用,不可并户.请帮忙解答!
原因分析:问题分析:1、此问题是由于在升级前委托代销发货单数据写到endispatch(s)表中,升级后将此部分数据写到dispatchlist(s)表中以字段‘cbustype’='委托代销'的形式体现,而升级后委托代销业务数据在endispatch(s)表中还存在记录。2、在并户过程中,程序首先会将源客户编码为1807的字段在各个已使用表中的记录都替换为目标客户编码1801,再修改客户档案1807的总公司为1801的总公司后将1807删除。而在调用到存储过程sp_UniteArchive_Pu时出现错误,没有将endispatch表中的1807客户编码替换为1801,造成在此表中还存在1807的记录,所以后续的操作都将终止。
解决方案:在用友erp 系统版本U8.52软件中解决办法:(请做好数据备份)修改存储过程,将endispatch表中需要并户的客户编码进行更新。请在查询分析器中选择您的账套及当前年度,执行如下存储过程:ALTERPROCEDURE[sp_UniteArchive_Pu]@ArchiveTypevarchar(50),@cDestCodevarchar(20),@cSourceCodevarchar(20)ASif@ArchiveType='vendor'beginupdatepo_poMainsetcVenCode=@cDestCodewherecVencode=@cSourceCodeupdatepurbillvouchsetcVenCode=@cDestCodewherecVencode=@cSourceCodeupdatepurbillvouchsetcUnitcode=@cDestCodewherecUnitcode=@cSourceCodeupdatepurSettlevouchsetcVenCode=@cDestCodewherecVencode=@cSourceCodeupdatePU_AppVouchssetcVenCode=@cDestCodewherecVencode=@cSourceCodeupdatePU_ArrivalVouchsetcVenCode=@cDestCodewherecVencode=@cSourceCodedeleteven_inv_price_ruleitemfromven_inv_price_ruleiteminnerjoinven_inv_price_ruleonven_inv_price_rule.id=ven_inv_price_ruleitem.idandven_inv_price_rule.cvencode=@cSourceCodedeletefromven_inv_price_rulewhereven_inv_price_rule.cvencode=@cSourceCodeupdatepp_ppcdetailssetcVenCode=@cDestCodewherecVencode=@cSourceCodeupdatepp_ppcquotasetcVenCode=@cDestCodewherecVencode=@cSourceCodeupdatepp_productposetcVenCode=@cDestCodewherecVencode=@cSourceCodeendif@ArchiveType='customer'beginupdateSO_SOMainsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdatedispatchlistsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdateendispatchsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdatesalebillvouchsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdatesa_settlevouchsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdateexpensevouchsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdateSA_WrapLeasesetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdatesalepayvouchsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeupdateSA_QuoMainsetcCusCode=@cDestCodewherecCuscode=@cSourceCodeifexists(selectccuscodefromSA_CusUPricewhereccuscode=@cDestCode)deletefromSA_CusUPricewhereccuscode=@cSourceCodeelseupdateSA_CusUPricesetcCusCode=@cDestCodewherecCuscode=@cSourceCodeifexists(selectccuscodefromSA_ClassDisRatewhereccuscode=@cDestCode)deletefromSA_ClassDisRatewhereccuscode=@cSourceCodeelseupdateSA_ClassDisRatesetcCusCode=@cDestCodewherecCuscode=@cSourceCodeendif@ArchiveType='inventory'beginupdatepo_podetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepurbillvouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepurbillvouchssetccorinvcode=@cDestCodewherecInvcode=@cSourceCodeupdatepursettlevouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepu_appvouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepu_arrivalvouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepp_ppcdetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepp_ppcquotasetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepp_rmrpdetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepp_forecastdetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepp_pomainsetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdateso_sodetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesalebillvouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesalepayvouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdateexpensevouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesa_wrapleasesetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesa_quodetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesa_settlevouchssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatepricejustifysetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesa_invupricesetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesa_cusupricesetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatedispatchlistssetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdateendispatchssetcInvCode=@cDestCodewherecInvCode=@cSourceCodeupdatesa_quantitydisratesetcInvCode=@cDestCodewherecInvcode=@cSourceCodeupdatesa_quodetailssetcInvCode=@cDestCodewherecInvcode=@cSourceCodedeletefromlowlevelwherecinvcode=@cSourceCodeifexists(selectcinvcodefromSA_saleplanwherecinvcode=@cDestCode)deletefromSA_saleplanwherecinvcode=@cSourceCodeelseupdateSA_saleplansetcinvcode=@cDestCodewherecinvcode=@cSourceCodeendGO。
回复

使用道具 举报

发表于 2016-9-25 17:03:05 | 显示全部楼层
用友U8ERP软件免费下载地址截止2016年已发布的版本全部在下方,安装教程请认真参考:http://www.yyrjxz.com/xue/u8azjc.html 进行安装。
1、用友MERPu811软件免费下载地址:http://www.yyrjxz.com/yongyou/MERPU811.1.html
2、用友U82.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8old820.html
3、用友U83.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8old830.html
4、用友U852erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U852.html
5、用友U860erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u860.html
6、用友U861erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u861xz.html
7、用友U870erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u870.html
8、用友U872erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u871.html
9、用友U82.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U872.html
10、用友U890erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u890.html
11、用友U810.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U810.0.html
12、用友U810.1erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U8V10.1.html
13、用友U811.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U8V11.0.html
14、用友U8+v11.1erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U8V11.1.html
15、用友U8+v12.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8120.html
16、用友U8+v12.1erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8121.html
17、用友U8+v12.5erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8125.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|用友十万个为什么 ( 赣ICP备13006939号 )

GMT+8, 2025-8-24 07:37 , Processed in 0.108499 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表