Hi everyone,
I have developed a Business Central extension with multiple functionalities (custom tables, pages, codeunit, and reports), and it’s already deployed in production as a single PTE (Per-Tenant Extension). Now, I’m planning to split this extension into multiple smaller extensions for better modularity and maintainability.
I have a few concerns:
- Data Impact – If I move tables or fields to a new extension, how do I ensure data is preserved?
- Upgrade Path – What’s the best way to use
DataUpgrade
codeunits to migrate or copy existing data from the original extension to the new one? - Dependencies – How should I manage inter-extension dependencies properly, especially if one extension still relies on functionality from another?
- App Uninstall Risks – If I uninstall the old extension after splitting, will it cause data deletion even if the tables now exist in a new app?
Has anyone done this before? Any tips, pitfalls, or recommended practices would be appreciated.
This is urgent so anyone can help would be appreciated.
Thanks in advance!