BomRow
The BomRow object is of type PSObject and represents an individual row in a BOM .
$bomRows are generated based on the result of the Get-BomRows function and therefore they are usually extended powerVault FileBomRows or powerVault ItemBomRows.
Syntax
1 | $bomRow.Bom_Number |
Following properties are always available :
Type |
Name |
Description |
---|---|---|
_Status |
The current status of the BomRow that is displayed in the ‘Status’ column in the BOM Tab. |
|
string |
_StatusDetails |
The BomRow’s Status Details which are displayed in the Status Details column and when hovering over the status icon in the BOM Tab. |
string |
Bom_Number |
The number of the row, that gets displayed in the BOM Tab column ‘Number’. |
double / string |
Bom_PositionNumber |
The position in the BOM, that gets displayed in the BOM Tab column ‘Position’. |
double |
Bom_Quantity |
The quantity of the row, that gets displayed in the `BOM Tab column ‘Quantity’. |
string |
_Name |
The name of the according item of the row, that gets displayed in the BOM Tab column ‘Name’. |
Remarks
$bomRows of a specific BOM can be retrieved directly via the Children
property on the according $bom object.
BOM Properties
BOM properties can only be displayed in the BOM Tab, because they can provide additional information for an Item instance in the BOM.
This could simply be the different positions of the same instance of an Item in the whole BOM.
These properties are declared with the ‘Bom_’ prefix.
At least following standard properties should always be available: Bom_Number
,Bom_PositionNumber
and Bom_Quantity
.
All the other BOM properties are custom properties that can be additionally displayed in the BOM Tab without the ‘Bom_’ prefix.
For example Bom_Unit
or all the other dynamically generated ‘Bom_’ members of a powerVault FileBomRow or powerVault ItemBomRow.
Entity Properties
Entity properties are displayed in both: the BOM Tab and the Item Tab, and they provide directly the information of the according Item .
This could be e.g. the item’s name, which is always the same for all the different instances of an item in the BOM.
Entity properties are all the properties declared with simple names (not starting with the prefix ‘Bom_’) e.g. _Name
, Description
, _Category
, ….
BomRows with a linked Item do provide only one standard properties: _Name
.
All the other properties are custom properties that can be additionally displayed in both the BOM Tab and Item Tab
For example Description
, _Category
or all the other dynamically generated members of a powerVault File or powerVault Item.