would be happy if someone can help me with this one:
I have a GetItemRepeatConfig query over a multilevel Part/BOM structure. This query returns all Parts that appear on the various BOM-levels. Depending on the Part, I have around 3-8 levels.
I can later get the Parts with an Xpath filter. But right now it wasn´t possible for me, do detect the "level" at which one any of the Parts appear in the BOM. Is there any standard query in Aras, that can also return the depth of an element?
0 Part 1234 My Product
1 Part 2345 My Sub-Assy
2 Part 2346 Screw
1 Part 2345 My Sub-Assy 2
I discovered that QueryDefinitons can return a "depth" attribute. But there are a couple of extra Methods required. It´s a complete overkill solutions and I want to avoid the QueryDefinition.
Does any one know simple way to get the level? Or at least to calculate it from the AML result?