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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ServiceBOMLineIdUnique ID of the BOM line.String (20)
SMATemplateBOMLineId
YesNone
BOMCopyRefIdReference number of the source the line was copied from.String (20)
SMABOMCopyRefId
NoNone
BOMCopyRefParentLineIdID of the parent BOM line in the copy reference.String (20)
SMATemplateBOMParentLineId
NoNone
BOMCopyRefTypeType of the copy reference. Values are Manual, Template BOM, BOM and Production.Enum
SMABOMCopyRefType (enum)
NoNone
BOMQtyQuantity of the item on the line.Real
BOMQty
NoNone
BOMVersionDateDate of the BOM version.Date
TransDate
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimensions of the line. Points to an inventory dimension record.String (20)
InventDimId
YesInventDim.inventDimIdNone
ItemIdThe item on the line. Points to an item.String (20)
ItemId
YesInventTable.ItemIdNone
ItemTypeType of item on the line. Values are Item and Service.Enum
ItemType (enum)
NoNone
LineNumLine number used to order the lines.Real
LineNum
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ObjectIdThe service object the line belongs to.String (20)
SMAServiceObjectId
NoSMAServiceObjectTable.ServiceObjectIdNone
OrigLineYes/no flag. It shows whether this is an original line.Enum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ServiceBOMIdThe template BOM the line belongs to.String (20)
SMATemplateBOMId
YesSMATemplateBOMTable.TemplateBOMIdNone
ServiceBOMParentLineIdID of the parent BOM line.String (20)
SMATemplateBOMParentLineId
NoNone
ServiceObjectRelationIdService object relation the line refers to.String (20)
SMAServiceObjectRelationId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitIDUnit of measure for the quantity. Points to a unit.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone

Indexes (2)

Relations (6)

Each relation joins SMAServiceBOMTable to another table on the fields shown.

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SMAServiceBOMTable records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SMAServiceBOMTable records → exactly one InventTable record

  • SMAServiceObjectRelation → SMAServiceObjectRelation

    Join on ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationId

    Many SMAServiceBOMTable records → zero or one SMAServiceObjectRelation record

  • SMAServiceObjectTable → SMAServiceObjectTable

    Join on ObjectId = SMAServiceObjectTable.ServiceObjectId

    Many SMAServiceBOMTable records → zero or one SMAServiceObjectTable record

  • SMATemplateBOMTable → SMATemplateBOMTable

    Join on ServiceBOMId = SMATemplateBOMTable.TemplateBOMId

    One or more SMAServiceBOMTable records → exactly one SMATemplateBOMTable record

  • UnitID → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many 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.

Email sales@drdynamics.co.uk