-
報(bào)表或憑證查詢(xún)選不到2021年度?解決方案包來(lái)了!
-
最近老多客戶(hù)會(huì)問(wèn),怎么回事啊,查詢(xún)報(bào)表或憑證時(shí),會(huì)計(jì)年度選不到2021年度怎么破?總賬是正常的???
莫慌,解決方案包來(lái)了,趕緊收藏起來(lái)吧!
問(wèn)題描述
U8+存貨核算2021年查詢(xún)報(bào)表或查詢(xún)憑證,會(huì)計(jì)年度選擇不到2021年度。
解決方案
1 補(bǔ)丁解決
U8+V16.0安裝SP1補(bǔ)丁包、U8+V15.1和13.0安裝存貨核算模塊(IA)和采購(gòu)模塊(PUOM)補(bǔ)丁。
注意:請(qǐng)?zhí)崆皞浞葙~套數(shù)據(jù),安裝補(bǔ)丁后需要對(duì)賬套執(zhí)行腳本。
2 腳本解決
增加十個(gè)年度的數(shù)據(jù)(簡(jiǎn)體中文)。注意:請(qǐng)?zhí)崆皞浞葙~套數(shù)據(jù),再對(duì)問(wèn)題賬套執(zhí)行腳本處理:
if not exists(select EnumTypefromaa_enumwhereEnumType=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(selectEnumTypefromaa_enumwhereEnumType=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(selectEnumTypefromaa_enumwhereEnumType=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(selectEnumTypefromaa_enumwhereEnumType=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(selectEnumTypefromaa_enumwhereEnumType=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(selectEnumTypefromaa_enumwhereEnumType=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(selectEnumTypefromaa_enumwhereEnumType=N'IA.iYear'and enumcode=N'2027'and LocaleId=N'zh-cn')insert intoaa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values (N'IA.iYear',2027,N'zh-cn',2027,27,N'U870')if not exists(selectEnumTypefromaa_enumwhereEnumType=N'IA.iYear'and enumcode=N'2028'and LocaleId=N'zh-cn')insertintoaa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values (N'IA.iYear',2028,N'zh-cn',2028,28,N'U870')if not exists(selectEnumTypefromaa_enumwhereEnumType=N'IA.iYear'and enumcode=N'2029'and LocaleId=N'zh-cn')insertintoaa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values (N'IA.iYear',2029,N'zh-cn',2029,29,N'U870')if not exists(selectEnumTypefromaa_enumwhereEnumType=N'IA.iYear'and enumcode=N'2030'andLocaleId=N'zh-cn')insertintoaa_enum (EnumType,EnumCode,LocaleId,EnumName,EnumIndex,cProjectNO)values(N'IA.iYear',2030,N'zh-cn',2030,30,N'U870')3 工具解決
下載U8智慧企業(yè)看板小工具(長(zhǎng)頸鹿),
下載地址:
http://pan.yonyou.com/web/share.html?hash=xptlcY03TMM進(jìn)入工具箱-2021年度不顯示問(wèn)題,點(diǎn)擊【執(zhí)行腳本】按鈕,通過(guò)工具解決。如下圖: