凭证模板配置仓库核算维度时报错
681次浏览
编辑于2015年04月28日 22:39:21
K3 Cloud 5.0 是其他入库单配置凭证生成规则的时候如果我们的核算维度设置了“仓库”在生产凭证的时候就会报错。
生成凭证时报错The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildVoucherLogic.UpdateAcctDetailId.InsertIntoDB(List`1 notExistDBRows)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildVoucherLogic.UpdateAcctDetailId.DoAction()
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildVoucherLogic.UpdateVchEntry.DoAction()
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildBizVoucherAction.DoOneSourceBill(BuildSingleVoucherResult buildResult)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildBizVoucherAction.DoBatch(List`1 currBatchBillIds)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildBizVoucherAction.DoAction()
at Kingdee.BOS.Core.BusinessPolicyModel.BusinessPolicyEngine.Do(OperateOption context)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.DoEveryTemplate(VchSelectBookInfor book, VchSelectSourceBillInfor sourceBill, VCHTemplateInfor vchTemplate, BuildResultManager resultManager, Int32 logBootLevel)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.DoEverySourceBill(VchSelectBookInfor book, VchSelectSourceBillInfor sourceBill, Int32& iBill)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.BuildVoucher(BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherService.BuildVoucher(Context ctx, BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.GL.ServiceHelper.BuildVoucherServiceHelper.BuildVoucher(Context ctx, BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.GL.Business.PlugIn.BuildVoucherServiceProgressPlugIn.GenerateVoucher()
生成凭证时报错The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildVoucherLogic.UpdateAcctDetailId.InsertIntoDB(List`1 notExistDBRows)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildVoucherLogic.UpdateAcctDetailId.DoAction()
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildVoucherLogic.UpdateVchEntry.DoAction()
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildBizVoucherAction.DoOneSourceBill(BuildSingleVoucherResult buildResult)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildBizVoucherAction.DoBatch(List`1 currBatchBillIds)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.BuildBizVoucherAction.DoAction()
at Kingdee.BOS.Core.BusinessPolicyModel.BusinessPolicyEngine.Do(OperateOption context)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.DoEveryTemplate(VchSelectBookInfor book, VchSelectSourceBillInfor sourceBill, VCHTemplateInfor vchTemplate, BuildResultManager resultManager, Int32 logBootLevel)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.DoEverySourceBill(VchSelectBookInfor book, VchSelectSourceBillInfor sourceBill, Int32& iBill)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.BuildVoucher(BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherService.BuildVoucher(Context ctx, BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.GL.ServiceHelper.BuildVoucherServiceHelper.BuildVoucher(Context ctx, BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.GL.Business.PlugIn.BuildVoucherServiceProgressPlugIn.GenerateVoucher()
推荐阅读