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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 11.05.2017, 01:18   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
stoneridgesoftware: Error in Dynamics AX Master Scheduling: Mandatory Coverage Dimension Warehouse Not Specified
Источник: https://stoneridgesoftware.com/error...not-specified/
==============

Recently, one of our clients was encountering the following error when running Master Scheduling in Dynamics AX:

Mandatory coverage dimension Warehouse not specified

Cannot create a record in Planned order (ReqPO). The corresponding AOS validation failed.

Since I spent a significant amount of time debugging this issue, I thought my findings could be useful to someone else.

Both Site and Warehouse were set up as mandatory dimensions. Item coverage was defined for the items in question with Site and Warehouse as coverage dimensions.

The error was being thrown on the BOM Components at the point where a Planned Purchase Order was being created for the component. The error was thrown in this method:





Backtracking from here using Debugger, I found that throughout most of the scheduling process, the Coverage dimension (CovInventDimId) had the right value, which was the inventDimId having both Site and Warehouse – _101-M_

Yet at some point, the value was being updated to an InventDimId having Site only. The difficulty was tracking down when/where this happened.



Long story short, I found the following code. reqTransDerived is the cache for the reqTrans created for the BOM components being purchased. If it does not find an Input Warehouse for the Resource Group, the reqTransDerived.CovInventDimId is updated to the wrong value (site only inventdimid), resulting in a Planned PO missing the mandatory warehouse dimension.

To fix this error, specify an Input Warehouse for the Resource Group.



Note: The client reported that this error seemed to occur randomly. While I can’t be sure, I suspect it occurs only when there is no on-hand quantity for a BOM component with a default order type of Purchased, meaning that a Planned PO is created.

It should also be noted that the Resource Consumption field was checked on the components in this case, because for this client the BOM’s are not site-specific and can, therefore, be used at any site. If this field is not checked, the picking warehouse can be specified in the Warehouse field on the line or AX will use the picking warehouse from the item master data as documented in this TechNet article on BOM Versions and Lines in AX2012.



Источник: https://stoneridgesoftware.com/error...not-specified/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
stoneridgesoftware: Part I: Configuring the Dynamics AX 2012 R3 Entity Store Blog bot DAX Blogs 0 27.04.2017 12:11
stoneridgesoftware: How to Configure Access for Scribe Online for Dynamics AX 7 Integration Blog bot DAX Blogs 0 22.09.2016 06:12
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 10 Blog bot Dynamics CRM: Blogs 0 17.08.2012 03:27
Platform updates overview - 3.70.B - NAV2009 R2 Blog bot Dynamics CRM: Blogs 0 07.02.2011 22:06
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05

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

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

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