zoukankan      html  css  js  c++  java
  • 用友U8 | 【存货核算】存货核算模块,凭证处理,查询凭证时,会计年度选择不到2021年度

    问题描述:存货核算模块,凭证处理,查询凭证时,会计年度选择不到2021年度?

     原因分析:用友产品后台程序只写到2020年(2001-2020 20年

    select * from aa_enum where EnumType=N'IA.iYear'

     处理方法:

    1、补丁解决:(由于没有交服务费,所以。。。放弃)

     2、脚本解决:在后台数据库,选中对应的账套,执行脚本语句即可;

    补充:选择的数据库是ufdata开头的数据库

    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')
  • 相关阅读:
    python的包和模块
    python 匿名函数
    hdu 1455 Sticks
    python 返回函数
    python 自定义排序函数
    batchsize对收敛速度的影响
    mini_batch GD
    dropout
    sift
    hog
  • 原文地址:https://www.cnblogs.com/lxhui/p/14422327.html
Copyright © 2011-2022 走看看