# MRP creates jobs with prod qty = 0

**URL:** <https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680>\
**Category:** Epicor ERP 10\
**Tags:** customization\
**Created:** [February 13, 2024, 6:13am UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680 "2024-02-13T06:13:21Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [February 15, 2024, 5:39pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/21 "2024-02-15T17:39:58Z")

</div>

No we aren’t using AUOM.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [February 15, 2024, 5:47pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/22 "2024-02-15T17:47:02Z")

</div>

If JobHead.ProdQty is actually a summation of JobProd records and has a ProdQty of 1, that would tell me that the JobProd record(s) is/are being deleted?

Your second comment sounds more to the point. It seems that something is breaking in the process between the JobHead record having been created and the creation of a subsequent JobProd record.

---

<div class="post-metadata">

**Author:** ![jtownsend](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@jtownsend](https://www.epiusers.help/u/jtownsend)\
**Post date:** [February 15, 2024, 5:55pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/23 "2024-02-15T17:55:03Z")

</div>

JobHead record is being created successfully as far as I can tell. If there was a problem there, the whole job wouldn’t exist since the child records would have nothing to attach to. And yes, ignore JobHead.ProdQty. ProdQty is recalculated on any change to JobProd. So if the system tried to write to JobProd, and then that failed, it could still trigger the system to recalculate the JobHead field (resulting in zero qty on the header).

The focus on your investigation should be why JobProd record isn’t being written by MRP. In fact, I’d try to see if I can manually trigger a write failure to JobProd (via client, Function, or even DMT (though DMT & UBAQ uses UpdateExt so results might not be applicable to MRP).

@jkane’s suggestion of going down the next level to the DB is also a good idea. Just make sure whatever method you use works even in the case of rollbacks, as some kind of rollback would explain what we’re seeing here.

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [February 15, 2024, 5:57pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/24 "2024-02-15T17:57:23Z")

</div>

If you are on prem and have someone who understands SQL, I am sure you could get a log of what is happening to the table in SQL instead of Epicor.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [February 15, 2024, 8:19pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/25 "2024-02-15T20:19:30Z")

</div>

@jtownsend I agree on all points. I think a SQL trigger is probably a good idea as well. I am going back to Texas and be out of pocket for the weekend, leaving tonight and returning next Tuesday. I will be taking this back up then. Thank you for your input thus far.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [February 15, 2024, 8:48pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/26 "2024-02-15T20:48:01Z")

</div>

@jkane I am the SQL guy here. 🙂 Between setting up a trigger on record deletion and/or setting up a logger, both are good suggestions. I will be looking into this more when I get back. Thanks for the suggestion(s).

---

<div class="post-metadata">

**Author:** ![eeaquino](https://www.epiusers.help/user_avatar/www.epiusers.help/eeaquino/32/47134_2.png) [@eeaquino](https://www.epiusers.help/u/eeaquino)\
**Post date:** [February 15, 2024, 9:10pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/27 "2024-02-15T21:10:21Z")

</div>

This issue normally happens when JobProd gets out of Sync from JobPart/JobHead. Essentially JobProd records for MRP jobs are not deleted properly and when MRP tries to create a Job with the same MRP number it fails since the Part Numbers do n ot match and leaves the Job with 0 Qty.

Epicor has a Fix, contact support and ask for the fix, the name referenced by the fix was CR36561MPS, if you are using the inspection module you also need to clear the remaining items from JobOperInsp (If you don’t you will get an error when MRP tries to copy the BOM), fix for that is CR7330BRK.

---

<div class="post-metadata">

**Author:** ![jahillis](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/b487fb/32.png) [@jahillis](https://www.epiusers.help/u/jahillis)\
**Post date:** [February 16, 2024, 8:09pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/28 "2024-02-16T20:09:52Z")

</div>

Do you have recycle MRP jobs turned on during your MRP run? I have seen this do a similar behavior in the past. Essentially the recycle MRP jobs removes most of the job data except some of the top level tables, it is possible that it is not clearing out all of the data. The feature itself was useful back in the day, but since the new framework I haven’t seen a significant performance improvement with turning it on. Also it would be good to verify that your start date and end date(if used) are set to a dynamic value if run in a schedule this can also cause issues with the results especially when your end date is set before today and historical dates are turned off.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [February 27, 2024, 3:23pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/29 "2024-02-27T15:23:54Z")

</div>

Thank you for the suggestion. We ran this by Epicor support and they told us that this particular fix doesn’t address our problem. See below thread as we have found new information about our issue.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [February 27, 2024, 3:50pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/30 "2024-02-27T15:50:27Z")

</div>

We are now finding out that our original results were not the same as what we are getting now. In my original test database I deleted all customizations and disabled all method and data directives and running MRP produced jobs with ProdQty = 0. In the next version of the test database I deleted all customizations and **deleted** all method and data directives. Running MRP versus that database produced 0 jobs with ProdQty = 0. I would think that the results would be the same versus either, but go figure. Your/my first thought would be that I missed one or more, maybe the important one, but I double-checked and that was not the case. At this point, the next step will probably be to go through adding BPMs until we find our culprit. I will post our final results summary here once we have resolved this issue. Thank you all for your help.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [June 4, 2024, 3:36pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/31 "2024-06-04T15:36:21Z")

</div>

As a follow-up and not let this dangle without a solution, it seems that there was a scheduling process that was occasionally not running due to a previous process running longer than originally tested/designed and also was not setup in the correct order. Once we reshuffled the schedule and lengthened the time in between each process, the problem went away. As always, thanks to all who gave answers and insights.

---

<div class="post-metadata">

**Author:** ![MQT](https://www.epiusers.help/letter_avatar_proxy/v4/letter/m/919ad9/32.png) [@MQT](https://www.epiusers.help/u/MQT)\
**Post date:** [June 20, 2025, 7:00pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/32 "2025-06-20T19:00:43Z")

</div>

Hi Jim,  
We are currently experiencing the same issue that you had experience with our MRP run. You said you reshuffled the schedule and lengthened the time between each process. May I ask how did you achieve that? Is that via schedule process set or somewhere else? Please let me know.

Thank you.

---

<div class="post-metadata">

**Author:** ![JimF](https://www.epiusers.help/user_avatar/www.epiusers.help/jimf/32/39967_2.png) [@JimF](https://www.epiusers.help/u/JimF)\
**Post date:** [June 22, 2025, 2:30am UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/33 "2025-06-22T02:30:37Z")

</div>

It’s been a minute but yes. our “MRP run” is now made up of 5 scheduled jobs run from the System Agent: 1) Process MRP Recalc, (2) Process MRP. (3) Scheduling Set Order Process, (4) Scheduling Process and (5) Generate PO Suggestions. I took the longest time that each process ran and added 30 minutes to it to calculate the start of the next job and ensure they wouldn’t run into each other. MRP has run like a champ since then. Hope that helps.

---

<div class="post-metadata">

**Author:** ![Doug.C](https://www.epiusers.help/user_avatar/www.epiusers.help/doug.c/32/26714_2.png) [@Doug.C](https://www.epiusers.help/u/Doug.C)\
**Post date:** [June 23, 2025, 1:38am UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/34 "2025-06-23T01:38:32Z")

</div>

I would do this in a process set this allows one to finish and the next one to start right afterwards.

---

<div class="post-metadata">

**Author:** ![MQT](https://www.epiusers.help/letter_avatar_proxy/v4/letter/m/919ad9/32.png) [@MQT](https://www.epiusers.help/u/MQT)\
**Post date:** [June 23, 2025, 3:40pm UTC](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680/35 "2025-06-23T15:40:43Z")

</div>

Noted. Thank you for your response Jim.

[Previous page](https://www.epiusers.help/t/mrp-creates-jobs-with-prod-qty-0/111680.md?page=1)
