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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActiveServiceBOMLineIdID of the template BOM line that is active. Points to a template BOM line. | String (20)SMAMasterBOMLineId | No | SMAServiceBOMTable.ServiceBOMLineId | None |
BOMQtyQuantity on the BOM line. | RealBOMQty | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | 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 | |
IsRequirementYes/no flag. It shows whether the item is a requirement. | EnumSMAIsRequirementNoYes (enum) | No | None | |
ObjectIdThe service object the change refers to. | String (20)SMAServiceObjectId | No | SMAServiceObjectTable.ServiceObjectId | 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 | |
ReplacedServiceBOMLineIdLine number in the BOM history for the replaced line. | String (20)SMATemplateBOMLineId | No | None | |
ServiceBOMChangeActionThe kind of change made. Values are BOM line deleted, replaced, qty. changed, added and qty. replaced. | EnumSMAServiceBOMChangeAction (enum) | No | None | |
ServiceBOMIdThe template BOM the change belongs to. | String (20)SMATemplateBOMId | No | SMATemplateBOMTable.TemplateBOMId | None |
ServiceObjectRelationIdService object relation the change refers to. | String (20)SMAServiceObjectRelationId | No | None | |
ServiceOrderIdThe service order linked to the change. | StringSMAServiceOrderId | No | SMAServiceOrderTable.ServiceOrderId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
ActiveIdxServiceBOMId,ActiveServiceBOMLineIdNot unique.
ReplacedIdxServiceBOMId,ReplacedServiceBOMLineIdNot unique.
Relations (5)
Each relation joins SMAServiceBOMChange to another table on the fields shown.
SMAServiceBOMActive→SMAServiceBOMTableJoin on
SMAServiceBOMTable.BOMCopyRefType = SMABOMCopyRefType::TemplateBOM,ActiveServiceBOMLineId = SMAServiceBOMTable.ServiceBOMLineIdMany SMAServiceBOMChange records → zero or one SMAServiceBOMTable record
SMAServiceObjectRelation→SMAServiceObjectRelationJoin on
ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationIdMany SMAServiceBOMChange records → zero or one SMAServiceObjectRelation record
SMAServiceObjectTable→SMAServiceObjectTableJoin on
ObjectId = SMAServiceObjectTable.ServiceObjectIdMany SMAServiceBOMChange records → zero or one SMAServiceObjectTable record
SMAServiceOrderTable→SMAServiceOrderTableJoin on
ServiceOrderId = SMAServiceOrderTable.ServiceOrderIdMany SMAServiceBOMChange records → zero or one SMAServiceOrderTable record
SMATemplateBOMTable→SMATemplateBOMTableJoin on
ServiceBOMId = SMATemplateBOMTable.TemplateBOMIdMany 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.