# Leadtime default BPM

**URL:** <https://www.epiusers.help/t/leadtime-default-bpm/99900>\
**Category:** Kinetic ERP\
**Tags:** lead-time, leadtime, bpm\
**Created:** [February 25, 2023, 9:27pm UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900 "2023-02-25T21:27:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [February 25, 2023, 9:27pm UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/1 "2023-02-25T21:27:25Z")

</div>

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](https://www.epiusers.help/uploads/default/original/3X/2/f/2f4a9c0f92d2f287e589816fe169691f92098e16.png)

---

<div class="post-metadata">

**Author:** ![zwilli526](https://www.epiusers.help/user_avatar/www.epiusers.help/zwilli526/32/50966_2.png) [@zwilli526](https://www.epiusers.help/u/zwilli526)\
**Post date:** [February 25, 2023, 9:40pm UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/2 "2023-02-25T21:40:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [February 25, 2023, 9:44pm UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/3 "2023-02-25T21:44:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [February 25, 2023, 9:55pm UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/4 "2023-02-25T21:55:33Z")

</div>

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

Boom problem solved. Thank you!

---

<div class="post-metadata">

**Author:** ![klincecum](https://www.epiusers.help/user_avatar/www.epiusers.help/klincecum/32/100137_2.png) [@klincecum](https://www.epiusers.help/u/klincecum)\
**Post date:** [February 26, 2023, 12:17am UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/5 "2023-02-26T00:17:50Z")

</div>

> [@carguy](#):
>
> Base and Pre wouldn’t work.

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

---

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [February 26, 2023, 12:45am UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/6 "2023-02-26T00:45:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![klincecum](https://www.epiusers.help/user_avatar/www.epiusers.help/klincecum/32/100137_2.png) [@klincecum](https://www.epiusers.help/u/klincecum)\
**Post date:** [February 26, 2023, 12:49am UTC](https://www.epiusers.help/t/leadtime-default-bpm/99900/7 "2023-02-26T00:49:02Z")

</div>

> [@carguy](#):
>
> I was just thrown into Epicor

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