AppSourceCop Error AS0061

Procedures must not subscribe to CompanyOpen events

Description

Procedures must not subscribe to CompanyOpen events because it can increase the login time for Dynamics 365 Business Central.

Remarks

To improve the login time for Dynamics 365 Business Central, extensions should no longer use the OnBeforeCompanyOpen and OnAfterCompanyOpen events. For more information, see Replacing OnBeforeCompanyOpen and OnAfterCompanyOpen.

See Also

AppSourceCop Analyzer
Get Started with AL
Developing Extensions