Update multiple rows in grid

Yeah, I don’t know enough about how the co-part functionality all works to be able to be of much more assistance.
It’s a long shot, but maybe this thread has some insight? Automation of Start and End Labor Activities with Job Batching and Co-Parts - Epicor ERP 10 - Epicor User Help Forum

This actually looks very promising, thank you for this find!! I will work with this and see what I can come up with. Hopefully will be a lot easier to manipulate the Time Entry data instead of MES data.

Update: After a very long week…IT WORKS! Added a little video showcasing it. It is not exactly how I want it, but beyond relieved to see the qtys pulling through.

I essentially used the elements from Automation of Start and End Labor Activities with Job Batching and Co-Parts - Epicor ERP 10 - Epicor User Help Forum and applied it to a Function.

The only weirdness is that for testing, I had a BPM running on the GetNewReportQty to see what responses are given. My Function only works with this BPM on, even though the Function is doing the same thing as the BPM. I guess since I called that method in my Function, it is applying the post-process, which I think is helping in getting the correct data. Honestly not fully quite sure why it is like this, but I won’t complain because it is working. :face_with_hand_over_mouth:

2 Likes

Sweet! Happy to hear you got it working!!

1 Like

I do have one last question if you are able to answer. Trying to make this fully automated, and have it run after they clock out on End Activity. I have a Post Processing BPM on Labor.Update but I need the BPM to only run at the end of the full transaction. The method fires on Start Production as well.

Any tips into doing this? Overall idea is this:

-User Starts Production. Labor.Update fires when Ok is pressed. NO QTY UPDATE

-User Ends Activity. Labor.Update fires when Ok is pressed. QTYS UPDATE

Right now the QTY UPDATE is happening at both methods.

Try a post on Labor.EndActivity.

The Post on End Activity happens on when the page loads in, which would still be in the “middle” of the transaction. I need it to basically be on page close. I will keep playing with it. You have helped me more than enough, so I won’t keep bugging with questions. Thank you very much for all the help on this!

1 Like

You should do a trace in classic.
See what the order of ops is. It would be easier than guessing.