O'Reilly logo

Mastering Microsoft Dynamics AX 2012 R3 Programming by Mat Fergusson, Simon Buxton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Extending a framework – vendor electronic payments

The electronic payments framework is designed to be extended, and when we dive into this framework, we can see that a lot of thought went into its design.

The first part of the problem that the designers faced was how to construct a specialized class that exports the required format. Since Dynamics AX is a global ERP solution, there can be many of these formats.

A common solution would be to use an enum, with an element for each format. We could use this enum within the user interface to configure which format to use, and also within code in order to construct the appropriate class. This is how the PurchLineType constructs its various specialized classes.

The problem is that this would require a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required