Pages

How to create custom best practices in Dynamics AX

Previous Post : Best Practices in Dynamics AX


The X++ Best Practices tool allows us to create our own set of rules. The classes used to check for rules are named SysBPCheck<ElementKind>. You call the init, check, and dispose methods once for each node in the AOT for the element being compiled.

Best practices in Microsoft Dynamics AX




Microsoft Dynamics AX development environment includes Best Practice Tools which checks the code for best practice and generate error, warning and information messages according to severity. We have similar tool like this in Microsoft .NET Framework named as FxCop and for C and C++ we have Prefix and PREfast. The Best Practices tool runs with the compiler, and we can see the results on the Best Practices tab of the Compiler Output dialog box.