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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ReceiptIdThe ID of the warehouse receipt.String (20)
WHSReceiptId
YesNone
ItemIdThe item number. It points to an item record.String (20)
ItemId
YesInventTable.ItemIdNone
InventBatchIdThe batch number. It points to a batch record for the item.String (20)
InventBatchId
YesInventBatch.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
ExpDateThe expiration date of the batch.Date
InventBatchExpDate
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsBatchDispositionCodeThe batch disposition code. It points to a disposition master record.String
PdsBatchDispositionCode
NoPdsDispositionMaster.DispositionCodeNone
PdsCountryOfOrigin1The first country or region of origin. It points to a country or region record.String
PdsCountryOfOrigin1
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PdsCountryOfOrigin2The second country or region of origin. It points to a country or region record.String
PdsCountryOfOrigin2
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PdsPotencyBaseValueThe actual potency value, stored as text.String (30)
PDSBaseAttributeValues
NoNone
PdsUseVendBatchDateShows whether the vendor batch date is used as the manufacturing date (yes or no).Enum
PdsUseVendBatchDate
NoYes (enum)
NoNone
PdsUseVendBatchExpShows whether the vendor expiry date is used as the expiration date (yes or no).Enum
PdsUseVendBatchExp
NoYes (enum)
NoNone
PdsVendBatchDateThe batch date given by the vendor.Date
PdsVendBatchDate
NoNone
PdsVendBatchIdThe batch number given by the vendor.String (20)
PdsVendBatchId
NoNone
PdsVendExpiryDateThe expiry date given by the vendor.Date
PdsVendExpiryDate
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • InventBatch → InventBatch

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

    Zero or one WHSInventBatchReceiptDetails record → exactly one InventBatch record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many WHSInventBatchReceiptDetails records → exactly one InventTable record

  • PdsCountryOfOrigin1 → LogisticsAddressCountryRegion

    Join on PdsCountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionId

    Many WHSInventBatchReceiptDetails records → zero or one LogisticsAddressCountryRegion record

  • PdsCountryOfOrigin2 → LogisticsAddressCountryRegion

    Join on PdsCountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionId

    Many WHSInventBatchReceiptDetails records → zero or one LogisticsAddressCountryRegion record

  • PdsDispositionMaster → PdsDispositionMaster

    Join on PdsBatchDispositionCode = PdsDispositionMaster.DispositionCode

    Many 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.

Email sales@drdynamics.co.uk