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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CountryOfOrigin1First country or region of origin.String
PdsCountryOfOrigin1
NoLogisticsAddressCountryRegion.CountryRegionIdNone
CountryOfOrigin2Second country or region of origin.String
PdsCountryOfOrigin2
NoLogisticsAddressCountryRegion.CountryRegionIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SourceRefSystem record ID of the source line the vendor batch information belongs to.Int64
PdsVendBatchInfoSource
YesConsignmentReplenishmentOrderLine.RecIdPurchLine.RecIdNone
SourceRefTypeKind of source line the record refers to, such as a purchase order line or consignment replenishment order line.Enum
PdsVendBatchInfoSourceRefType (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseVendBatchDateYes/No value to use the vendor batch date as the manufacturing date.Enum
PdsUseVendBatchDate
NoYes (enum)
NoNone
UseVendBatchExpYes/No value to use the vendor expiry date as the expiration date.Enum
PdsUseVendBatchExp
NoYes (enum)
NoNone
VendBatchDateDate of the vendor batch.Date
PdsVendBatchDate
NoNone
VendBatchIdBatch number given by the vendor.String (20)
PdsVendBatchId
NoNone
VendExpiryDateExpiry date given by the vendor.Date
PdsVendExpiryDate
NoNone

Indexes (1)

Relations (4)

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

  • LogisticsAddressCountryRegion1 → LogisticsAddressCountryRegion

    Join on CountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionId

    Many PdsVendBatchInfo records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressCountryRegion2 → LogisticsAddressCountryRegion

    Join on CountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionId

    Many PdsVendBatchInfo records → exactly one LogisticsAddressCountryRegion record

  • PurchLine → PurchLine

    Join on SourceRef = PurchLine.RecId, SourceRefType = PdsVendBatchInfoSourceRefType::PurchaseOrderLine

    Zero or one PdsVendBatchInfo record → zero or one PurchLine record

  • ConsignmentReplenishmentOrderLine → ConsignmentReplenishmentOrderLine

    Join on SourceRef = ConsignmentReplenishmentOrderLine.RecId, SourceRefType = PdsVendBatchInfoSourceRefType::ConsignmentReplenishmentOrderLine

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

Email sales@drdynamics.co.uk