MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner...

Preview:

Citation preview

MorphX Best PracticesMicrosoft DynamicsTM AX 4.0

Michael Fruergaard PontoppidanPartner Productivity – Microsoft Dynamics AXTM 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

Defect removal

Time saved

Risk of extra cost

Risk of extra cost

Defect introduction

Defect removal

Time 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(<errorcode>);

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.

Recommended