Data entity
InventItemBatchEntity
Holds batches of items, identified by item number and batch number. Each record has dates such as expiration, best before, manufacturing and last tested date. It also has origin countries, the vendor's batch details and a batch disposition code.
- Entity name
InventItemBatchEntity- Public entity name
ItemBatch- OData collection
ItemBatches- Category
Not set- Module
Inventory and warehouse management- Read-only
No- Data management enabled
Yes- Configuration key
LogisticsBasic- Keys
ItemNumber, BatchNumber- Staging table
InventItemBatchStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ItemBatches- Dataverse virtual table
mserp_inventitembatchentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
InventBatch· root
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BatchDescriptionA free text note about the batch. | String (-1)InventBatchTxt | No | Yes | InventBatch.description | |
BatchExpirationDateThe date the batch expires. | DateInventBatchExpDate | No | Yes | InventBatch.expDate | |
BatchNumberThe batch number. | String (20)InventBatchId | Yes | Yes | InventBatch.inventBatchId | |
ItemNumberThe item the batch belongs to. Points to the item table. | String (20)ItemId | Yes | Yes | InventTable.ItemId | InventBatch.itemId |
BestBeforeDateThe best before date of the batch. | DatePdsBestBeforeDate | No | Yes | InventBatch.PdsBestBeforeDate | |
PrimaryVendorOriginCountryRegionIdThe first country or region of origin. | StringPdsCountryOfOrigin1 | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | InventBatch.PdsCountryOfOrigin1 |
SecondaryVendorOriginCountryRegionIdThe second country or region of origin. | StringPdsCountryOfOrigin2 | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | InventBatch.PdsCountryOfOrigin2 |
BatchDispositionCodeThe disposition code of the batch. Points to the batch disposition master. | StringPdsDispositionCode | No | Yes | PdsDispositionMaster.DispositionCode | InventBatch.PdsDispositionCode |
MostRecentTestDateThe date the batch was last tested. | DatePdsFinishedGoodsDateTested | No | Yes | InventBatch.PdsFinishedGoodsDateTested | |
AreBatchAttributesInheritedWhether the batch takes its attributes from another source. | EnumPDSInheritBatchAttrib
| No | Yes | InventBatch.PDSInheritBatchAttrib | |
AreShelfLifeDatesInheritedWhether the batch takes its shelf life from the material. | EnumPDSInheritShelfLife
| No | Yes | InventBatch.PDSInheritedShelfLife | |
IsBatchConsolidatedWhether the same batch must be selected. | EnumPdsSameLot
| No | Yes | InventBatch.PdsSameLot | |
ShelfLifeAdviceDateThe shelf advice date of the batch. | DatePdsShelfAdviceDate | No | Yes | InventBatch.PdsShelfAdviceDate | |
IsManufacturingDateVendorBatchDateWhether the vendor batch date is used as the manufacturing date. | EnumPdsUseVendBatchDate
| No | Yes | InventBatch.PdsUseVendBatchDate | |
IsExpirationDateVendorExpirationDateWhether the vendor expiry date is used as the expiration date. | EnumPdsUseVendBatchExp
| No | Yes | InventBatch.PdsUseVendBatchExp | |
VendorBatchDateThe batch date given by the vendor. | DatePdsVendBatchDate | No | Yes | InventBatch.PdsVendBatchDate | |
VendorBatchNumberThe batch number given by the vendor. | String (20)PdsVendBatchId | No | Yes | InventBatch.PdsVendBatchId | |
VendorExpirationDateThe expiry date given by the vendor. | DatePdsVendExpiryDate | No | Yes | InventBatch.PdsVendExpiryDate | |
ManufacturingDateThe date the batch was manufactured. | DateInventBatchProdDate | No | Yes | InventBatch.prodDate |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ItemNumber→InventTable.ItemId(key of InventTable)Many InventBatch records → exactly one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
PrimaryVendorOriginCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many InventBatch records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
SecondaryVendorOriginCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many InventBatch records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
BatchDispositionCode→PdsDispositionMaster.DispositionCode(key of PdsDispositionMaster)Many InventBatch records → zero or one PdsDispositionMaster record
Not exposed by a public entity.
Need help with InventItemBatchEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.