Comments
I am looking for similar functionality, more or less the same as what c# can do with inheritance and polymorphism. At the moment I do have a need to inherit from a base codeunit with different functionality.Similar to creating an interface but I just want to have the unique code in each interface implementation, and reuse base procedures instead of copy code.Question on heritage between codeunits, From Christian.This should be possible to create if we could inherit all functionality from one codeunit from its parents, and that way we should also be able to lock different functions not to be overwritten by child codeunits.example;Codeunit 50001 : Parent...procedure Name() : Textbegin ... code ...end; Codeunit 50002 : Child base Parent...procedure override Name() : Textbegin ... other code ...end;It would also be nice to add private/public/protected variables to codeunits.
We had this requirement several times in the past and more and more of our customers request to quote prices from suppliers and subcontractors which haven't been registered as a Vendor in Business Central, yet. This feature would help us significantly to keep discussions and workarounds or even customizations away from our ERP implementation projects.
In practice, it is essential for operations that subcontractor requests and requests for quotation can be sent to companies that are not yet registered in the system or do not have creditor status. This functionality would significantly enhance our efficiency and flexibility. Therefore, I believe it should be possible to send requests directly to individual contacts, ensuring that we can engage with potential partners and suppliers without being limited by their registration status.
