When use PXNonInstantiatedExtension. How to use it ?
What is PXNonInstantiatedExtension ?
Best answer by Naveen Boga
In Acumatica, PXNonInstantiatedExtension
is a class that allows you to create an extension without instantiating it during the graph initialization process. When you create an extension for an Acumatica graph, by default, an instance of that extension is created during the graph's initialization. However, there might be scenarios where you want to control when the extension is instantiated.
By inheriting from PXNonInstantiatedExtension
, you can defer the instantiation of the extension until it is explicitly requested. This can be useful when you want to optimize performance by avoiding the creation of extensions until they are actually needed during the processing of a specific action or event.
Hope this information helps!!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.