Solved

What is PXNonInstantiatedExtension ?

  • 15 December 2023
  • 2 replies
  • 47 views

Userlevel 3
Badge

When use PXNonInstantiatedExtension. How to use it ?

icon

Best answer by Naveen Boga 15 December 2023, 05:41

View original

2 replies

Userlevel 7
Badge +17

@kevinheng21  

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!!

Userlevel 5
Badge +1

Hi @kevinheng21 ,

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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved