应收单生成凭证异常
应收单列表有放出“生成凭证”的按钮,可以正常生成凭证
但如果进入智能会计平台里面的“凭证生成”功能来操作,则会报错:
【应收单】凭证模板取值条件中配置的字段[项目]与金额字段所在的单据体不一致
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.TplCompile.TplEntryCompiler.CheckSelectFields()
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.TplCompile.TplEntryCompiler.Compile(ParameterManager parameterManager, VchSelectBookInfor bookInfo, VchSelectSourceBillInfor sourceBill, TplCompiler tplCompiler, VCHTemplateEntryInfor tplEntryInfor)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.TplCompile.TplCompiler.CompileTplEntry(VCHTemplateEntryInfor tplEntryInfor, Int32 groupLogBootLevel)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.TplCompile.TplCompiler.CompileTplGroup(VCHTemplateGroupInfor tplGroupInfor, Int32 LogBootLevel)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.TplCompile.TplCompiler.Compile(ParameterManager parameterManager, VchSelectBookInfor bookInfo, VchSelectSourceBillInfor sourceBill, VCHTemplateInfor tplInfo)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.PreCompileTemplateAction.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()
推荐阅读