Hi there,
In a customization in Quote Entry I’m adding a new subassembly via oTrans.GetNewSubAssembly().
The assembly record gets added okay, and then I try to add operations on it.
I’m using oTrans.GetNewJobOper() to create the new operation record. Epicor adds it on Assembly 0, rather than my newly created assembly 1.
Assembly 1 is the edvCurrAsm current data row. It seems that the jobtree sets the current assembly for GetNewJobOper, and at this point I have not clicked on assembly 1 to set whatever value the method is looking for. I can click on assembly 1 and then separately add the operations, but for a more complex MOM that will be unworkable.
I have this working in the customization:
private void jobTree_BeforeShowContextMenu1(object sender, Ice.Lib.Framework.JobLib.MethodTree.NodeArgs e)
{
MessageBox.Show("in jobtree");
}
It fires when I click or right-click.
I’ve been unable to figure out the arguments to display them. And the MessageBox interferes with operation.
Is there a way to execute a click on the jobtree in the same manner we can generate a tool click on the form’s tool bar? How might I look at the arguments for the code above?
Thanks,
Joe