Table

SMATemplateBOMTable

Template BOMs

Holds template bills of materials (BOMs), identified by a template BOM ID. Each record has a name, an item, a validity period and a BOM date. It can record a copy reference to a BOM, a production order or another template BOM. The reference type shows which kind it is.

Table name
SMATemplateBOMTable
Module
Service management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
SMABom
Primary index
TemplateBOMIdx
Replacement key
None
Key fields
TemplateBOMId
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TemplateBOMIdThe unique ID of the template BOM.String (20)
SMATemplateBOMId
YesNone
BOMCopyRefIdThe ID of the BOM, production order or template BOM that this template refers to.String (20)
SMABOMCopyRefId
NoBOMTable.BOMIdProdTable.ProdIdSMATemplateBOMTable.TemplateBOMIdNone
BOMCopyRefTypeThe kind of reference: manual, template BOM, BOM or production.Enum
SMABOMCopyRefType (enum)
NoNone
BOMDateA date linked to the BOM. The metadata does not say more about its use.low confidenceDate
TransDate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateThe date from which the template BOM applies.Date
FromDate
NoNone
InventDimIdPoints to the inventory dimension record for this template BOM.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemIdThe item that the template BOM is for.String (20)
ItemIdProduction
NoInventTable.ItemIdNone
NameThe name of the template BOM.String (60)
Name
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateThe date up to which the template BOM applies.Date
ToDate
NoNone

Indexes (2)

Relations (5)

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

  • BOMTable → BOMTable

    Join on BOMCopyRefType = SMABOMCopyRefType::BOM, BOMCopyRefId = BOMTable.BOMId

    Many SMATemplateBOMTable records → zero or one BOMTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SMATemplateBOMTable records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SMATemplateBOMTable records → zero or one InventTable record

  • ProdTable → ProdTable

    Join on BOMCopyRefType = SMABOMCopyRefType::Production, BOMCopyRefId = ProdTable.ProdId

    Many SMATemplateBOMTable records → zero or one ProdTable record

  • SMATemplateBOMTable → SMATemplateBOMTable

    Join on BOMCopyRefType = SMABOMCopyRefType::TemplateBOM, BOMCopyRefId = SMATemplateBOMTable.TemplateBOMId

    Many SMATemplateBOMTable records → zero or one SMATemplateBOMTable record

Get this data out

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

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

Email sales@drdynamics.co.uk