Solved

On a Process Form Can I call the Action from the graph I am calling in the Process Form?

  • 2 December 2022
  • 3 replies
  • 102 views

Userlevel 3
Badge

I have code to access a graph on a process from, nothing interesting about that because every process for does that.  But I am trying to call an Action Button on the Graph and seem to have a problem referencing

I am trying 

graphreference..ActionsMenuItem.PressButton.TemplateName()

or 

graphreference..ActionsMenuItem.Press.TemplateName()

of

graphreference..Actions.TemplateName()

 

and No dice. These seem to reveal the local (process) forms Actions

 

 

icon

Best answer by Dmitrii Naumov 2 December 2022, 17:53

View original

3 replies

Userlevel 7
Badge +5

Well, I guess it should be something like graphreference.TemplateName.Press()

 

Userlevel 7
Badge +5

Does your PXAction method have code that should be moved to a public method? Then your PXAction and processing form would call that same method.

Userlevel 3
Badge

Wow that was simple, thanks Dmitri (it was templatename.press()) 

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