When use PXNonInstantiatedExtension. How to use it ?
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!!
Hi
PXNonInstantiatedExtension
in Acumatica lets you add extra features to data items without needing to create separate instances for each feature. It's a way to extend data structures without having to create separate copies for each extension.
Hope this helps.!
Regards,
Sagar
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.