Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory). The record has never been selected.

Posted on by 245

Good Day

Please assist with the problem I am experiencing when running the Budget account detailed history report

I get the following error:Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory).
The record has never been selected.

Regards

Angel AX

*This post is locked for comments

  • Anton Venter Profile Picture
    Anton Venter 18,783 Super User 2024 Season 2 on at
    RE: Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory). The record has never been selected.

    Hi Angel AX,

    Use the debugger to debug the code and find the cause.

  • AngelAX Profile Picture
    AngelAX 245 on at
    RE: Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory). The record has never been selected.

    Dear Anton

    Thank you for your response and yes this is a customised report. I checked eventviewer and below is what I see.

    An error has occurred during report processing. (rsProcessingAborted)

    An error has occurred during report processing. (rsProcessingAborted)

    Microsoft.Reporting.WinForms.ReportServerException

      at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)

      at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)

      at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)

      at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()

      at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()

      at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)

    Query execution failed for dataset 'BudgetControlAccountDetailHistoryDS'. (rsErrorExecutingCommand)

    Microsoft.Reporting.WinForms.ReportServerException

    An exception occurred in the query metadata execution. The exception is Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory).

    The record has never been selected..

    Microsoft.Reporting.WinForms.ReportServerException

    Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory).

    The record has never been selected.

    Microsoft.Reporting.WinForms.ReportServerException

    Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory).

    The record has never been selected.

    Microsoft.Reporting.WinForms.ReportServerException

    Regards

    Angel AX

  • Anton Venter Profile Picture
    Anton Venter 18,783 Super User 2024 Season 2 on at
    RE: Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory). The record has never been selected.

    Hi AngelAX,

    This error usually happens when the update method is called on "empty" record buffer. This usually indicates custom code. Are there any customisations for this report? Use the debugger to debug the code see what is going on.

  • AngelAX Profile Picture
    AngelAX 245 on at
    RE: Cannot edit a record in Budget control account detail history (BudgetAccountDetailTmpHistory). The record has never been selected.

    Good Day

    This only happens after I have released a PR into creating a PO.

    Prior to the above step the report works.

    Regards

    Angel AX

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans