Book Image

Microsoft Dynamics AX 2012 R2 Services

Book Image

Microsoft Dynamics AX 2012 R2 Services

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R2 Services
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. The SysOperation Framework

The SysOperation framework is new in Microsoft Dynamics AX 2012 and is the preferred way to create batch jobs. It replaces the RunBase and RunBaseBatch frameworks, which remain available for backward compatibility. When Microsoft Dynamics AX 2012 was released, the SysOperation framework was known as the Business Operation Framework (BOF).

The SysOperation framework provides all of the functionality of the RunBaseBatch framework and more. In this chapter, we will discuss the differences between these frameworks and point out the benefits of the SysOperation framework.

The following topics are covered in this chapter:

  • SysOperation versus RunBaseBatch: In the previous versions of Microsoft Dynamics AX, the RunBaseBatch framework was the preferred way to create business logic that should run in batches. By comparing RunBaseBatch and SysOperation, we will show you that using SysOperation is the way to go in Microsoft Dynamics AX 2012.

  • Creating a SysOperation...