Skip to main content
Answer

How to set Graph Extensions Loading Priority

  • April 20, 2023
  • 4 replies
  • 165 views

aaghaei
Captain II
Forum|alt.badge.img+10

Hello Community,

Does anyone know how to prioritize loading the extensions? Let's say I have two or more extensions on a base graph. How we can educate the platform on which one should be executed first and which one next? 

or necessarily I should declare my Graph Extensions hierarchical? For example, if I have a MyExtA that has priority over MyExtB I should do 

public class MyExtA : PXGraphExtension<BaseGraph> {}

public class MyExtB : PXGraphExtension<MyExtA , BaseGraph> {}

Best answer by Naveen Boga

Hi @aaghaei  Can you please refer to the below guide → Page No: 103 and hope this helps

 

https://www.acumatica.com/media/2020/02/AcumaticaERP_CustomizationGuide.pdf

4 replies

aaghaei
Captain II
Forum|alt.badge.img+10
  • Author
  • Captain II
  • April 20, 2023

@Dmitrii Naumov @Yuriy Zaletskyy 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • Answer
  • April 21, 2023

Hi @aaghaei  Can you please refer to the below guide → Page No: 103 and hope this helps

 

https://www.acumatica.com/media/2020/02/AcumaticaERP_CustomizationGuide.pdf


aaghaei
Captain II
Forum|alt.badge.img+10
  • Author
  • Captain II
  • April 21, 2023

Thank you @Naveen Boga 

 

I read through and it confirms my second thought from my initial post that we have to add the extensions hierarchically when defining the extension as a parameter(s).


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • April 21, 2023

Yes, @aaghaei  That is correct !! :)