The functions in Microsoft Dynamics AX can be categorized into three basic
groups:
• Data entry/queries
• Reporting
• Data manipulation
Data entry/queries are implemented by developing forms, reporting is
implemented by reports and data manipulation is implemented by classes.
The RunBase class is an abstract class which defines a common structure for all
data manipulation functions in Microsoft Dynamics AX. Using this framework
has the following advantages:
• The framework ensures that all updates are structured equally.
• Sharing common code through inheritance.
• A common dialog layout and functions for all updates.
• Automatic "memory" of the user selections from last run.
• Easy implementation of batch execution (when using child class,
RunBaseBatch).
• Built-in support for common tasks like query criteria selection and
progress bar.
The following task is an example of data manipulation:
• The user is prompted to enter a customer account and a period
specified by a from date and a to date.
• The data manipulation sums up all customer transactions specified
by the account and period.
• The sum is presented in the infolog.
NOTE: The Business Operation Framework (BOF) is a new way to build
operations and take advantage of services and CIL execution. RunBase continues
to be a supported pattern for Microsoft Dynamics AX 2012.
When building new operations that need to be used interactively and from batch,
the BOF should be used.
More information about the BOF can be found here:
What's New: Services & AIF for Developers in Microsoft Dynamics AX 2012 -
http://go.microsoft.com/fwlink/?LinkID=224714&clcid=0x409
Business Operations Framework (BOF) -
http://go.microsoft.com/fwlink/?LinkID=224713&clcid=0x409
Best Regards,
Hossein Karimi
RunBase Framework
Hossein.K
6,642
*This post is locked for comments