aras plm中使用aml查找当前类的关系类以及右表信息
在ARAS PLM中使用AML(ARAS Markup Language)查询当前类的关系类和右表信息,可以使用以下AML查询语句:
<AML>
<Item type="ItemType" action="get" select="related_id(relationship_id)" id="current_item_id">
<Relationships>
<Item action="get" type="RelationshipType" select="related_id" />
</Relationships>
</Item>
</AML>
其中,ItemType是当前类的类型,RelationshipType是关系类的类型,current_item_id是当前项的ID。
此查询语句会返回当前类的关系类以及关系类的右表信息。你可以将ItemType和RelationshipType替换为实际的类和关系类类型,将current_item_id替换为实际的当前项的ID。
请注意,以上查询语句仅返回关系类的相关信息,如果需要获取更多的属性或者右表的详细信息,可以在select子句中添加相应的属性
原文地址: https://www.cveoy.top/t/topic/hVF7 著作权归作者所有。请勿转载和采集!