库存余额刷新报错

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-22浏览:1

 库存余额刷新报错

问题描述:

存货核算期末库存余额刷新如果设置从开始期间重算时出现报错,信息如下:

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)中解决,请及时更新补丁验证。

库存余额刷新报错

问题描述:存货核算期末库存余额刷新如果设置从开始期间重算时出现报错,信息如下:Caused by: java.lang.NullPointerException ...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息