Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition

You're reading from  Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition

Product type Book
Published in Mar 2020
Publisher Packt
ISBN-13 9781838643812
Pages 534 pages
Edition 2nd Edition
Languages
Author (1):
Simon Buxton Simon Buxton
Profile icon Simon Buxton

Table of Contents (17) Chapters

Preface Starting a New Project Data Structures Creating the User Interface Working with Form Logic and Frameworks Application Extensibility Writing for Extensibility Advanced Data Handling Business Events Security Data Management, OData, and Office Consuming and Exposing Services Unit Testing Automated Build Management Workflow Development State Machines Other Books You May Enjoy

Creating a SysOperation process

This framework provides a simple method to allow us to write routines that can be synchronous or asynchronous with no further effort to allow this to happen.

The complexity in creating a routine that is run in a batch process is how to store the various parameters that the routine may require. This was done in the previous version using the RunBaseBatch framework. This older framework stored this data in a loosely typed blob, and required special handling should the developer add or change the parameters. It had other problems, including the fact that the data and process were tightly coupled.

The SysOperation framework provides a new and simpler way to create processes. It decouples the data (or parameters) from the process by using a data contract. The data contract is a class that is the parameter for the entry point to the class that performs...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}