Notifications
Announcements
No record found.
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.
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)
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader