bom

<bom> 元素可定義要為工作記載於「資料清單 (BOM)」的資訊;其應包含在 <match>元素中。<bom> 元素必須指定 BOM 中的種類及區段,並定義要將 <match> 元素所收集的哪些編號變數 ($1...$n) 轉換成 BOM 資料的欄位。

<bom category="Source" section="changesets" >
        <field name="Change" text="$1"/>
        <field name="Date" text="$2"/>
        <field name="User" text="$4"/>
</bom>

請使用 condition="function" 屬性來控制是否將 <bom> 元素寫入 BOM 報告。function 的值是一個會求值為 true 或 false 的表示式。如果表示式的求值為 true,就會將 <bom> 元素中的資訊寫入 BOM;否則不會寫入。請參閱條件函數


意見