Table

PdsBatchAttributes

Inventory batch attributes

Stores the batch attribute values recorded for inventory batches. The key is item, batch number and attribute. A row can also point to the quality order linked to the value.

Table name
PdsBatchAttributes
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
PdsBatchAttrib
Primary index
PdsBatchAttributesIdx
Replacement key
None
Key fields
ItemId, InventBatchId, PdsBatchAttribId
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemIdNumber of the item the batch belongs to.String (20)
ItemId
YesInventTable.ItemIdPdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity
InventBatchIdNumber of the batch the value belongs to. Used with the item number to find the batch.String (20)
InventBatchId
YesInventBatch.inventBatchIdPdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity
PdsBatchAttribIdBatch attribute that the value is for.String (20)
PdsBatchAttribId
YesPdsBatchAttrib.PdsBatchAttribIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsBatchAttribQualityOrderIdQuality order linked to this attribute value.String (20)
PdsBatchAttribQualityOrderId
NoInventQualityOrderTable.QualityOrderIdPdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity
PdsBatchAttribValueValue recorded for the attribute on this batch.String (30)
PdsBatchAttribValue
NoPdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity
PDSInheritedYes/No flag showing whether the value was inherited.Enum
PDSInherited
NoYes (enum)
NoPdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity
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
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

Indexes (1)

Relations (4)

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

  • InventBatch → InventBatch

    Join on InventBatchId = InventBatch.inventBatchId, ItemId = InventBatch.itemId

    Many PdsBatchAttributes records → exactly one InventBatch record

  • InventQualityOrderTables → InventQualityOrderTable

    Join on PdsBatchAttribQualityOrderId = InventQualityOrderTable.QualityOrderId

    Many PdsBatchAttributes records → zero or one InventQualityOrderTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PdsBatchAttributes records → exactly one InventTable record

  • PdsBatchAttrib → PdsBatchAttrib

    Join on PdsBatchAttribId = PdsBatchAttrib.PdsBatchAttribId

    Many PdsBatchAttributes records → exactly one PdsBatchAttrib record

Get this data out

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

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

Email sales@drdynamics.co.uk