Fire the Save Button

We are inputting Orders via Service Connect and OEP. And, we need to have the save button to fire post OEP in order for the BPM to do its thing. How do I do that?

Trace the process and Find the method fired from the button click then call the same method from Service Connect by passing required parameters.

1 Like
MainController.AppControlPanel.HandleToolClick(SaveTool, new Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(MainController.MainToolManager.Tools[SaveTool], null));
MainController.AppControlPanel.HandleToolClick(RefreshTool, new Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(MainController.MainToolManager.Tools[RefreshTool], null));

does a Save and Refresh inside a dashboard customization.

oTrans.Update();
oTrans.Refresh();
in a standard customization, like Order Entry

2 Likes

Hi Rie -

Quick question : will this snippet of code also work for a Configurator Design? I am trying to record calibration measurements to a table and would like an easier to see / use “Save” button for our crew.

Also, say hello to Jon for me!

  • Eric Kukielka

You could put a button on the screen and put oTrans.Update(); in a click event for the button. oTrans.Refresh(); would probably not be needed then.

I’ll mention that I ran across you to Jon :smiley: