Tag: Interface

How to Implement Interface in Business Central

With the release of Business Central Wave 1 2020 new feature was introduced called 'Interface'. It is basically syntactical contract that can be implemented by a non-abstract method. This allows for writing code that reduces the dependency on implementation details, makes it easier to reuse code. Today we will see how to write an interface … Continue reading How to Implement Interface in Business Central

Events vs Interface :- Business Central

While working on new baby 'Interface' identified few difference between Events and interface. EVENTSINTERFACESelect Events to Subscribe. Subscription optional.All Methods are mandatory defined in interface code unit and need to implement allUsed to react Used to Invoke.Extensibility for few methods or functionsExtensibility for many methods.All Subscribers are invokedOnly single code unit is invoked.Can Invoke Interface.Can … Continue reading Events vs Interface :- Business Central