The Aras Markup Language (AML)
Copy
The Aras Markup Language (AML) is an XML dialect that follows the simple /Item/Relationships/Item/Relationships
repeating pattern to describe Item configurations. Clients submit AML documents to the Aras Innovator server and receive an AML document back.
An AML document contains data (Items), structure (Relationships, which are hierarchical Items), and logic (an action to perform some business logic on the Item). Each Item in the AML document has an action attribute, which is the name of an Aras Innovator Method that performs business logic on the Item. The Aras Innovator server interprets AML documents in a similar way to scripting languages. AML documents are often referred to as AML scripts.
This is an example of a BOM in AML language:
<Item type="Part” action="add">
<item_number>999-888</item_number>
<description>Some Assy</description>
<Relationships>
<Item type="Part BOM” action="add">
<quantity>10</quantity>
<related_id>
<Item type="Part” action="add">
<item_number>123-456</item_number>
<description>1/4w 10% 10K Resistor</description>
</Item>
</related_id>
</Item>
</Relationships>
</Item>