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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemIdNumber of the item the batch belongs to. | String (20)ItemId | Yes | InventTable.ItemId | PdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity |
InventBatchIdNumber of the batch the value belongs to. Used with the item number to find the batch. | String (20)InventBatchId | Yes | InventBatch.inventBatchId | PdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity |
PdsBatchAttribIdBatch attribute that the value is for. | String (20)PdsBatchAttribId | Yes | PdsBatchAttrib.PdsBatchAttribId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsBatchAttribQualityOrderIdQuality order linked to this attribute value. | String (20)PdsBatchAttribQualityOrderId | No | InventQualityOrderTable.QualityOrderId | PdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity |
PdsBatchAttribValueValue recorded for the attribute on this batch. | String (30)PdsBatchAttribValue | No | PdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity | |
PDSInheritedYes/No flag showing whether the value was inherited. | EnumPDSInheritedNoYes (enum) | No | PdsItemBatchAttributeValueV2EntityPdsItemBatchAttributeValueEntity | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PdsBatchAttributesIdxPrimary indexItemId,InventBatchId,PdsBatchAttribIdUnique, alternate key.
Relations (4)
Each relation joins PdsBatchAttributes to another table on the fields shown.
InventBatch→InventBatchJoin on
InventBatchId = InventBatch.inventBatchId,ItemId = InventBatch.itemIdMany PdsBatchAttributes records → exactly one InventBatch record
InventQualityOrderTables→InventQualityOrderTableJoin on
PdsBatchAttribQualityOrderId = InventQualityOrderTable.QualityOrderIdMany PdsBatchAttributes records → zero or one InventQualityOrderTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany PdsBatchAttributes records → exactly one InventTable record
PdsBatchAttrib→PdsBatchAttribJoin on
PdsBatchAttribId = PdsBatchAttrib.PdsBatchAttribIdMany 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.
PdsItemBatchAttributeValueV2Entity· 5 fields from this tablePdsItemBatchAttributeValueEntity· 5 fields from this table
Need help with PdsBatchAttributes in a report, an integration or a migration? Talk to Dr Dynamics.