Table
SMAServiceBOMTable
Template BOM lines
Holds the lines of template BOMs used in service management. The key is the BOM line ID. Each line has an item, quantity, unit and inventory dimensions. It can also link to a service object and a parent line.
- Table name
SMAServiceBOMTable- Module
Service management- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
SMABom- Primary index
ServiceBOMLineIdx- Replacement key
ServiceBOMLineIdx- Key fields
ServiceBOMLineId- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ServiceBOMLineIdUnique ID of the BOM line. | String (20)SMATemplateBOMLineId | Yes | None | |
BOMCopyRefIdReference number of the source the line was copied from. | String (20)SMABOMCopyRefId | No | None | |
BOMCopyRefParentLineIdID of the parent BOM line in the copy reference. | String (20)SMATemplateBOMParentLineId | No | None | |
BOMCopyRefTypeType of the copy reference. Values are Manual, Template BOM, BOM and Production. | EnumSMABOMCopyRefType (enum) | No | None | |
BOMQtyQuantity of the item on the line. | RealBOMQty | No | None | |
BOMVersionDateDate of the BOM version. | DateTransDate | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimensions of the line. Points to an inventory dimension record. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
ItemIdThe item on the line. Points to an item. | String (20)ItemId | Yes | InventTable.ItemId | None |
ItemTypeType of item on the line. Values are Item and Service. | EnumItemType (enum) | No | None | |
LineNumLine number used to order the lines. | RealLineNum | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ObjectIdThe service object the line belongs to. | String (20)SMAServiceObjectId | No | SMAServiceObjectTable.ServiceObjectId | None |
OrigLineYes/no flag. It shows whether this is an original line. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceBOMIdThe template BOM the line belongs to. | String (20)SMATemplateBOMId | Yes | SMATemplateBOMTable.TemplateBOMId | None |
ServiceBOMParentLineIdID of the parent BOM line. | String (20)SMATemplateBOMParentLineId | No | None | |
ServiceObjectRelationIdService object relation the line refers to. | String (20)SMAServiceObjectRelationId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitIDUnit of measure for the quantity. Points to a unit. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
Indexes (2)
ServiceBOMLineIdxPrimary indexReplacement keyUnique, alternate key.
ServiceBOMOrigIdxServiceBOMId,ServiceBOMParentLineId,ObjectId,OrigLine,ServiceBOMLineIdUnique, alternate key.
Relations (6)
Each relation joins SMAServiceBOMTable to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany SMAServiceBOMTable records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SMAServiceBOMTable records → exactly one InventTable record
SMAServiceObjectRelation→SMAServiceObjectRelationJoin on
ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationIdMany SMAServiceBOMTable records → zero or one SMAServiceObjectRelation record
SMAServiceObjectTable→SMAServiceObjectTableJoin on
ObjectId = SMAServiceObjectTable.ServiceObjectIdMany SMAServiceBOMTable records → zero or one SMAServiceObjectTable record
SMATemplateBOMTable→SMATemplateBOMTableJoin on
ServiceBOMId = SMATemplateBOMTable.TemplateBOMIdOne or more SMAServiceBOMTable records → exactly one SMATemplateBOMTable record
UnitID→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany SMAServiceBOMTable records → zero or one UnitOfMeasure record
Get this data out
No public entity reads from SMAServiceBOMTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with SMAServiceBOMTable in a report, an integration or a migration? Talk to Dr Dynamics.