库存余额刷新报错
问题描述:
存货核算期末库存余额刷新如果设置从开始期间重算时出现报错,信息如下:
Caused by: java.lang.NullPointerException
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.PeriodBalanceReCalCalculator.getBalanceTableFilter(PeriodBalanceReCalCalculator.java:504)
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.PeriodBalanceReCalCalculator.getNewPeriodBeginDataSQL(PeriodBalanceReCalCalculator.java:489)
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.PeriodBalanceReCalCalculator.insertNextPeriodBeginData(PeriodBalanceReCalCalculator.java:707)
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.PeriodBalanceReCalCalculator.reCalculateBalance(PeriodBalanceReCalCalculator.java:248)
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.PeriodBalanceReCalCalculator.calculateStep(PeriodBalanceReCalCalculator.java:232)
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.AbstractBalanceReCalCalculator.calculate(AbstractBalanceReCalCalculator.java:288)
at com.kingdee.eas.scm.framework.app.InvBalanceReCal.PeriodBalanceReCalCalculator.calculate(PeriodBalanceReCalCalculator.java:221)
at com.kingdee.eas.scm.framework.balance.app.BalanceReCalCalculateFacadeControllerBean.doRecal(BalanceReCalCalculateFacadeControllerBean.java:51)
at com.kingdee.eas.scm.framework.balance.app.BalanceReCalCalculateFacadeControllerBean._reCalBalance(BalanceReCalCalculateFacadeControllerBean.java:37)
at com.kingdee.eas.scm.framework.balance.app.AbstractBalanceReCalCalculateFacadeControllerBean.reCalBalance(AbstractBalanceReCalCalculateFacadeControllerBean.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
解决方案:
出现异常是由于重算时取不到重算开始期间的前一个会计期间数据导致,EAS8.5版本中,该问题已在供应链补丁PT158909(发布日期2021-06-17)中解决,请及时更新补丁验证。
库存余额刷新报错
本文2024-09-22 19:09:58发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-105462.html