# FileBomRow

A file BomRow is of type PsObject and represents a single row entry in the CAD BOM from a file in Vault.
The $fileBomRow object is dynamically generated based on the Properties coming from the CAD BOM, and provides additionally all the members from its corresponding File. The BOM specific properties are named the same as in the CAD BOM, including whitespaces and starting with the ‘Bom_’ prefix. If you want to access such a property you have to enclose it in single quotes. ## Syntax  1 $bomRow.'Bom_Part Number' 

The following properties are always added in addition to the File members:

Type

Name

Description

string

Bom_Number

The Part Number of the component. When the component has no Part Number, it is the component name.

int

Bom_RowOrder

The Order of the component in the BOM. It doesn’t really affect the BOM structure, but it helps with sorting rows.
0 for components for which no information is available in the Structured BOM View (e.g. Structured View disabled)

string

Bom_PositionNumber

The Position Number of the component in the BOM.
Empty for components for which no information is available in the Structured BOM View (e.g. Structured View disabled)

string

Bom_Unit

The Unit of Measure of the component (e.g. Each, inch, liter, kg,…).

string

Bom_XRefTyp

The XRefTyp which specifies whether the component is internal or external in relation to the design file.

string

Bom_Structure

The BomStructure of the component can be Normal, Phantom, Purchased, Reference, DynamicPhantom or Inseperable.

double

Bom_Quantity

The Quantity (QTY) is the Total Quantity which is the Unit Quantity multiplied by the Item Quantity.

int

Bom_ItemQuantity

The Item Quantity (Item QTY) is the number of instances of a component in the BOM.

double

Bom_UnitQuantity

The Unit Quantity (Unit QTY) is the amount which each discrete instance of a component adds to the total quantity.

string

Bom_ModelState

The model state name of the used component in the BOM.
”Master” specifies the primary model state and is also returned for files without associated model states.