# Adding Materials to a Job - tries to change previously added material

**URL:** <https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225>\
**Category:** Epicor ERP 10\
**Tags:** job, jobmtl, e10, weirdness\
**Created:** [March 4, 2021, 1:57am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225 "2021-03-04T01:57:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![LBARKER](https://www.epiusers.help/user_avatar/www.epiusers.help/lbarker/32/31072_2.png) [@LBARKER](https://www.epiusers.help/u/LBARKER)\
**Post date:** [March 4, 2021, 1:57am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/1 "2021-03-04T01:57:55Z")

</div>

Hello,  
I have a really weird error happening…

When a user tries to add a material to a Job, as soon as they tab out of the part number field it will change the part number of the previously added material. (previous mtl seq)

If the previous material has a PO or has been Issued it will throw an exception saying that the part can’t be changed because it has PO or Issued

This only seems to be happening if it is an added material (a day or so after the job was initially set up)

---

<div class="post-metadata">

**Author:** ![LBARKER](https://www.epiusers.help/user_avatar/www.epiusers.help/lbarker/32/31072_2.png) [@LBARKER](https://www.epiusers.help/u/LBARKER)\
**Post date:** [March 4, 2021, 2:08am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/2 "2021-03-04T02:08:07Z")

</div>

Its as if the Job Material table is one line out of sync… is that even possible

---

<div class="post-metadata">

**Author:** ![Hally](https://www.epiusers.help/user_avatar/www.epiusers.help/hally/32/1263_2.png) [@Hally](https://www.epiusers.help/u/Hally)\
**Post date:** [March 4, 2021, 3:16am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/3 "2021-03-04T03:16:35Z")

</div>

Perhaps if a material was removed from the job, then added again. I have seen instances (just can’t remember that they sequence numbering goes out of wack if lines are deleted. It might even be order releases).

Are you sure there are no customisations on that form or bpms on the validation method, that might exist for the job. Perhaps there’s a Pre-JobUpdate or similarly.

If it’s only happening for one user, then I’d be starting with a clear client cache.

Missed the testing bit… Definitely check for BPMs and code.

---

<div class="post-metadata">

**Author:** ![LBARKER](https://www.epiusers.help/user_avatar/www.epiusers.help/lbarker/32/31072_2.png) [@LBARKER](https://www.epiusers.help/u/LBARKER)\
**Post date:** [March 4, 2021, 3:42am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/4 "2021-03-04T03:42:46Z")

</div>

It’s happening to multi users, the jobs havn’t had mtl’s deleted…

Done the standard CCC and restarts…

I’ve just re-visited any BPM’s related to Job Entry and opened them to see if I could see any problems, I didn’t make any changes but when I tried the process again it worked without error

I’ll monitor to see if it keeps happening

---

<div class="post-metadata">

**Author:** ![Hally](https://www.epiusers.help/user_avatar/www.epiusers.help/hally/32/1263_2.png) [@Hally](https://www.epiusers.help/u/Hally)\
**Post date:** [March 4, 2021, 3:43am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/5 "2021-03-04T03:43:47Z")

</div>

Glad to hear it.

---

<div class="post-metadata">

**Author:** ![LBARKER](https://www.epiusers.help/user_avatar/www.epiusers.help/lbarker/32/31072_2.png) [@LBARKER](https://www.epiusers.help/u/LBARKER)\
**Post date:** [March 5, 2021, 1:45am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/6 "2021-03-05T01:45:07Z")

</div>

Arrghhh, it’s still happening!!!

Has anyone got any ideas??

---

<div class="post-metadata">

**Author:** ![Marvin\_Horst](https://www.epiusers.help/user_avatar/www.epiusers.help/marvin_horst/32/19800_2.png) [@Marvin\_Horst](https://www.epiusers.help/u/Marvin_Horst)\
**Post date:** [March 10, 2021, 2:54am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/7 "2021-03-10T02:54:15Z")

</div>

You could turn tracing on with all the Server options checked. Something may turn up there.

You may find Jose’s wonderful trace helper utility helpful in analyzing the trace logs.

> [@Trace Helper Utility for Epicor ERP 10](https://www.epiusers.help/t/trace-helper-utility-for-epicor-erp-10/58018):
>
> So we’ve been working on a little utility to help parse the Epicor Trace Files and make development a little easer. Here is a walk through [[Epicor Trace Parser / Differ] ](https://www.youtube.com/watch?v=s2LDj17ohk4) Below is some more info on how to use it. The most important but is how you setup your Trace. Your trace should be setup as shown [image] I know we (most of us) normally say “Track Changes Only” but this is big bold lie, it shows us what has changed in the data-set (even stuff we haven’t manually changed). This t…

---

<div class="post-metadata">

**Author:** ![Hally](https://www.epiusers.help/user_avatar/www.epiusers.help/hally/32/1263_2.png) [@Hally](https://www.epiusers.help/u/Hally)\
**Post date:** [March 10, 2021, 8:37am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/8 "2021-03-10T08:37:15Z")

</div>

@LBARKER  
Any chance you could do a short video capture of the behaviour. The other thing to ask, are there any default dialogs disabled? (You know in the Tools/Options menu item)

---

<div class="post-metadata">

**Author:** ![LBARKER](https://www.epiusers.help/user_avatar/www.epiusers.help/lbarker/32/31072_2.png) [@LBARKER](https://www.epiusers.help/u/LBARKER)\
**Post date:** [March 10, 2021, 10:24am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/9 "2021-03-10T10:24:33Z")

</div>

Fingers crossed… I’ve just regen’ed the DB, it seems to have solved it for now

---

<div class="post-metadata">

**Author:** ![Hally](https://www.epiusers.help/user_avatar/www.epiusers.help/hally/32/1263_2.png) [@Hally](https://www.epiusers.help/u/Hally)\
**Post date:** [March 10, 2021, 10:40am UTC](https://www.epiusers.help/t/adding-materials-to-a-job-tries-to-change-previously-added-material/76225/10 "2021-03-10T10:40:44Z")

</div>

Just sent you an email sorry.
