AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 13.09.2017, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Art Of Creation: MRP error: Parameters for master plan do not exist
Источник: http://www.artofcreation.be/2017/06/...-do-not-exist/
==============

One of our customer had an issue with MRP; it failed with the following error:
Parameters for master plan do not exist.

In our case, the problem was that records in ReqPo and ReqTrans were referencing a plan version (ReqPlanVersion) that did no longer exist. How this situation came to be is unknown to us.

What we did to resolve this:
  1. Create a reqPlanVersion on SQL, making sure that the recid matches the recid of the plan version that is missing, for example:</p>INSERT INTO [dbo].[REQPLANVERSION]
    ([ACTIVE]
    ,[REQPLANDATAAREAID]
    ,[REQPLANID]
    ,[RECVERSION]
    ,[RECID])
    VALUES
    (1
    ,'prd'
    ,'PlanToDel'
    ,1
    ,5637154609)


    Don’t forget to change the REQPLANDATAAREAID and RECID values to the values for your environment. The value for REQPLANID can be any value, we chose ‘PlanToDel‘.
  2. Create a new plan called PlanToDel in the form Master Planning > Setup > Plans > Master plan
  3. Optional steps we did while troubleshooting
    1. Delete plan version using Master Planning > Periodic > Plans > Delete Plan
    2. Run MRP for this plan for 1 item
    4. Delete the new plan called PlanToDel in the form Master Planning > Setup > Plans > Master plan
So in summary, we just created the missing record and then used standard AX functionality to clean the data.



Источник: http://www.artofcreation.be/2017/06/...-do-not-exist/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Быстродействие метда TaxParameters::find Ace of Database DAX: Программирование 7 01.06.2017 11:46
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 16 Blog bot Dynamics CRM: Blogs 0 23.01.2014 03:15
fed: Net requirements update in MRP Module and Working Set of MRP Blog bot DAX Blogs 14 08.05.2012 13:09
Platform updates overview - 3.70.B - NAV2009 R2 Blog bot Dynamics CRM: Blogs 0 07.02.2011 22:06
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 08:54.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.