didonato
9 years agoCreator II
AML Error
Can some help me on the formatting of this AML command.
Here is the SQL version that work:
SELECT Item_number,name FROM innovator.PART
WHERE ID IN
(SELECT AFFECTED_ID FROM innovator.AFFECTED_ITEM
w...
<AML> <Item type='Express ECO' action='get' id='2F79912A828A4768AC6CE8769D2ED8F8' select='id'> <Relationships> <Item type='Express ECO Affected Item' action='get' select='related_id(affected_id(item_number,name)) /> </Relationships> </Item> </AML>Then in your code (just guessing this is server C# method)
Item qry = this.getInnovator().applyAML({AML}); Item partsItems = qry.getItemsByXPath("//Item[@type='Part']");