I wanted to touch base with you regarding some recent developments in my work. I took the class ‘DocPrintJournalController’ as a reference and created new classes within my model. Before moving forward, I wanted to confirm if there could be any potential issues with future releases or updates. Your insight would be invaluable in ensuring that everything aligns smoothly with upcoming changes.
Thank you for your guidance and support. Looking forward to your feedback.
I could not extend the Docentric class because the framework did not allow me to extend it , however i took a copy of the class to our own model and Modified the code to match the requirements
Copying a class into your own model and modifying it is generally not recommended, as it can create maintenance challenges. Any future changes made to the original class will not be reflected in your copied version, which may require manual rework during upgrades.
We strongly recommend using inheritance/extensions wherever possible. If the framework prevents extension, then an alternative extension approach may be required.
Without reviewing your specific implementation, we can’t provide further guidance. However, please be aware that maintaining a copied version of a class means you assume responsibility for testing and alignment during each upgrade of D365FO and Docentric.