發(fā)布時(shí)間:2024-11-18 瀏覽:129次
【解決方案】
AA_ParentAccount數(shù)據(jù)不全,末級(jí)科目在AA_ParentAccount表中不存在上下級(jí)關(guān)系
備份好賬套數(shù)據(jù),執(zhí)行腳本:
truncate table AA_ParentAccount
insert into AA_ParentAccount (idParent,idSon,Depth,isEndNode)
select p.id as idParent,s.id as idSon,p.depth-1 as Depth,p.IsEndNode as isEndNode from AA_Account p
left join AA_Account s
on s.code like p.code+'%' and s.isEndNode =1 and s.accountingyear=p.accountingyear
GO
客服電話:400-665-0028
用友好會(huì)計(jì)、用友易代賬、用友好業(yè)財(cái)、用友好生意、用友T+Cloud試用地址__用友暢捷通公司網(wǎng)站
關(guān)鍵字:用友軟件,暢捷通軟件,財(cái)務(wù)軟件,進(jìn)銷存軟件,U9官網(wǎng),用友U8,用友T1,用友T+,用友T3,用友T6,暢捷通好會(huì)計(jì),好生意,好業(yè)財(cái),用友培訓(xùn)服務(wù)售后公司,暢捷通運(yùn)營(yíng)培訓(xùn)服務(wù)公司