|
19.08.2007, 09:25 | #1 |
Участник
|
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:
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 |
Участник
|
Цитата:
The task is to create a function that can be used to check any BOM for circularity
class BOMHierarchyCheck method checkCircularity |
|
19.08.2007, 13:13 | #3 |
Участник
|
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 |
Banned
|
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 |
Участник
|
Thanks for repyling,
Task was done. Topic is closed here. Best, Lamfa |
|