Skip to main content
Answer

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

  • December 2, 2022
  • 3 replies
  • 160 views

Forum|alt.badge.img

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

 

 

Best answer by Dmitrii Naumov

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

 

3 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • December 2, 2022

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

 


Forum|alt.badge.img+7
  • Captain II
  • December 2, 2022

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.


Forum|alt.badge.img

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