How to programmatically call the "Create Jobs" button on Order Entry program in Epicor 10?

I’ve never dealt with it, but if the intention is just to call that on save, it should be straight forward (assuming there are no repercussions for calling it when unneeded - for example, user clicks save multiple times)

//on save (get this even either from the toolclick or by after adapter method Update
Find the guid of the button.
var myButton = (EpiButton)csm.GetNativeControlReference(“The guid here”);
myButton.PerformClick();

1 Like