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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BatchMergeDateCalculationMethodMethod used to set the dates on the merged batch: manual, earliest or latest. | EnumInventBatchMergeDateCalculationMethod (enum) | No | None | |
BestBeforeDateBest before date of the result batch. | DatePdsBestBeforeDate | No | None | |
CountryOfOrigin1First country or region of origin, pointing to the country/region record. | StringPdsCountryOfOrigin1 | No | LogisticsAddressCountryRegion.CountryRegionId | None |
CountryOfOrigin2Second country or region of origin, pointing to the country/region record. | StringPdsCountryOfOrigin2 | No | LogisticsAddressCountryRegion.CountryRegionId | 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 | |
CWInventQtyQuantity in catch weight units. | RealPdsCWInventQty | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DispositionCodeBatch disposition code, pointing to the batch disposition master. | StringPdsDispositionCode | No | PdsDispositionMaster.DispositionCode | None |
InventBatchExpDateExpiration date of the batch. | DateInventBatchExpDate | No | None | |
InventBatchJournalLink to the batch merge journal record by its system record ID. | Int64InventBatchJournalRecId | Yes | InventBatchJournal.RecId | None |
InventBatchProdDateManufacturing date of the batch. | DateInventBatchProdDate | No | None | |
InventDimIdInventory dimension combination of the result. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
InventQtyQuantity of the result batch. | RealInventQty | 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 | |
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 | |
ShelfAdviceDateShelf advice date of the batch. | DatePdsShelfAdviceDate | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UseVendBatchDateYes/No flag: use the vendor batch date as the manufacturing date. | EnumPdsUseVendBatchDateNoYes (enum) | No | None | |
UseVendBatchExpYes/No flag: use the vendor expiry date as the expiration date. | EnumPdsUseVendBatchExpNoYes (enum) | No | None | |
VendBatchDateDate set by the vendor for the 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)
BatchJournalDimIdxInventBatchJournal,InventDimIdUnique.
Relations (5)
Each relation joins InventBatchJournalResult to another table on the fields shown.
CountryOfOrigin1→LogisticsAddressCountryRegionJoin on
CountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionIdMany InventBatchJournalResult records → zero or one LogisticsAddressCountryRegion record
CountryOfOrigin2→LogisticsAddressCountryRegionJoin on
CountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionIdMany InventBatchJournalResult records → zero or one LogisticsAddressCountryRegion record
InventBatchJournal→InventBatchJournalJoin on
InventBatchJournal = InventBatchJournal.RecIdMany InventBatchJournalResult records → exactly one InventBatchJournal record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdOne or more InventBatchJournalResult records → exactly one InventDim record
PdsDispositionMaster→PdsDispositionMasterJoin on
DispositionCode = PdsDispositionMaster.DispositionCodeMany 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.