Table

SMAServiceBOMChange

Template BOM history

Records changes made to template bill of materials (BOM) lines. Each row gives the action, such as a line added, deleted or replaced, with the quantity and item requirement. It links to a template BOM, a service object and a service order. The table has no defined key.

Table name
SMAServiceBOMChange
Module
Service management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
SMABom
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActiveServiceBOMLineIdID of the template BOM line that is active. Points to a template BOM line.String (20)
SMAMasterBOMLineId
NoSMAServiceBOMTable.ServiceBOMLineIdNone
BOMQtyQuantity on the BOM line.Real
BOMQty
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
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
IsRequirementYes/no flag. It shows whether the item is a requirement.Enum
SMAIsRequirement
NoYes (enum)
NoNone
ObjectIdThe service object the change refers to.String (20)
SMAServiceObjectId
NoSMAServiceObjectTable.ServiceObjectIdNone
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
ReplacedServiceBOMLineIdLine number in the BOM history for the replaced line.String (20)
SMATemplateBOMLineId
NoNone
ServiceBOMChangeActionThe kind of change made. Values are BOM line deleted, replaced, qty. changed, added and qty. replaced.Enum
SMAServiceBOMChangeAction (enum)
NoNone
ServiceBOMIdThe template BOM the change belongs to.String (20)
SMATemplateBOMId
NoSMATemplateBOMTable.TemplateBOMIdNone
ServiceObjectRelationIdService object relation the change refers to.String (20)
SMAServiceObjectRelationId
NoNone
ServiceOrderIdThe service order linked to the change.String
SMAServiceOrderId
NoSMAServiceOrderTable.ServiceOrderIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

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

  • SMAServiceBOMActive → SMAServiceBOMTable

    Join on SMAServiceBOMTable.BOMCopyRefType = SMABOMCopyRefType::TemplateBOM, ActiveServiceBOMLineId = SMAServiceBOMTable.ServiceBOMLineId

    Many SMAServiceBOMChange records → zero or one SMAServiceBOMTable record

  • SMAServiceObjectRelation → SMAServiceObjectRelation

    Join on ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationId

    Many SMAServiceBOMChange records → zero or one SMAServiceObjectRelation record

  • SMAServiceObjectTable → SMAServiceObjectTable

    Join on ObjectId = SMAServiceObjectTable.ServiceObjectId

    Many SMAServiceBOMChange records → zero or one SMAServiceObjectTable record

  • SMAServiceOrderTable → SMAServiceOrderTable

    Join on ServiceOrderId = SMAServiceOrderTable.ServiceOrderId

    Many SMAServiceBOMChange records → zero or one SMAServiceOrderTable record

  • SMATemplateBOMTable → SMATemplateBOMTable

    Join on ServiceBOMId = SMATemplateBOMTable.TemplateBOMId

    Many SMAServiceBOMChange records → zero or one SMATemplateBOMTable record

Get this data out

No public entity reads from SMAServiceBOMChange. Its data is only reachable through the application, a custom entity or a database export.

Need help with SMAServiceBOMChange in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk