MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation SCREENCAST
Best Practices in MorphX Two components SDK Documentation Throughout documentation of all best practices When printed >200 pages Static code analysis tool Verifies <50% of all best practices
Static code analysis tools C/C++C/C++ CompilerPREfast PREfix C#C# CompilerFX Cop X++X++ Compiler
Defect removal Time saved Risk of extra cost Defect introduction Defect removal Time
Best Practice Check Tool in MorphX Contains ~350 rules Model definitions Source code (X++) Severity Errors Unacceptable! Warnings 95/5 rule Infos Useful info Integrated with X++ compiler Integrated with check-in system
AX succes story Source date 1st of April 2004 AX 4.0 shipped with 0 compiler warnings 0 BP errors
Suppressing Best Practice Deviations Design time //BP Deviation Documented SysBpCheckIgnore macro Run time SysBpCheck::ignore( );
Creating new rules Best Practice tool implementation In X++ in SysBPCheck* elements Fully customizable/extensible
© 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.