9
MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation SCREENCAST

MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

Embed Size (px)

Citation preview

Page 1: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

MorphX Best PracticesMicrosoft DynamicsTM AX 4.0

Michael Fruergaard PontoppidanPartner Productivity – Microsoft Dynamics AXTM Microsoft Corporation

SCREENCAST

Page 2: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

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

Page 3: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

Static code analysis tools

Page 4: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

Defect removal

Time saved

Risk of extra cost

Risk of extra cost

Defect introduction

Defect removal

Time Time

Page 5: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

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

Page 6: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

AX succes story

Source date 1st of April 2004

• AX 4.0 shipped with

0 compiler warnings

0 BP errors

Page 7: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

Suppressing Best Practice Deviations• Design time

//BP Deviation Documented SysBpCheckIgnore macro

• Run time SysBpCheck::ignore(<errorcode>);

Page 8: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

Creating new rules

• Best Practice tool implementation In X++ in SysBPCheck* elements Fully customizable/extensible

Page 9: MorphX Best Practices Microsoft Dynamics TM AX 4.0 Michael Fruergaard Pontoppidan Partner Productivity – Microsoft Dynamics AX TM Microsoft Corporation

© 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.