Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition
by Simon Buxton
How it works...
This may seem like a lot of effort, and since we only have one actual useful method on the handler class, it seems excessive. If we were to use a building metaphor, We can add windows, change decor, partition the floors differently later, but we can't add a basement garage; the data structures and associated structure of the business logic are akin to the foundations of a building. If we write it in a flexible, albeit quicker-to-write, manner in the beginning, our solution is naturally less flexible later. By writing the code in this way, we lay the groundwork, should a change to the underlying business logic be required later. When we hear the phrase "The customer will never ... " to justify coding business rules in code ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access