Тема: BOM, help me!!!
Показать сообщение отдельно
Старый 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.