Recently I had a chance to work with Dependency Injection in Acumatica ERP. I want to share how it works and how one can use it. Let’s assume that we have a REST Service, which we want to inject into Sales Order Entry and work with it using Actions. First, we need to create interfaces that we will use for injecting the implementations into the Sales Order Entry. Now we can add the implementations of the interfaces : and The final step will be to register our implementations with Autofac, which is done by defining an Autofac Module and overriding the Load method: Now we can inject our types into… Read more
Dependency Injection in Acumatica ERP
Posted on