Forum Discussion
6 Replies
- Yoann_MaingonIdeator ILook at the very nice Erik Domke's documentation (hoping it will or maybe it has been migrated to github already) amlstudio.codeplex.com/wikipage
- MaddyIdeator IActually I write AML query for getting all parent item. In my bom tree I want parent Items (with all properties). i.e I run AML query on item which is at 2nd level in bom, so I want Its parent and Parent's parent (with all) property. Is there any reverse method to do this?
- Former_MemberIdeator IHi Maddy, As I understood your query, your are trying to do reverse operation using GetItemRepeateconfig. You can try below AML then, <AML> <Item type="Part BOM" action="get" repeatProp="source_id" repeatTimes="2" select="source_id(name)" > <related_id> <Item type="Part" action="GetItemRepeatConfig" select="name" id="{your bom part id}"></Item> </related_id> </Item> </AML>
- TU_YININGIdeator I
I've tried this and it doesn't repeat since you put the fix id to the related_id's Item. It always do one level I think.
- Ananta_JenaIdeator I