U813.0-16.0供应链查询报表或凭证时,会计年度不显示2021年度怎么破?解决方案包来了!

当使用U813.0-16.0供应链进行2021年度的报表或凭证查询时,发现无法选择2021年度。解决方法包括:安装SP1补丁包,补丁安装需先备份数据;通过脚本增加年度数据,同样需备份后再执行;或使用U8智慧企业看板小工具(长颈鹿)执行脚本解决问题。
摘要由CSDN通过智能技术生成

问题描述:

U8+存货核算2021年查询报表或查询凭证,会计年度选择不到2021年度。

解决方案:

一、补丁解决

U8+V16.0安装SP1补丁包、U8+V15.1和13.0安装存货核算模块(IA)和采购模块(PUOM)补丁。注意:请提前备份账套数据,安装补丁后需要对账套执行脚本补丁。

二、脚本解决

增加十个年度的数据(简体中文)。注意:请提前备份账套数据,再对问题账套执行脚本处理:

if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2021' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2021,N'zh-cn',2021,21,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2022' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2022,N'zh-cn',2022,22,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2023' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2023,N'zh-cn',2023,23,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2024' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2024,N'zh-cn',2024,24,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2025' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2025,N'zh-cn',2025,25,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2026' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2026,N'zh-cn',2026,26,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2027' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2027,N'zh-cn',2027,27,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2028' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2028,N'zh-cn',2028,28,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2029' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2029,N'zh-cn',2029,29,N'U870')if not exists(select EnumType from aa_enum where EnumType=N'IA.iYear' and enumcode=N'2030' and LocaleId=N'zh-cn')insert into aa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2030,N'zh-cn',2030,30,N'U870')

三、工具解决

下载U8智慧企业看板小工具(长颈鹿),

下载地址:http://pan.yonyou.com/web/share.html?hash=xptlcY03TMM

进入工具箱-2021年度不显示问题,点击【执行脚本】按钮,通过工具解决。如下图:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

jiubanxing

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值