Table
PdsVendBatchInfo
Vendor batch information
Holds vendor batch details for a source line, such as a purchase order line, a consignment replenishment order line or an inbound shipment order line. It stores the vendor batch number, dates and countries or regions of origin. It has no defined key.
- Table name
PdsVendBatchInfo- Module
Inventory- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
PdsVendBatch- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountryOfOrigin1First country or region of origin. | StringPdsCountryOfOrigin1 | No | LogisticsAddressCountryRegion.CountryRegionId | None |
CountryOfOrigin2Second country or region of origin. | StringPdsCountryOfOrigin2 | No | LogisticsAddressCountryRegion.CountryRegionId | 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 | |
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 | |
SourceRefSystem record ID of the source line the vendor batch information belongs to. | Int64PdsVendBatchInfoSource | Yes | ConsignmentReplenishmentOrderLine.RecIdPurchLine.RecId | None |
SourceRefTypeKind of source line the record refers to, such as a purchase order line or consignment replenishment order line. | EnumPdsVendBatchInfoSourceRefType (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UseVendBatchDateYes/No value to use the vendor batch date as the manufacturing date. | EnumPdsUseVendBatchDateNoYes (enum) | No | None | |
UseVendBatchExpYes/No value to use the vendor expiry date as the expiration date. | EnumPdsUseVendBatchExpNoYes (enum) | No | None | |
VendBatchDateDate of the vendor batch. | DatePdsVendBatchDate | No | None | |
VendBatchIdBatch number given by the vendor. | String (20)PdsVendBatchId | No | None | |
VendExpiryDateExpiry date given by the vendor. | DatePdsVendExpiryDate | No | None |
Indexes (1)
SourceRefIdxUnique.
Relations (4)
Each relation joins PdsVendBatchInfo to another table on the fields shown.
LogisticsAddressCountryRegion1→LogisticsAddressCountryRegionJoin on
CountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionIdMany PdsVendBatchInfo records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion2→LogisticsAddressCountryRegionJoin on
CountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionIdMany PdsVendBatchInfo records → exactly one LogisticsAddressCountryRegion record
PurchLine→PurchLineJoin on
SourceRef = PurchLine.RecId,SourceRefType = PdsVendBatchInfoSourceRefType::PurchaseOrderLineZero or one PdsVendBatchInfo record → zero or one PurchLine record
ConsignmentReplenishmentOrderLine→ConsignmentReplenishmentOrderLineJoin on
SourceRef = ConsignmentReplenishmentOrderLine.RecId,SourceRefType = PdsVendBatchInfoSourceRefType::ConsignmentReplenishmentOrderLineZero or one PdsVendBatchInfo record → zero or one ConsignmentReplenishmentOrderLine record
Get this data out
No public entity reads from PdsVendBatchInfo. Its data is only reachable through the application, a custom entity or a database export.
Need help with PdsVendBatchInfo in a report, an integration or a migration? Talk to Dr Dynamics.