用友软件免费下载(www.bbsufida.com)旨在提供全系列最新最全的用友财务软件免费下载地址,快速下载请添加微信 yyrjgls

库存管理中进入期初提示有错-用友U8

admin2016-06-20333用友U8仓库记录用友
对应版本:用友U8.61对应产品线:供应链对应模块:库存管理模块问题现象:库存管理中进入期初提示有错,确定之后,模块中的功能就都不好使用。问题原因:此问题是由于仓库记录存在问题解决方案:按以下步骤修改:1、执行以下脚本,删除和仓库表关联的外键及仓库记录altertableIA_SubsidiarydropconstraintFK__IA_Subsid__cWhCo__7B3C2211goaltertableCurrentStockdropconstraintFK__CurrentSt__cWhCo__776B912DgoaltertableMainBatchdropconstraintFK__MainBatch__cWhCo__7F0CB2F5goaltertableDispatchListsdropconstraintFK__DispatchL__cWhCo__785FB566goselect*intowarehouse_bakfromwarehousegodeletefromwarehouse2、根据表warehouse_bak的记录在软件中手工输入仓库记录3、执行以下语句重建与仓库表关联的外键altertableIA_SubsidiaryaddconstraintFK__IA_Subsid__cWhCo__7B3C2211foreignkey(cwhcode)referenceswarehouse(cwhcode)goaltertableCurrentStockaddconstraintFK__CurrentSt__cWhCo__776B912Dforeignkey(cwhcode)referenceswarehouse(cwhcode)goaltertableMainBatchaddconstraintFK__MainBatch__cWhCo__7F0CB2F5foreignkey(cwhcode)referenceswarehouse(cwhcode)goaltertableDispatchListsaddconstraintFK__DispatchL__cWhCo__785FB566foreignkey(cwhcode)referenceswarehouse(cwhcode)go4、删除仓库备份表droptablewarehouse_bak

微信号:yyrjgls
技术咨询,有偿服务!
复制微信号

本文链接:https://www.bbsufida.com/u8/44643.html

网友评论

热门文章
侧栏广告位
随机文章