<stage-bom> / <map>

The <map> elements define the mapping between data fields and BOM entries.

attribute

Required: BOM entry attribute. Valid attributes include:

You must define <map> elements for parent, child and quantity.

value

Required: Value of the attribute.

For example:

<delimited-file start-row="2" delimiter=",">
...<field index="1" name="assembly" nullable="false"/>
...<field index="2" name="component" nullable="false"/>
...<field index="3" name="quantity" nullable="false"/>
</delimited-file>
 
<stage-bom id="BOM-0">
   <map attribute="parent" value="${assembly}"/>
   <map attribute="child" value="${component}"/>
   <map attribute="quantity" value="${quantity}"/>
</stage-bom>