Table

InventBatchJournal

Inventory batch merge

Header record for an inventory batch merge or split. It is identified by the batch merge journal ID. It links to an inventory journal, an item and an inventory dimension, and shows the journal type and whether it is posted.

Table name
InventBatchJournal
Module
Inventory
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
JournalIdx
Key fields
JournalId
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdUnique ID of the batch merge journal.String (20)
InventBatchJournalId
YesNone
BOMJournalIdInventory journal linked to this batch merge record.String (20)
InventJournalId
NoInventJournalTable.JournalIdNone
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
InventDimIdInventory dimension combination for the record.String (20)
InventDimId
YesInventDim.inventDimIdNone
ItemIdItem that the batch merge or split is for.String (20)
ItemId
YesInventTable.ItemIdNone
JournalTypeShows whether the journal is a merge or a split, or has no type.Enum
InventBatchJournalType (enum)
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
PostedYes/No flag showing whether the journal has been posted.Enum
JournalPosted
NoYes (enum)
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 (2)

Relations (3)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    One or more InventBatchJournal records → exactly one InventDim record

  • InventJournalTable → InventJournalTable

    Join on InventJournalTable.JournalType = InventJournalType::BOM, BOMJournalId = InventJournalTable.JournalId

    Many InventBatchJournal records → zero or one InventJournalTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more InventBatchJournal records → exactly one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk