Table

ProdAsBuiltBOMComponentLotAssociation

Tracked component lot associations

Links tracked component lots to the product lots they were used in. Each row holds a component item with its serial or batch number, quantity, unit, site and vendor. The match ID ties it to a row in the tracked product lot associations table.

Table name
ProdAsBuiltBOMComponentLotAssociation
Module
Production control
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Prod
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchNumberIdBatch number of the tracked component.String (20)
InventBatchId
NoInventBatch.inventBatchIdNone
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
InventConsumptionQtyQuantity of the component consumed, in inventory units.Real
InventQty
NoProdAsBuiltBOMComponentLotAssociationEntity
InventDimIdPoints to the inventory dimensions for the row.String (20)
InventDimId
NoInventDim.InventDimIdNone
InventTransChildRefIdNumber of the child inventory reference.low confidenceString (20)
InventTransChildRefId
NoNone
InventTransChildTypeType of the child inventory reference, such as output order or picking list journal.Enum
InventTransChildType (enum)
NoNone
InventTransIdLot ID of the inventory transaction. It matches the inventory originator and the production BOM line.String (20)
InventTransId
YesInventTransOrigin.InventTransIdProdBOM.InventTransIdProdAsBuiltBOMComponentLotAssociationEntity
InventUnitIdUnit of measure of the inventory quantity.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolProdAsBuiltBOMComponentLotAssociationEntity
IsCompletedShows whether the association is completed.Enum
NoYes (enum)
NoProdAsBuiltBOMComponentLotAssociationEntity
IsFullResetShows whether the row was fully reset.low confidenceEnum
NoYes (enum)
NoNone
ItemIdItem number of the component.String (20)
ItemId
YesInventTable.ItemIdProdAsBuiltBOMComponentLotAssociationEntity
MatchIdID that matches this component to a tracked product lot association.String (20)
ProdAsBuiltBOMMatchId
YesProdAsBuiltBOMComponentLotAssociationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PickingListJournalIdNumber of the picking list journal linked to this row.String (20)
ProdJournalIdBOM
NoNone
PositionPosition of the component in the bill of materials.String (30)
BOMPosition
NoProdAsBuiltBOMComponentLotAssociationEntity
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
ReferenceIdNumber of the document the component is recorded against.low confidenceString (20)
InventTransRefId
YesProdAsBuiltBOMComponentLotAssociationEntity
SequenceIdSequence number of the row.low confidenceInteger
BOMSequenceId
NoProdAsBuiltBOMComponentLotAssociationEntity
SerialNumberIdSerial number of the tracked component.String (20)
InventSerialId
NoInventSerial.InventSerialIdNone
SiteIdInventory site of the component.String
InventSiteId
NoInventSite.SiteIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendorIdVendor account that supplied the component.String (20)
VendAccount
NoVendTable.AccountNumProdAsBuiltBOMComponentLotAssociationEntity

Indexes (3)

Relations (10)

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

  • BatchNumberId → InventBatch

    Join on ItemId = InventBatch.ItemId, BatchNumberId = InventBatch.inventBatchId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one InventBatch record

  • SerialNumberId → InventSerial

    Join on ItemId = InventSerial.ItemId, SerialNumberId = InventSerial.InventSerialId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one InventSerial record

  • ItemId → InventTable

    Join on ItemId = InventTable.ItemId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one InventTransOrigin record

  • ProductLotAssociation → ProdAsBuiltBOMProductLotAssociation

    Join on MatchId = ProdAsBuiltBOMProductLotAssociation.MatchId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one ProdAsBuiltBOMProductLotAssociation record

  • SiteId → InventSite

    Join on SiteId = InventSite.SiteId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one InventSite record

  • InventUnitId → UnitOfMeasure

    Join on InventUnitId = UnitOfMeasure.Symbol

    Many ProdAsBuiltBOMComponentLotAssociation records → exactly one UnitOfMeasure record

  • ProductionBOM → ProdBOM

    Join on InventTransId = ProdBOM.InventTransId

    Cardinality not set in the metadata.

  • VendorId → VendTable

    Join on VendorId = VendTable.AccountNum

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one VendTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.InventDimId

    Many ProdAsBuiltBOMComponentLotAssociation records → zero or one InventDim record

Get this data out

Tables are not exposed directly. These public entities read from ProdAsBuiltBOMComponentLotAssociation; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk