总账结账的时候提示本位币与报告币不等,不允许提交
1 问题描述
总账结账的时候提示本位币与报告币不等,不允许提交
2 解决方法
a.收集apusic日志提示
com.kingdee.eas.fi.gl.VoucherException: 本位币与报告币币别相同金额不等,不允许提交!
at com.kingdee.eas.fi.gl.validator.VoucherEntrySubmitValidator.checkEntryAmount(VoucherEntrySubmitValidator.java:311) ~[?:8.8.0]
at com.kingdee.eas.fi.gl.validator.VoucherEntrySubmitValidator.validate(VoucherEntrySubmitValidator.java:98) ~[?:8.8.0]
at com.kingdee.eas.fi.gl.validator.VoucherValidator.validate(VoucherValidator.java:83) ~[?:8.8.0]
at com.kingdee.eas.fi.gl.app.voucher.SubmitStandradVoucherService.validatorVoucher(SubmitStandradVoucherService.java:376) ~[?:?]
at com.kingdee.eas.fi.gl.app.voucher.AbstractSubmitBaseVoucherService.submitVoucher(AbstractSubmitBaseVoucherService.java:126) ~[?:?]
at com.kingdee.eas.fi.gl.app.voucher.SubmitStandradVoucherService.submitVoucher(SubmitStandradVoucherService.java:73) ~[?:?]
at com.kingdee.eas.fi.gl.app.BaseVoucherControllerBean._submit(BaseVoucherControllerBean.java:112) ~[?:?]
at com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.submit(AbstractCoreBaseControllerBean.java:458) ~[?:?]
at com.kingdee.eas.fi.gl.app.VoucherControllerBean.submit(VoucherControllerBean.java:2985) ~[?:?]
b.后台检查检查凭证-(对应组织没有启用外币)
select c.fnumber 组织编码, p.fnumber 期间, v.fnumber 凭证编码, ve.fbillid 凭证FID,ve.fseq 分录序号 , vr.fentryid 凭证辅助FID
from t_gl_voucher v
inner join T_GL_VoucherEntry ve on ve.fbillid = v.fid
inner join t_gl_voucherassistrecord vr on vr.fentryid = ve.fid
inner join T_ORG_Company c on c.fid = v.fcompanyid
inner join t_bd_period p on p.fid = v.fperiodid
inner join t_bd_accountview at on at.fid = ve.FAccountID
where 1=1
-- and at.fnumber='科目编码'
-- and c.fnumber='组织编码'
-- and p.fnumber=期间编码
and ve.foriginalamount<> ve.FReportingAmount
3 注意事项(可选)
a.修复更新凭证数据时请先到对应期间按照凭证编码检查前端凭证号是否正常
b.要修复T_GL_VoucherEntry 和t_gl_voucherassistrecord 对应的报告币金额
c.修复完成后重算科目余额表
总账结账的时候提示本位币与报告币不等,不允许提交
本文2024-09-22 18:23:06发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-100433.html