web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Export BP to excel

(0) ShareShare
ReportReport
Posted on by 240

Hi All,

I have a scenario where I need to export the best practice list to excel or a html file in AX 2009. I tried using sysCompilerOutput::exportLog but it is exporting all(warnings,errors and BP's).

Is there any other way to achieve this.

Thanks.

I have the same question (0)
  • Crispin John Augustine Profile Picture
    37,081 on at

    1. Try to make use of a small job to run a best practice check.

    2. Results are stored in templorary table TmpCompilerOutput

    3. Filter only TmpCompilerOutput.SysCompilerOutputTab == SysCompilerOutputTab::BestPractices

    and export them in your desired format.

    (Note: you have to use the SysCompilerOutput class to access data from TmpCompilerOutput)

  • venkates Profile Picture
    240 on at

    Hi Crispin,

    I am using the below code.

    projectNode.AOTcompile();

       sysCompileroutput = infolog.compilerOutput();

       tmpCompilerOutput = sysCompileroutput.compilerOutput();

    but I am not getting any buffer in tmpCompilerOutput. If I get buffer I will use it to store the BP deviations in a separate table. What could have been wrong here as I could not find the issue that cause buffer to be 0.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans