Table

InventBatchJournalResult

Inventory batch merge result

Holds the result batch of an inventory batch merge. It carries the quantity, inventory dimension, dates (manufacturing, expiry, best before, shelf advice), vendor batch details, countries of origin and disposition code. It links to the batch merge journal and has no defined key.

Table name
InventBatchJournalResult
Module
Inventory
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchMergeDateCalculationMethodMethod used to set the dates on the merged batch: manual, earliest or latest.Enum
InventBatchMergeDateCalculationMethod (enum)
NoNone
BestBeforeDateBest before date of the result batch.Date
PdsBestBeforeDate
NoNone
CountryOfOrigin1First country or region of origin, pointing to the country/region record.String
PdsCountryOfOrigin1
NoLogisticsAddressCountryRegion.CountryRegionIdNone
CountryOfOrigin2Second country or region of origin, pointing to the country/region record.String
PdsCountryOfOrigin2
NoLogisticsAddressCountryRegion.CountryRegionIdNone
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
CWInventQtyQuantity in catch weight units.Real
PdsCWInventQty
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DispositionCodeBatch disposition code, pointing to the batch disposition master.String
PdsDispositionCode
NoPdsDispositionMaster.DispositionCodeNone
InventBatchExpDateExpiration date of the batch.Date
InventBatchExpDate
NoNone
InventBatchJournalLink to the batch merge journal record by its system record ID.Int64
InventBatchJournalRecId
YesInventBatchJournal.RecIdNone
InventBatchProdDateManufacturing date of the batch.Date
InventBatchProdDate
NoNone
InventDimIdInventory dimension combination of the result.String (20)
InventDimId
YesInventDim.inventDimIdNone
InventQtyQuantity of the result batch.Real
InventQty
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
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
ShelfAdviceDateShelf advice date of the batch.Date
PdsShelfAdviceDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseVendBatchDateYes/No flag: use the vendor batch date as the manufacturing date.Enum
PdsUseVendBatchDate
NoYes (enum)
NoNone
UseVendBatchExpYes/No flag: use the vendor expiry date as the expiration date.Enum
PdsUseVendBatchExp
NoYes (enum)
NoNone
VendBatchDateDate set by the vendor for the 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 (5)

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

  • CountryOfOrigin1 → LogisticsAddressCountryRegion

    Join on CountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionId

    Many InventBatchJournalResult records → zero or one LogisticsAddressCountryRegion record

  • CountryOfOrigin2 → LogisticsAddressCountryRegion

    Join on CountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionId

    Many InventBatchJournalResult records → zero or one LogisticsAddressCountryRegion record

  • InventBatchJournal → InventBatchJournal

    Join on InventBatchJournal = InventBatchJournal.RecId

    Many InventBatchJournalResult records → exactly one InventBatchJournal record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    One or more InventBatchJournalResult records → exactly one InventDim record

  • PdsDispositionMaster → PdsDispositionMaster

    Join on DispositionCode = PdsDispositionMaster.DispositionCode

    Many InventBatchJournalResult records → zero or one PdsDispositionMaster record

Get this data out

No public entity reads from InventBatchJournalResult. Its data is only reachable through the application, a custom entity or a database export.

Need help with InventBatchJournalResult in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk