Planning the number of extensions to code

As we mentioned in Chapter 5Developing a Customized Solution for Dynamics 365 Business Central, extension A cannot reference objects and methods exposed by extension B. This is only possible if extension A explicitly declares a dependency on extension B.

When moving an existing solution to extensions, you have two main choices:

  • Create a single monolithic extension
  • Create N dependent extensions

Let's explore these concepts in more detail.

A single monolithic extension is an easier choice since developers don't have to think about independent modules. Instead, they just create all the objects and business logic in a single giant AL extension project. In the end, there will be a single .app file ...

Get Mastering Microsoft Dynamics 365 Business Central now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.