Table 233 "Item Journal Batch"
Base Application · Microsoft.Inventory.Journal
Across versions
- BC23present
- BC242 fields changed
- BC25-27unchanged
- BC286 fields changed, 1 fields added
- BC29-30unchanged
Neighbourhood 17 connected objects and pages
Base Application · Microsoft.Inventory.Journal · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 262 “Item Journal Batches” (1 Learn page).
Properties
| Property | Value |
|---|---|
| Caption | Item Journal Batch |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Journal Template Name | Code[10] | — | TableRelation Table 82 “Item Journal Template” (Item Journal Template); NotBlank |
| 2 | Name Δ BC28 | Code[10] | Specifies the name of the item journal you are creating. | NotBlank |
| 3 | Description Δ BC28 | Text[100] | Specifies a brief description of the item journal batch you are creating. | |
| 4 | Reason Code Δ BC28 | Code[10] | Specifies the reason code, a supplementary source code that enables you to trace the entry. | TableRelation Table 231 “Reason Code” (Reason Code) |
| 5 | No. Series Δ BC28 | Code[20] | Specifies the number series from which entry or record numbers are assigned to new entries or records. | TableRelation Table 308 “No. Series” (No. Series) |
| 6 | Posting No. Series Δ BC28 | Code[20] | Specifies the number series code used to assign document numbers to ledger entries that are posted from this journal batch. | TableRelation Table 308 “No. Series” (No. Series) |
| 21 | Template Type Δ BC24 | Enum “Item Journal Template Type” | — | FlowField: lookup(“Item Journal Template”.Type where(Name = field(“Journal Template Name”))); enum Enum 83 “Item Journal Template Type”; not editable |
| 22 | Recurring Δ BC24 | Boolean | — | FlowField: lookup(“Item Journal Template”.Recurring where(Name = field(“Journal Template Name”))); not editable |
| 40 | No. of Lines + BC28 | Integer | Specifies the number of lines in this journal batch. | FlowField: count(“Item Journal Line” where(“Journal Template Name” = field(“Journal Template Name”), “Journal Batch Name” = field(Name))); not editable |
| 6500 | Item Tracking on Lines Δ BC28 | Boolean | Specifies if item tracking can be selected directly on the item journal lines. |
Keys
- Key1: Journal Template Name, Name (clustered)
Events published
OnMoveItemJournalBatch(ToRecordID: RecordId)+ BC28 (integration)- subscribers: Codeunit 1535 “Approvals Mgmt.” PostApprovalEntriesMoveItemJournalBatch
OnAfterSetupNewBatch(var ItemJournalBatch: Record "Item Journal Batch"; ItemJnlTemplate: Record "Item Journal Template")(integration)OnBeforeSetupNewBatch(var ItemJournalBatch: Record "Item Journal Batch"; var ItemJournalTemplate: Record "Item Journal Template"; var IsHandled: Boolean)(integration)OnBeforeValidateItemTrackingOnLines(var ItemJournalBatch: Record "Item Journal Batch"; var IsHandled: Boolean)(integration)
Trigger event subscribers
- OnAfterDeleteEvent: Codeunit 1535 “Approvals Mgmt.” DeleteApprovalEntriesAfterDeleteItemJournalBatch
- OnAfterRenameEvent: Codeunit 1550 “Record Restriction Mgt.” UpdateItemJournalBatchRestrictionsAfterRename
- OnBeforeDeleteEvent: Codeunit 1550 “Record Restriction Mgt.” RemoveItemJournalBatchRestrictionsBeforeDelete
Procedures
SetupNewBatch()SetApprovalStateForBatch(ItemJournalBatch: Record "Item Journal Batch"; ItemJournalLine: Record "Item Journal Line"; var OpenApprovalEntriesExistForCurrentUser: Boolean; var OpenApprovalEntriesOnJournalBatchExist: Boolean; var CanCancelApprovalForJournalBatch: Boolean; var LocalCanRequestFlowApprovalForBatch: Boolean; var LocalCanCancelFlowApprovalForBatch: Boolean; var LocalApprovalEntriesExistSentByCurrentUser: Boolean; var EnabledItemJournalBatchWorkflowsExist: Boolean)+ BC28 (internal)
Triggers
OnDelete, OnInsert, OnModify, OnRename
Relations
- lookup page Page 262 “Item Journal Batches”
- Reason Code: TableRelation Table 231 “Reason Code”
- No. Series: TableRelation Table 308 “No. Series”
- Posting No. Series: TableRelation Table 308 “No. Series”
- Recurring: CalcFormula Table 82 “Item Journal Template”
- Template Type: CalcFormula Table 82 “Item Journal Template”
- Journal Template Name: TableRelation Table 82 “Item Journal Template”
- No. of Lines: CalcFormula Table 83 “Item Journal Line”
Referenced by
3 fields in 3 objects relate to this table (TableRelation or CalcFormula).
- Table 46 “Item Register”: Journal Batch Name
- Table 7313 “Warehouse Register”: Journal Batch Name
- Table 83 “Item Journal Line”: Journal Batch Name
Pages and codeunits on this table
- Page 262 “Item Journal Batches” (source table)
- Codeunit 243 “Item Jnl.-B.Post” (codeunit runs on it)
- Codeunit 244 “Item Jnl.-B.Post+Print” (codeunit runs on it)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1535 “Approvals Mgmt.” (7 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnModify → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnRename → OnRenameRecordInApprovalRequest, …) - Codeunit 1501 “Workflow Management” (1 call:
SetApprovalStateForBatch → EnabledWorkflowExist) - Codeunit 1520 “Workflow Event Handling” (1 call:
SetApprovalStateForBatch → RunWorkflowOnSendItemJournalBatchForApprovalCode) - Codeunit 1543 “Workflow Webhook Management” (1 call:
SetApprovalStateForBatch → GetCanRequestAndCanCancel)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Item Journal Batch"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.