Leadtime default BPM

Trying to set lead times for parts with a BPM.

It sets it but on refresh of the part page it doesn’t seem to hold the value. It just reverts back to the inital value.

When I set it manually, it holds the value.

Am I missing something?

Got tired of it not working so it’s really simple. I only have the field setter in the BPM at the moment.

image

Data or Method Directive?

If it’s a pre-processing method directive it’s possible that there is something in the BOs base logic that resets the value. Technically when you add a new part l, the part plant record hasn’t been created until after the first update.

I personally tend to use a data directive to set default PartPlant values. Add a condition statement so that it only fires when the record is added.

1 Like

Method directive. Post processing.

Base and Pre wouldn’t work.

I was gonna try data directive next. I had it all setup on conditions but it wouldn’t work so I ripped all that out.

The solution was to do a “in-transaction” data directive.

Boom problem solved. Thank you!

1 Like

Just so you know, never do a base unless you want to completely replace the default logic.

1 Like

Good to know. I was just thrown into Epicor when I started with it years ago now. Still everyday, feel like I barely know it.

There was never a outline of how all these things work. So I just figure things out.

I know there is the application manual but I don’t even know how much of the customization stuff is covered.

1 Like

Same. Never had time to read the docs. Don’t have to with all the wealth here now :rofl: