Codeunit 7301 "Whse. Jnl.-Register Line"
Base Application · Microsoft.Warehouse.Journal
Across versions
- BC23present
- BC241 events added, 1 events removed
- BC255 events added, 3 procedures added
- BC261 events added, 1 events removed
- BC272 procedures changed, 1 procedures added
- BC282 events added, 1 events removed
- BC29unchanged
- BC302 procedures removed
Neighbourhood 28 connected objects and pages
Base Application · Microsoft.Warehouse.Journal · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Warehouse Journal Line |
| Permissions | TableData “Warehouse Entry” = rimd, TableData “Warehouse Register” = rimd, TableData Bin = m, TableData “Bin Content” = rimd |
Events published
OnInitWhseEntryCopyFromWhseJnlLine(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line"; OnMovement: Boolean; Sign: Integer; Location: Record Location; BinCode: Code[20]; var IsHandled: Boolean)(integration)OnInitWhseEntryOnBeforeInitWhseEntry(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line"; ZoneCode: Code[10]; BinCode: Code[20]; Sign: Integer; var GlobalWhseEntryNo: Integer)+ BC28 (integration)OnInitWhseEntryOnAfterCalcShouldDeleteFromBinContent(WarehouseJournalLine: Record "Warehouse Journal Line"; Location: Record Location; var ShouldDeleteFromBinContent: Boolean)(integration)OnAfterCode(var WarehouseJournalLine: Record "Warehouse Journal Line"; var WhseEntryNo: Integer; var WarehouseRegister: Record "Warehouse Register")(integration)OnAfterInsertWhseEntry(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line")(integration)- subscribers: Codeunit 20438 “Qlty. Warehouse Integration” HandleOnAfterInsertWhseEntry, Codeunit 23 “Item Jnl.-Post Batch” OnAfterInsertWhseEntry, Codeunit 7304 “Whse. Jnl.-Register Batch” OnAfterInsertWhseEntry
OnBeforeBinContentInsert(var BinContent: Record "Bin Content"; WarehouseEntry: Record "Warehouse Entry"; Bin: Record Bin)+ BC24 − BC24 (integration)OnBeforeCheckExpiration(var WarehouseEntry: Record "Warehouse Entry"; ItemTrackingCode: Record "Item Tracking Code"; var IsHandled: Boolean)(integration)OnBeforeCode(var WarehouseJournalLine: Record "Warehouse Journal Line"; var WhseEntryNo: Integer; var IsHandled: Boolean; var WarehouseRegister: Record "Warehouse Register")+ BC26 − BC26 + BC28 − BC28 (integration)OnBeforeDeleteFromBinContent(var WarehouseEntry: Record "Warehouse Entry"; var IsHandled: Boolean)(integration)OnBeforeGetBinForBinContent(var WarehouseEntry: Record "Warehouse Entry"; var IsHandled: Boolean)(integration)OnBeforeInsertWhseEntry(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line")(integration)OnBeforeInsertWhseEntryProcedure(var WarehouseEntry: Record "Warehouse Entry"; WarehouseJournalLine: Record "Warehouse Journal Line"; var IsHandled: Boolean)(integration)OnBeforeInsertToBinContent(var WarehouseEntry: Record "Warehouse Entry")(integration)OnBeforeUpdateBinEmpty(WarehouseEntry: Record "Warehouse Entry"; var Bin: Record Bin; var IsHandled: Boolean)(integration)OnCodeOnAfterGetLastEntryNo(var WhseJnlLine: Record "Warehouse Journal Line")(integration)OnCodeBeforeInitWhseEntryFromBinCode(WarehouseJournalLine: Record "Warehouse Journal Line"; WarehouseEntry: Record "Warehouse Entry")(integration)OnDeleteDefaultBinContentOnBeforeBinContentModify(var BinContent: Record "Bin Content")(integration)OnDeleteFromBinContentOnAfterSetFiltersForWhseEntry(var WarehouseEntry2: Record "Warehouse Entry"; var BinContent: Record "Bin Content"; var WarehouseEntry: Record "Warehouse Entry")(integration)OnDeleteFromBinContentOnAfterSetFiltersForBinContent(var BinContent: Record "Bin Content"; WarehouseEntry: Record "Warehouse Entry"; var WhseJnlLine: Record "Warehouse Journal Line"; var WhseReg: Record "Warehouse Register"; var WhseEntryNo: Integer; var IsHandled: Boolean)(integration)OnDeleteFromBinContentOnBeforeFieldError(BinContent: Record "Bin Content"; WarehouseEntry: Record "Warehouse Entry"; var IsHandled: Boolean)(integration)OnDeleteFromBinContentOnBeforeFromBinContentDelete(var BinContent: Record "Bin Content")(integration)OnDeleteFromBinContentOnBeforeCheckQuantity(var BinContent: Record "Bin Content"; WarehouseEntry: Record "Warehouse Entry")(integration)OnInitWhseEntryOnAfterGetToBinContent(var WhseEntry: Record "Warehouse Entry"; var ItemTrackingMgt: Codeunit "Item Tracking Management"; var WhseJnlLine: Record "Warehouse Journal Line"; var WhseReg: Record "Warehouse Register"; var WhseEntryNo: Integer; var Bin: Record Bin)(integration)OnInsertWhseEntryOnBeforeCheckSerialNo(WarehouseEntry: Record "Warehouse Entry"; var IsHandled: Boolean)(integration)OnUpdateDefaultBinContentOnBeforeBinContentModify(var BinContent: Record "Bin Content")(integration)OnUpdateDefaultBinContentOnBeforeBinContent2Modify(var BinContent: Record "Bin Content")(integration)RegisterRoundResidualOnAfterGetBin(var WhseJnlLine2: Record "Warehouse Journal Line"; WhseEntry: Record "Warehouse Entry"; WhseEntry2: Record "Warehouse Entry")(integration)OnDeleteFromBinContenOnAfterQtyUpdate(var FromBinContent: Record "Bin Content"; var WhseEntry: Record "Warehouse Entry"; var WhseJnlLine: Record "Warehouse Journal Line"; Sign: Integer)(integration)OnBeforeModifyBinEmpty(var Bin: Record Bin; NewEmpty: Boolean)(integration)OnBeforeCheckDefaultBin(WhseEntry: Record "Warehouse Entry"; var BinContent: Record "Bin Content"; var IsHandled: Boolean)(integration)OnRegisterRoundResidualOnBeforeWhseJnlRegLineSetWhseRegister(var WhseEntry: Record "Warehouse Entry"; var WhseEntry2: Record "Warehouse Entry"; var WhseJnlLine: Record "Warehouse Journal Line"; var WhseJnlLine2: Record "Warehouse Journal Line"; var Bin: Record Bin)+ BC25 − BC25 (integration)OnDeleteFromBinContentOnAfterClearTrackingFilters(var WarehouseEntry2: Record "Warehouse Entry"; var FromBinContent: Record "Bin Content"; WarehouseEntry: Record "Warehouse Entry")(integration)OnDeleteFromBinContentOnAfterGetWhseItemTrkgSetup(FromBinContent: Record "Bin Content"; WhseItemTrackingSetup: Record "Item Tracking Setup")(integration)OnInsertWhseEntryOnBeforeTestFieldExpirationDate(WhseEntry: Record "Warehouse Entry"; ExistingExpDate: Date; var IsHandled: Boolean)(integration)OnAfterUpdateBinEmpty(WarehouseEntry: Record "Warehouse Entry"; Bin: Record Bin)+ BC25 (integration)OnInsertWhseRegOnBeforeInsertRecord(var WarehouseReg: Record "Warehouse Register"; var WarehouseJournalLine: Record "Warehouse Journal Line"; WhseEntryNo: Integer)+ BC25 (integration)OnInsertWhseRegOnBeforeModifyWarehouseRegister(var WarehouseReg: Record "Warehouse Register"; var WarehouseJournalLine: Record "Warehouse Journal Line"; WhseEntryNo: Integer)+ BC25 (integration)OnAfterSetWhseRegister(var WarehouseRegister: Record "Warehouse Register")+ BC25 (integration)
Event subscriptions
- OnPreviewableLedgerEntry subscribes to Codeunit “Sequence No. Mgt.” OnPreviewableLedgerEntry
Procedures
LockWarehouseTables()+ BC25LockIfLegacyPosting()+ BC25 Δ BC27 − BC30 (obsolete 27.0: This function is deprecated. Concurrent warehouse posting is always on.)LockTables()Δ BC27 − BC30 (obsolete 27.0: This function is deprecated. Concurrent warehouse posting is always on.)InitWhseEntry(var WhseEntry: Record "Warehouse Entry"; ZoneCode: Code[10]; BinCode: Code[20]; Sign: Integer)InsertToBinContent(WhseEntry: Record "Warehouse Entry")UpdateDefaultBinContent(ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; BinCode: Code[20])SetWhseRegister(WhseRegDef: Record "Warehouse Register")GetWhseRegister(var WhseRegDef: Record "Warehouse Register")RegisterWhseJnlLine(var WarehouseJournalLine: Record "Warehouse Journal Line")SetWhseEntryNo(NewWhseEntryNo: Integer)GetWhseEntryNo(): Integer
Plus 15 local procedures.
Triggers
OnRun
Relations
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 7302 “WMS Management” (3 calls:
CheckDefaultBin → CheckDefaultBin,InitWhseEntry → GetBaseUOM,InsertWhseEntry → SerialNoOnInventory) - Codeunit 6500 “Item Tracking Management” (2 calls:
CheckExpiration → GetWhseExpirationDate,DeleteFromBinContent → GetWhseItemTrkgSetup) - Codeunit 7317 “Whse. Integration Management” (1 call:
InsertToBinContent → IsOpenShopFloorBin) - Codeunit 9500 “Sequence No. Mgt.” (1 call:
ValidateSequenceNo → ValidateSeqNo)
Called by
- Codeunit 90 “Purch.-Post” (2 calls:
CreatePositiveEntry → (object),PostItemJnlLineWhseLine → (object)) - Codeunit 1012 “Job Jnl.-Post Line” (1 call:
PostWhseJnlLine → RegisterWhseJnlLine) - Codeunit 22 “Item Jnl.-Post Line” (1 call:
RegisterWhseJnlLine → RegisterWhseJnlLine) - Codeunit 23 “Item Jnl.-Post Batch” (1 call:
PostWhseJnlLines → (object)) - Codeunit 5704 “TransferOrder-Post Shipment” (1 call:
PostWhseJnlLine → RegisterWhseJnlLine) - Codeunit 5705 “TransferOrder-Post Receipt” (1 call:
PostWhseJnlLine → RegisterWhseJnlLine) - Codeunit 5760 “Whse.-Post Receipt” (1 call:
PostWhseJnlLine → (object)) - Codeunit 5763 “Whse.-Post Shipment” (1 call:
PostWhseJnlLine → (object)) - Codeunit 5850 “Invt. Doc.-Post Receipt” (1 call:
PostWhseJnlLine → (object)) - Codeunit 5851 “Invt. Doc.-Post Shipment” (1 call:
PostWhseJnlLine → (object)) - Codeunit 5856 “TransferOrder-Post Transfer” (1 call:
PostWhseJnlLine → (object)) - Codeunit 5884 “Phys. Invt. Order-Post” (1 call:
PostWhseJnlLine → (object)) - Codeunit 5987 “Serv-Posting Journals Mgt.” (1 call:
PostWhseJnlLines → RegisterWhseJnlLine) - Codeunit 7304 “Whse. Jnl.-Register Batch” (1 call:
Code → (object)) - Codeunit 7307 “Whse.-Activity-Register” (1 call:
RegisterWhseJnlLine → (object)) - Codeunit 7320 “Whse. Undo Quantity” (1 call:
PostTempWhseJnlLineCache → RegisterWhseJnlLine) - Codeunit 7324 “Whse.-Activity-Post” (1 call:
PostWhseJnlLine → (object)) - Codeunit 80 “Sales-Post” (1 call:
PostItemJnlLineWhseLine → (object)) - Codeunit 900 “Assembly-Post” (1 call:
PostWhseJnlLine → (object)) - Report 5756 “Create Warehouse Location” (1 call:
OnPostReport → RegisterWhseJnlLine)
Recent changes
- 2026-10-05 #12293 Remove CLEAN27 from Warehouse (main, BC30, obsoletion)
Deprecations
- procedure LockIfLegacyPosting: Pending 27.0 (#if not CLEAN27), “This function is deprecated. Concurrent warehouse posting is always on.”
- procedure LockTables: Pending 27.0 (#if not CLEAN27), “This function is deprecated. Concurrent warehouse posting is always on.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "codeunit", object_name: "Whse. Jnl.-Register Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.