Table
WHSInventBatchReceiptDetails
Inventory batch receipt details
Holds batch details recorded for a warehouse receipt, per receipt, item and batch number. It includes vendor batch data, dates, countries of origin and a batch disposition code.
- Table name
WHSInventBatchReceiptDetails- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
ReceiptIdItemIdBatchIdIdx- Key fields
ReceiptId, ItemId, InventBatchId- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReceiptIdThe ID of the warehouse receipt. | String (20)WHSReceiptId | Yes | None | |
ItemIdThe item number. It points to an item record. | String (20)ItemId | Yes | InventTable.ItemId | None |
InventBatchIdThe batch number. It points to a batch record for the item. | String (20)InventBatchId | Yes | InventBatch.inventBatchId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpDateThe expiration date of the batch. | DateInventBatchExpDate | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsBatchDispositionCodeThe batch disposition code. It points to a disposition master record. | StringPdsBatchDispositionCode | No | PdsDispositionMaster.DispositionCode | None |
PdsCountryOfOrigin1The first country or region of origin. It points to a country or region record. | StringPdsCountryOfOrigin1 | No | LogisticsAddressCountryRegion.CountryRegionId | None |
PdsCountryOfOrigin2The second country or region of origin. It points to a country or region record. | StringPdsCountryOfOrigin2 | No | LogisticsAddressCountryRegion.CountryRegionId | None |
PdsPotencyBaseValueThe actual potency value, stored as text. | String (30)PDSBaseAttributeValues | No | None | |
PdsUseVendBatchDateShows whether the vendor batch date is used as the manufacturing date (yes or no). | EnumPdsUseVendBatchDateNoYes (enum) | No | None | |
PdsUseVendBatchExpShows whether the vendor expiry date is used as the expiration date (yes or no). | EnumPdsUseVendBatchExpNoYes (enum) | No | None | |
PdsVendBatchDateThe batch date given by the vendor. | DatePdsVendBatchDate | No | None | |
PdsVendBatchIdThe batch number given by the vendor. | String (20)PdsVendBatchId | No | None | |
PdsVendExpiryDateThe expiry date given by the vendor. | DatePdsVendExpiryDate | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ReceiptIdItemIdBatchIdIdxReplacement keyReceiptId,ItemId,InventBatchIdUnique, alternate key.
Relations (5)
Each relation joins WHSInventBatchReceiptDetails to another table on the fields shown.
InventBatch→InventBatchJoin on
InventBatchId = InventBatch.inventBatchId,ItemId = InventBatch.itemIdZero or one WHSInventBatchReceiptDetails record → exactly one InventBatch record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany WHSInventBatchReceiptDetails records → exactly one InventTable record
PdsCountryOfOrigin1→LogisticsAddressCountryRegionJoin on
PdsCountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionIdMany WHSInventBatchReceiptDetails records → zero or one LogisticsAddressCountryRegion record
PdsCountryOfOrigin2→LogisticsAddressCountryRegionJoin on
PdsCountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionIdMany WHSInventBatchReceiptDetails records → zero or one LogisticsAddressCountryRegion record
PdsDispositionMaster→PdsDispositionMasterJoin on
PdsBatchDispositionCode = PdsDispositionMaster.DispositionCodeMany WHSInventBatchReceiptDetails records → zero or one PdsDispositionMaster record
Get this data out
No public entity reads from WHSInventBatchReceiptDetails. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSInventBatchReceiptDetails in a report, an integration or a migration? Talk to Dr Dynamics.