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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 19.08.2007, 09:25   #1  
lamfa is offline
lamfa
Участник
 
3 / 10 (1) +
Регистрация: 11.07.2007
BOM, help me!!!
I have a small task, but i didn't understand what is BOM ?

My task is

In Dynamics AX, it is possible to create circular BOMs, even though such BOMs make no sense and are invalid.


An example of a circular BOM:

Item A
|
------------------------
| |
Item B Item C
|
------------------- | |
Item D Item A


- this BOM is circular because Item A contains Item C, which again contains Item A (which contains Item C, and so on...). An attempt to “walk the tree” of this BOM will cause AX to enter an infinite loop.

The task is to create a function that can be used to check any BOM for circularity:
  • The user will select a single BOM in a dialog box
The function will check this BOM and output the Item Number of any “repeated” items to the info log.

Please,help me deal with it ? Any supports will be appreciated.

Sorry, i don't have a russian keyboard. I'm a student in Russia.

Последний раз редактировалось lamfa; 19.08.2007 в 10:03.
Старый 19.08.2007, 11:13   #2  
Alex_KD is offline
Alex_KD
Участник
AxAssist
MCBMSS
Соотечественники
 
522 / 362 (14) ++++++
Регистрация: 06.07.2006
Адрес: Melbourne, Down Under
Цитата:
The task is to create a function that can be used to check any BOM for circularity
Check it:
class BOMHierarchyCheck
method checkCircularity
Старый 19.08.2007, 13:13   #3  
lamfa is offline
lamfa
Участник
 
3 / 10 (1) +
Регистрация: 11.07.2007
thanks Alex_KD,

what about select a single BOM in a dialog box ?
is BOM class or itemtype ?

By the way I want to create a report called from RunBase class, it means that I create 1 class for report extended from RunBase,and use reportDesign from another report. The issue is query in report now is not used.How to override or create new query in class ?

Thanks again,
Lamfa
Старый 19.08.2007, 14:53   #4  
EVGL is offline
EVGL
Banned
Соотечественники
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
 
4,445 / 3001 (0) ++++++++++
Регистрация: 09.07.2002
Адрес: Parndorf, AT
BOMs can be referenced by the primary key BOMTable.BOMId of the type BOMId.
Read trainings, help files and documentation. Please don't bother the community with your senseless tasks.
Старый 19.08.2007, 18:08   #5  
lamfa is offline
lamfa
Участник
 
3 / 10 (1) +
Регистрация: 11.07.2007
Thanks for repyling,
Task was done. Topic is closed here.

Best,
Lamfa
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
BOM без использования модуля Производство Iskorka DAX: Функционал 10 11.04.2011 16:32
BOM и ConfigChoice Rimantas DAX: Программирование 15 28.02.2008 11:43
ax-som: BOM explosion Blog bot DAX Blogs 0 18.01.2008 13:30
Копирование BOM и Route программно для нового Item AlexHF DAX: Программирование 4 21.09.2004 19:42
Помогите разобраться с полем OprNum в BOM! ravil DAX: Программирование 4 29.07.2003 11:15

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

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

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