Hello, I am trying to set up a Method Directive that will launch a BPM form I have created when a new line is created however I am not sure what method to put the actual directive on.
I thought it would be the GetNewShipDtl but that did not appear to be the one to use and would now like to request some help if anyone knows what method I should be using or if there is a better way to do this.
It depends on whether you want the form to show when you are creating a new line, or when you are saving the new line.
The best way to figure out which method, is to turn on trace logging, then do the think you want to trigger it… then look at the log. You will see the business objects appear in the log. THEN you can do a test BPM that simply displays something to make sure that you are in the right place before doing the rest of the work.
Sure, currently after creating a new line we need to enter the order number, then the order line, then the order release and at that point some additional info is populated by epicor such as part number etc.
However we would like to be able to enter our job number which is a ######-##-## value with each segment being the order number, line, and release and have it use that to do the rest of the functions.