Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Master plan failed execution with below error

Posted on by 245

we are running a regeneration master plan, however past couple of weeks the MRP has not finished execution. it stops in error state with the folloing error. we spoke to Microsoft they recommended that we install  kb4019938 . but still no result.

we are on ax 2012 r3 CU8. we have about 12 coverage groups, with a coverage time fence of 500 days and we run MRP on dedicated batch servers with total 11 threads. all threads have completed execution. 

any help would be greatly appreciated! 

Infolog:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.

at Dynamics.Ax.Application.ReqCalcScheduleItemTable.Run() in ReqCalcScheduleItemTable.run.xpp:line 23

at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54

at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13

at BatchRun::runJobStatic(Object[] )

at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

at BatchIL.taskThreadEntry(Object threadArg)

*This post is locked for comments

  • frodo baggins Profile Picture
    frodo baggins 245 on at
    RE: Master plan failed execution with below error

    thanks guys, let me try this out and i will post what i find.

  • Suggested answer
    guk1964 Profile Picture
    guk1964 10,877 on at
    RE: Master plan failed execution with below error

    Have you checked the mrp history  and log ? see this previous post https://community.dynamics.com/ax/f/33/t/266248

     - check Master Planning > Inquiries > Processes > Unfinished Scheduling Processes)

    To eliminate BOM Level as an issue in your troubleshooting, run the Recalculate BOM levels batch. (rework orders sometimes use components at a different level and give problems).

    Inventory management>Periodic>Bills of materials>Recalculate BOM levels.

    The other thing you might look at is on the master scheduling parameters.  There is a setting on the General tab labelled: Pre-processing: Automatically filter  by items with direct demand.  If that box is checked, then an item will not be selected for planning unless there is some sort of supply or demand for the item.
    To remove old net requirements left in the system use the delete plan function to delete your old plans before regenerating.

    Update to the latest kernel.

    Consider up date to Cu11 for R3- ReqItemLevel was added in KB3089402 .there is an additonal setting on the General tab labelled: Pre-processing: Automatically filter  by items with direct demand.  When that box is checked, an item will not be selected for planning unless there is some sort of supply or demand for the item.

     It might be worth reviewing these mrp performance posts- 500 days  with 11 threads implies a lot of processing so some tuning might help -  maybe try a short coverage window?

    http://blogs.msdn.com/b/axmfg/archive/2014/12/29/checklist-for-improving-mrp-performance-part-1-how-to-run-mrp.aspx

    http://blogs.msdn.com/b/axmfg/archive/2015/01/02/checklist-for-improving-mrp-performance-part-2-how-to-setup-planning-parameters.aspx

    https://blogs.msdn.microsoft.com/axmfg/2012/12/05/logging-and-tracing-dynamics-ax-mrp-runs/

     


  • Verified answer
    Weaveriski Profile Picture
    Weaveriski 23,616 on at
    RE: Master plan failed execution with below error

    A couple of checks to ensure

    1. Ensure there are no circular loops in your process. For example when it calculates it, it goes through all the levels and if item C2 has a bom which has item C3 on it, which has item C4 on it, which has ite C2 on it, it will fail. with a similar message from memory, that’s standard logic I am afraid.

    2. If you have warehouse replenishment rules ensure that you have not pushed in data that says when warehouse "A1" requires stock you transfer it from "A1". I saw this create a similar message to this as well.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans