问题描述:
t+总账年结时上年数字不结转 版本11.6
问题回复:
按照以下步骤处理,如果科目已经录入了凭证,请把凭证都导出去,然后删掉科目,在重新生成科目。
请做好数据备份,然后执行下面的脚本: delete from AA_Account_Ext where id in(select id from AA_Account where accountingyear=2017) delete from AA_AccountAssociation where idcurrentaccountDTO in(select id from AA_Account where accountingyear=2017) and currentaccountingyear=2017 and idcurrentaccountDTO<>idpreaccountDTO delete from AA_ParentAccount where idSon in(select id from AA_Account where accountingyear=2017) or idParent in(select id from AA_Account where accountingyear=2017) delete from AA_Account where accountingyear=2017