codeunitWarehouseofficial - Microsoftderived - from the source, no model text

Codeunit 7301 "Whse. Jnl.-Register Line"

Base Application · Microsoft.Warehouse.Journal

Across versions

  1. BC23present
  2. BC241 events added, 1 events removed
  3. BC255 events added, 3 procedures added
  4. BC261 events added, 1 events removed
  5. BC272 procedures changed, 1 procedures added
  6. BC282 events added, 1 events removed
  7. BC29unchanged
  8. BC307 events added, 7 events removed

Neighbourhood 28 connected objects and pages

Table 7311 "Warehouse Journal Line" (relates to)Warehouse Journal LineCodeunit 20438 "Qlty. Warehouse Integration" (event subscribers)Qlty. Warehouse IntegrationCodeunit 23 "Item Jnl.-Post Batch" (event subscribers)Item Jnl.-Post BatchCodeunit 7304 "Whse. Jnl.-Register Batch" (event subscribers)Whse. Jnl.-Register BatchCodeunit 7302 "WMS Management" (calls, 3 links)WMS ManagementCodeunit 6500 "Item Tracking Management" (calls, 2 links)Item Tracking ManagementCodeunit 90 "Purch.-Post" (calls, 2 links)Purch.-PostCodeunit 1012 "Job Jnl.-Post Line" (calls)Job Jnl.-Post LineCodeunit 22 "Item Jnl.-Post Line" (calls)Item Jnl.-Post LineCodeunit 23 "Item Jnl.-Post Batch" (calls)Codeunit 5704 "TransferOrder-Post Shipment" (calls)TransferOrder-Post ShipmentCodeunit 5705 "TransferOrder-Post Receipt" (calls)TransferOrder-Post ReceiptCodeunit 5760 "Whse.-Post Receipt" (calls)Whse.-Post ReceiptCodeunit 5763 "Whse.-Post Shipment" (calls)Whse.-Post ShipmentCodeunit 5850 "Invt. Doc.-Post Receipt" (calls)Invt. Doc.-Post ReceiptCodeunit 5851 "Invt. Doc.-Post Shipment" (calls)Codeunit 5856 "TransferOrder-Post Transfer" (calls)Codeunit 5884 "Phys. Invt. Order-Post" (calls)Codeunit 5987 "Serv-Posting Journals Mgt." (calls)Codeunit 7304 "Whse. Jnl.-Register Batch" (calls)Codeunit 7307 "Whse.-Activity-Register" (calls)Codeunit 7317 "Whse. Integration Management" (calls)Codeunit 7320 "Whse. Undo Quantity" (calls)Codeunit 7324 "Whse.-Activity-Post" (calls)Codeunit 80 "Sales-Post" (calls)Codeunit 900 "Assembly-Post" (calls)Codeunit 9500 "Sequence No. Mgt." (calls)Report 5756 "Create Warehouse Location" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Warehouse.Journal · BC23-30 · source at 4e6a307c · 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 + BC30 − BC30 (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") + BC30 − BC30 (integration)
  • OnAfterInsertWhseEntry(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line") (integration)
  • 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 + BC30 − BC30 (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) + BC30 − BC30 (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) + BC30 − BC30 (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 + BC30 − BC30 (integration)
  • OnInsertWhseRegOnBeforeModifyWarehouseRegister(var WarehouseReg: Record "Warehouse Register"; var WarehouseJournalLine: Record "Warehouse Journal Line"; WhseEntryNo: Integer) + BC25 + BC30 − BC30 (integration)
  • OnAfterSetWhseRegister(var WarehouseRegister: Record "Warehouse Register") + BC25 (integration)

Event subscriptions

  • OnPreviewableLedgerEntry subscribes to Codeunit “Sequence No. Mgt.” OnPreviewableLedgerEntry

Procedures

  • LockWarehouseTables() + BC25
  • LockIfLegacyPosting() + 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) + BC30 − BC30
  • 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.

Called by

Recent changes

No source states these links: they share an object, a model read them, or a person found the same subject.

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.

Evidence 1 sources