BPM To Populate a Field on End Labor Activity

We have been asked to pre-populate the notes field on the End Labor Activity form under certain conditions. This field is populated by LaborDtl.LaborNotes (table.column). We want the field to be pre-populated only when the LaborDtl.DiscrpRsnCode becomes populated. This happens when the Reason… button next to the Non-Conform Qty button is clicked and a reason code is selected.

We have tried using a trace to see if a bo call to reason codes or something similar happens on that button click. Unfortunately, we do not see it in our trace. Is there something we are missing that we can hit off of in this instance?

We want to avoid customizations to the module/form.

@dgreenEA This is in the BO file from epicweb, I would put an info message on it to see if it does fire and possibly use it post processing to carry the data to end activity.

Below worked for me after doing a quick test. It’s a Labor.Update.Pre BPM:

image

Dragos

3 Likes

Where do you get that BO reference file?

ERP Business Objects Reference

You can also search for “bo ref” on Epic web to find the file corresponding to your ERP version.

2 Likes

Thanks…I’ve been working with Epicor for 2 years and had no idea this reference even existed.

That is the link i used and 10.2.700 was the latest I have found. Just browsing thru the search results from EpicWeb can reveal some nice documents.

2 Likes

@gpayne and @Dragos,

Thanks for the quick replies. I tried both the Labor.DefaultDiscrpRsnCode and the Labor.Update pre-process options. Both of these populate the table field after the labor transaction has been closed. It does not seem to populate the Note’s section before the user can start typing.

Is there a way to get this to populate before the user types?

@dgreenEA Did you try post processing on the DefaultDiscrpRsnCode? I would think that was the best shot as post is going from server back to the client.

You may have to also use the dsHolder.Attach(ds) to refresh the screen.