Hi Blue Wang,
we have done Full CIL, Full compile and DB synchronization in Production, the previous error is not appearing now , but getting the below error in " E-mail attachment distributor" batch job, it ending in error :
"A currency to convert from is required to retrieve exchange rate information.
Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.ExchangeRateHelper.Handleerror(String _error, String _faultCode) in ExchangeRateHelper.handleError.xpp:line 23
at Dynamics.Ax.Application.ExchangeRateHelper.Validatefromcurrency() in ExchangeRateHelper.validateFromCurrency.xpp:line 6
at Dynamics.Ax.Application.ExchangeRateHelper.Getexchangerate1() in ExchangeRateHelper.getExchangeRate1.xpp:line 25
at Dynamics.Ax.Application.Currency.exchRate(String _currencyCode, Date _exchRateDate, UnknownNoYes _exchRatesTriangulation, Boolean _showerror, NoYes _governmentExchRate, Boolean , Boolean , Boolean , Boolean ) in Currency.exchRate.xpp:line 18
at Dynamics.Ax.Application.Currency.@exchRate(String _currencyCode, Date _exchRateDate, UnknownNoYes _exchRatesTriangulation, Boolean _showerror, Boolean , Boolean , Boolean )
at Dynamics.Ax.Application.PurchTotals_Trans.Exchrate() in PurchTotals_Trans.exchRate.xpp:line 1
at Dynamics.Ax.Application.PurchTotals.Calc(Boolean _excludePendingInvoices, Boolean _delayTaxCalc, Boolean _taxesOnly, Boolean , Boolean , Boolean ) in PurchTotals.calc.xpp:line 52
at Dynamics.Ax.Application.PurchTotals.Calc()
at Dynamics.Ax.Application.PurchPurchaseOrderProformaDP.Initpurchpurchaseorderheader() in PurchPurchaseOrderProformaDP.initPurchPurchaseOrderHeader.xpp:line 11
at Dynamics.Ax.Application.PurchPurchaseOrderProformaDP.Setpurchpurchaseorderheader() in PurchPurchaseOrderProformaDP.setPurchPurchaseOrderHeader.xpp:line 18
at Dynamics.Ax.Application.PurchPurchaseOrderProformaDP.Createdata(PurchPurchaseOrderProformaContract _contract) in PurchPurchaseOrderProformaDP.createData.xpp:line 21
at Dynamics.Ax.Application.PurchPurchaseOrderProformaDP.Processreport() in PurchPurchaseOrderProformaDP.processReport.xpp:line 19
at Dynamics.Ax.Application.SrsReportRunRdpPreProcessStrategy.Execute(Boolean _isPreview, Boolean ) in SrsReportRunRdpPreProcessStrategy.execute.xpp:line 39
at Dynamics.Ax.Application.SrsReportRunRdpPreProcessService.Executewithcontract(SrsReportDataContract _reportContract, Int64 _preProcessedRecId, SrsReportDataProviderPreProcessInterface _rdpInstance, Boolean _isPreviewData, Boolean , Boolean , Boolean ) in SrsReportRunRdpPreProcessService.executeWithContract.xpp:line 82
at Dynamics.Ax.Application.SrsReportRunRdpPreProcessService.@Executewithcontract(SrsReportDataContract _reportContract, Int64 _preProcessedRecId, SrsReportDataProviderPreProcessInterface _rdpInstance, Boolean , Boolean )
at Dynamics.Ax.Application.SrsReportRunRdpPreProcessService.Executewithcontract(SrsReportDataContract _reportContract, Int64 _preProcessedRecId)
at Dynamics.Ax.Application.SrsReportRunService.Prerunreport(SrsReportDataContract _reportContract) in SrsReportRunService.preRunReport.xpp:line 21
at Dynamics.Ax.Application.SrsReportRunImpl.Prerunreport() in SrsReportRunImpl.preRunReport.xpp:line 12
at Dynamics.Ax.Application.SrsReportRunController.Runreport() in SrsReportRunController.runReport.xpp:line 55
at Dynamics.Ax.Application.SrsReportRunController.Run() in SrsReportRunController.run.xpp:line 27
at Dynamics.Ax.Application.SysOperationController.Startoperation() in SysOperationController.startOperation.xpp:line 12
at Dynamics.Ax.Application.SrsReportRunController.Startoperation() in SrsReportRunController.startOperation.xpp:line 12
at Dynamics.Ax.Application.SysWorkflowApprovalWorkitemService.Generatereport(Int64 _configReportRecId, Int32 _contextTableId, Int64 _contextRecId) in SysWorkflowApprovalWorkitemService.generateReport.xpp:line 61
at Dynamics.Ax.Application.SysWorkflowApprovalWorkitemService.Getattachmentcontent(Int64 _docuRefRecId, Int64 _configReportRecId, Int32 _contextTableId, Int64 _contextRecId) in SysWorkflowApprovalWorkitemService.getAttachmentContent.xpp:line 38
at Dynamics.Ax.Application.SysEmailAttachment.generateAndSaveFileToDisk(Int64 _appConfigReportsRecId, Int32 _contextTableId, Int64 _contextRecId) in SysEmailAttachment.generateAndSaveFileToDisk.xpp:line 34
at Dynamics.Ax.Application.SysEmailAttachment.generateAttachment(String _workflowElementName, Int32 _contextTableId, Int64 _contextRecId) in SysEmailAttachment.generateAttachment.xpp:line 29
at Dynamics.Ax.Application.EventNotificationWorkflow.Sendmail(Boolean _isGlobalEmailTemplate, Boolean ) in EventNotificationWorkflow.sendMail.xpp:line 30
at Dynamics.Ax.Application.EventNotificationWorkflow.Create(Boolean _isGlobal, Boolean ) in EventNotificationWorkflow.create.xpp:line 31
at Dynamics.Ax.Application.SysEmailAttachment.Createeventnotification() in SysEmailAttachment.createEventNotification.xpp:line 1
at Dynamics.Ax.Application.SysEmailAttachment.Run() in SysEmailAttachment.run.xpp:line 10
at Dynamics.Ax.Application.SysEmailAttachmentNotificationBatch.Run() in SysEmailAttachmentNotificationBatch.run.xpp:line 18
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)"
Please advise how to resolve this issue.
Regards,
Akbar