---
id: object/codeunit/7307
type: object
title: Codeunit 7307 "Whse.-Activity-Register"
summary: Codeunit 7307 "Whse.-Activity-Register" in Base Application (Microsoft.Warehouse.Activity). 20 public procedures, 113 events. Present since at least BC23, still in BC30, changed in BC25-30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 6fab17b4f4acf28be0b36a20c156077379e71401e3bd1267b090fc0264d9bdfc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Activity/WhseActivityRegister.Codeunit.al
    title: src/Layers/W1/BaseApp/Warehouse/Activity/WhseActivityRegister.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12293
    - change/bcapps/10072
    - change/bcapps/8905
    - change/bcapps/9264
object_type: codeunit
object_id: 7307
name: Whse.-Activity-Register
namespace: Microsoft.Warehouse.Activity
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 188
  events: 113
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 21
  calls: 11
  called_by: 3
  implements: 0
---

# Codeunit 7307 "Whse.-Activity-Register"

> Codeunit 7307 "Whse.-Activity-Register" in Base Application (Microsoft.Warehouse.Activity). 20 public procedures, 113 events. Present since at least BC23, still in BC30, changed in BC25-30.

Base Application · Microsoft.Warehouse.Activity · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Activity/WhseActivityRegister.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | Warehouse Activity Line |
| Permissions | TableData "Registered Whse. Activity Hdr." = ri, TableData "Registered Whse. Activity Line" = ri, TableData "Whse. Item Tracking Line" = rim, TableData "Warehouse Journal Batch" = rimd, TableData "Posted Whse. Receipt Header" = rm, TableData "Posted Whse. Receipt Line" = rm, TableData "Registered In... |

## Events published

- `OnBeforeCode(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeCheckBlockedCustOnDocs(WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeWhseActivLineDelete(var WarehouseActivityLine: Record "Warehouse Activity Line"; var SkipDelete: Boolean)` (integration)
- `OnAfterAssemblyLineModify(var AssemblyLine: Record Microsoft.Assembly.Document."Assembly Line")` (integration, obsolete 27.0)
- `OnAfterAvailabilityError(WhseActivLine: Record "Warehouse Activity Line")` (integration)
  - subscribers: [Codeunit 6516 "Package Management"](../codeunit/6516.md) WhseActivityRegisterOnAfterAvailabilityError
- `OnAfterFindWhseActivLine(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnAfterWhseShptLineModify(var WarehouseShipmentLine: Record "Warehouse Shipment Line")` (integration)
- `OnAfterCreateRegActivHeader(var WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnAfterCreateRegActivLine(var WarehouseActivityLine: Record "Warehouse Activity Line"; var RegisteredWhseActivLine: Record "Registered Whse. Activity Line"; var RegisteredInvtMovementLine: Record "Registered Invt. Movement Line")` (integration)
- `OnAfterAutofillQtyToHandle(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeAutofillQtyToHandle(var WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckLines(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var WarehouseActivityLine: Record "Warehouse Activity Line"; var TempBinContentBuffer: Record "Bin Content Buffer")` (integration)
- `OnAfterCheckItemTrackingInfoBlocked(WhseActivityLine: Record "Warehouse Activity Line")` (integration)
  - subscribers: [Codeunit 20415 "Qlty. Tracking Integration"](../codeunit/20415.md) HandleOnAfterCheckItemTrackingInfoBlocked, [Codeunit 6515 "Package Info. Management"](../codeunit/6515.md) WhseActivityRegisterOnAfterCheckItemTrackingInfoBlocked
- `OnAfterCheckWhseActivLine(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
  - subscribers: [Codeunit 20415 "Qlty. Tracking Integration"](../codeunit/20415.md) HandleOnAfterCheckWhseActivLine
- `OnAfterRegWhseItemTrkgLine(var WhseActivLine2: Record "Warehouse Activity Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary)` (integration)
- `OnAfterInsRegWhseItemTrkgLine(var WhseActivLine2: Record "Warehouse Activity Line"; var WhseItemTrkgLine: Record "Whse. Item Tracking Line")` (integration)
- `OnAfterPostedWhseRcptLineModify(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")` (integration)
- `OnAfterProdCompLineModify(var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component")` (integration, obsolete 27.0)
- `OnAfterRegisterWhseActivity(var WarehouseActivityHeader: Record "Warehouse Activity Header"; SuppressCommit: Boolean)` (integration)
- `OnAfterRegisterWhseActivityLines(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnAfterRegisteredInvtMovementHdrInsert(var RegisteredInvtMovementHdr: Record "Registered Invt. Movement Hdr."; WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnAfterRegisteredInvtMovementLineInsert(var RegisteredInvtMovementLine: Record "Registered Invt. Movement Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnAfterRegisteredWhseActivHeaderInsert(var RegisteredWhseActivityHdr: Record "Registered Whse. Activity Hdr."; WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnAfterRegisteredWhseActivLineInsert(var RegisteredWhseActivityLine: Record "Registered Whse. Activity Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnAfterWhseInternalPickLineModify(var WhseInternalPickLine: Record "Whse. Internal Pick Line")` (integration)
- `OnAfterWhseInternalPutAwayLineModify(var WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line")` (integration)
- `OnAutoReserveForSalesLineOnBeforeRunAutoReserve(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary)` (integration)
- `OnBeforeAssemblyLineModify(var AssemblyLine: Record Microsoft.Assembly.Document."Assembly Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration, obsolete 27.0)
- `OnBeforeAutoReserveForSalesLine(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary; var IsHandled: Boolean)` (integration)
- `OnBeforeAutoReserveForAssemblyLine(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary; var IsHandled: Boolean)` (integration, obsolete 27.0)
- `OnBeforeCheckBinRelatedFields(WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckItemTrackingRequiredForPutAway(WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforePostedWhseRcptLineModify(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeProdCompLineModify(var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration, obsolete 27.0)
- `OnBeforeRegWhseItemTrkgLine(var WhseActivLine2: Record "Warehouse Activity Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary)` (integration)
- `OnBeforeRegisteredInvtMovementHdrInsert(var RegisteredInvtMovementHdr: Record "Registered Invt. Movement Hdr."; WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnBeforeInitTempTrackingSpecification(WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyToRegisterBase: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeRegisteredInvtMovementLineInsert(var RegisteredInvtMovementLine: Record "Registered Invt. Movement Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeRegisteredWhseActivHeaderInsert(var RegisteredWhseActivityHdr: Record "Registered Whse. Activity Hdr."; WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnBeforeRegisteredWhseActivLineInsert(var RegisteredWhseActivityLine: Record "Registered Whse. Activity Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeCopyWhseActivityLineToReservBuf(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary; WhseActivLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckQtyAvailToInsertBase(var TempWhseActivLine: Record "Warehouse Activity Line" temporary; var QtyAvailToInsertBase: Decimal; var AllowWhseOverpick: Boolean)` (integration)
  - subscribers: [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnBeforeCheckQtyAvailToInsertBase
- `OnBeforeUpdWhseActivHeader(var WhseActivityHeader: Record "Warehouse Activity Header"; var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeUpdateWhseShptLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; QtyToHandle: Decimal; QtyToHandleBase: Decimal; QtyPerUOM: Decimal)` (integration)
- `OnBeforeWhseActivHeaderDelete(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var SkipDelete: Boolean)` (integration)
- `OnAfterInitRegActLine(var WarehouseActivityLine: Record "Warehouse Activity Line"; var RegisteredWhseActivityLine: Record "Registered Whse. Activity Line")` (integration)
- `OnAfterInitRegInvtMovementLine(var WarehouseActivityLine: Record "Warehouse Activity Line"; var RegisteredInvtMovementLine: Record "Registered Invt. Movement Line")` (integration)
- `OnAfterUpdateWhseDocHeader(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnAfterCheckLines(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeCalcQtyBasePicked(WhseActivLine: Record "Warehouse Activity Line"; WhseItemTrackingSetup: Record "Item Tracking Setup"; var QtyBasePicked: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckAndRemoveOrderToOrderBinding(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckIncreaseBin(var TempBinContentBuffer: Record "Bin Content Buffer" temporary; var Bin: Record Bin; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckWhseItemTrkgLine(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeCommit(var WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnBeforeCreateRegActivHeader(var WhseActivityHeader: Record "Warehouse Activity Header"; var IsHandled: Boolean; var RegisteredWhseActivityHdr: Record "Registered Whse. Activity Hdr."; var RegisteredInvtMovementHdr: Record "Registered Invt. Movement Hdr.")` (integration)
- `OnBeforeIsQtyAvailToPickNonSpecificReservation(var WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyAvailToPick: Decimal; var QtyToRegister: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeRegisterWhseJnlLine(WarehouseActivityLine: Record "Warehouse Activity Line"; RegisteredWhseActivityHdr: Record "Registered Whse. Activity Hdr."; var IsHandled: Boolean)` (integration)
- `OnBeforeRegisterWhseActivityLines(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeSourceLineQtyBase(var WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyBase: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeWhseActivLineModify(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeWhseJnlRegisterLine(var WarehouseJournalLine: Record "Warehouse Journal Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeTempTrackingSpecificationInsert(var TempTrackingSpecification: Record "Tracking Specification" temporary; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeUpdateSourceDocForInvtMovement(var WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeUpdateWhseDocHeader(var WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeUpdateWhseSourceDocLine(var WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeUpdateWhseActivLineQtyOutstanding(var WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyDiff: Decimal; var QtyBaseDiff: Decimal; HideDialog: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeUpdateWarehouseActivityLineQtyToHandle(var WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyDiff: Decimal; var QtyBaseDiff: Decimal; HideDialog: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeWhseInternalPickLineModify(var WhseInternalPickLine: Record "Whse. Internal Pick Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeWhseInternalPutAwayLineModify(var WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnCalcQtyPickedNotShippedOnAfterReservEntrySetFilters(var ReservEntry: Record "Reservation Entry"; WhseActivLine: Record "Warehouse Activity Line")` (integration)
- `OnCalcTotalAvailQtyToPickOnAfterItemLedgEntryCalcSums(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnCalcTotalAvailQtyToPickOnAfterCalcQtyInWhseBase(var WarehouseEntry: Record "Warehouse Entry"; var QtyInWhseBase: Decimal; LocationCode: Code[10])` (integration)
- `OnCodeOnAfterCheckLines(var WhseActivHeader: Record "Warehouse Activity Header")` (integration)
- `OnCodeOnAfterCalcShouldDeleteOldLine(OldWarehouseActivityLine: Record "Warehouse Activity Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; var ShouldDeleteOldLine: Boolean; var LineCount: Integer)` (integration)
- `OnInsertRegWhseItemTrkgLineOnAfterCopyFields(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnSetPointerOnAfterWhseDocTypeSetSource(WhseActivLine: Record "Warehouse Activity Line"; WhseDocType2: Option; var WhseItemTrkgLine: Record "Whse. Item Tracking Line")` (integration)
- `OnUpdateTempBinContentBufferOnBeforeInsert(var TempBinContentBuffer: Record "Bin Content Buffer" temporary; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnUpdateWhseShptLineOnAfterAssignQtyPicked(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; QtyPerUOM: Decimal; QtyToHandleBase: Decimal)` (integration)
- `OnBeforeWhseShptLineModify(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; WhseActivityLineGrouped: Record "Warehouse Activity Line")` (integration)
- `OnInitTempTrackingSpecificationOnBeforeTempTrackingSpecificationModify(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; var TrackingSpecificationtemporary: Record "Tracking Specification" temporary)` (integration)
- `OnGroupWhseActivLinesByWhseDocAndSourceOnBeforeTempWarehouseActivityLineModify(var TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnRegisterWhseItemTrkgLineOnBeforeCreateSpecification(var WhseActivLine2: Record "Warehouse Activity Line"; var DueDate: Date)` (integration)
- `OnRegisterWhseItemTrkgLineOnAfterSetDueDate(WarehouseActivityLine: Record "Warehouse Activity Line"; var DueDate: Date; var QtyToRegisterBase: Decimal; WhseDocType: Enum "Warehouse Activity Document Type")` (integration)
- `OnRegisterWhseItemTrkgLineOnSetDueDate(WarehouseActivityLine: Record "Warehouse Activity Line"; var DueDate: Date; var QtyToRegisterBase: Decimal; WhseDocType: Enum "Warehouse Activity Document Type")` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnRegisterWhseItemTrkgLineOnSetDueDate, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnRegisterWhseItemTrkgLineOnSetDueDate
- `OnRegisterWhseItemTrkgLineOnAfterSetDueDateForInvtMovement(WarehouseActivityLine: Record "Warehouse Activity Line"; var DueDate: Date)` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnRegisterWhseItemTrkgLineOnAfterSetDueDateForInvtMovement, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnRegisterWhseItemTrkgLineOnAfterSetDueDateForInvtMovement
- `OnRegisterWhseItemTrkgLineOnAfterCalcWhseItemTrkgSetupExists(WarehouseActivityLine2: Record "Warehouse Activity Line"; var ItemTrackingManagement: Codeunit "Item Tracking Management"; var WhseItemTrkgSetupExists: Boolean)` (integration)
- `OnCodeOnBeforeCommit(RegisteredWhseActivHeader: Record "Registered Whse. Activity Hdr."; RegisteredWhseActivLine: Record "Registered Whse. Activity Line"; var SuppressCommit: Boolean)` (integration)
- `OnBeforeCheckWhseActivLineIsEmpty(var WhseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean; var HideDialog: Boolean)` (integration)
- `OnBeforeCheckBinContentQtyToHandle(var TempBinContentBuffer: Record "Bin Content Buffer" temporary; var BinContent: Record "Bin Content"; Item: Record Item; var IsHandled: Boolean; BreakBulkQtyBaseToPlace: Decimal; WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnAfterUpdateWhseSourceDocLine(var WhseActivityLine: Record "Warehouse Activity Line"; WhseDocType2: Option)` (integration)
- `OnCheckBinContentOnAfterTempBinContentBufferLoop(var TempBinContentBuffer: Record "Bin Content Buffer"; var Bin: Record Bin)` (integration)
- `OnCheckBinContentOnAfterGetWhseItemTrkgSetup(BinContent: Record "Bin Content"; var WhseItemTrackingSetup: Record "Item Tracking Setup")` (integration)
- `OnCheckLinesOnBeforeCommit(RegisteredWhseActivHeader: Record "Registered Whse. Activity Hdr."; RegisteredWhseActivityLine: Record "Registered Whse. Activity Line"; var SuppressCommit: Boolean)` (integration)
- `OnCheckWhseItemTrkgLineOnAfterClearFilters(var TempWhseActivLine: Record "Warehouse Activity Line" temporary; WhseActivLine: Record "Warehouse Activity Line")` (integration)
- `OnCheckWhseItemTrkgLineOnAfterTempWhseActivLineFind(var TempWhseActivLine: Record "Warehouse Activity Line" temporary; var IsHandled: Boolean)` (integration)
- `OnCheckWhseItemTrkgLineOnBeforeTestTracking(WarehouseActivityLine: Record "Warehouse Activity Line"; var WhseItemTrackingSetup: Record "Item Tracking Setup")` (integration)
- `OnCheckWhseItemTrkgLineOnBeforeCalcQtyToRegisterBase(var TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary; WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyAvailToInsertBase: Decimal)` (integration)
- `OnCheckWhseItemTrkgLineOnAfterTempWhseActivLineSetFilters(var TempWhseActivLine: Record "Warehouse Activity Line" temporary)` (integration)
- `OnCheckWhseItemTrkgLineOnAfterGetWhseItemTrkgSetup(TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary; WhseItemTrackingSetup: Record "Item Tracking Setup")` (integration)
- `OnCodeOnBeforeTempWhseActivityLineGroupedLoop(var WhseActivHeader: Record "Warehouse Activity Header"; var WhseActivLine: Record "Warehouse Activity Line"; var RegisteredWhseActivHeader: Record "Registered Whse. Activity Hdr."; var TempWarehouseActivityLineGrouped: Record "Warehouse Activity Line" temporary)` (integration)
- `OnBeforeCheckSourceDocumentForAvailableQty(var WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)` (integration)
- `OnAfterJobPlanningLineModify(var JobPlanningLine: Record "Job Planning Line")` (integration)
- `OnCodeOnBeforeModifyGlobalWhseActivHeader(var WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
- `OnAfterCheckSourceDocumentForAvailableQty(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnUpdateWhseDocHeaderByWhseDocumentType(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnUpdateWhseDocHeaderByWhseDocumentType, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnUpdateWhseDocHeaderByWhseDocumentType
- `OnCheckSourceDocumentForAvailabilityBySourceDocument(var WarehouseActivityLine: Record "Warehouse Activity Line"; var RemainingQtyBase: Decimal; var RemainingQtyUoM: Code[10]; var AllowWhseOverpick: Boolean)` (integration)
  - subscribers: [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnCheckSourceDocumentForAvailabilityBySourceDocument
- `OnUpdateWhseSourceDocLineByDocumentType(var WarehouseActivityLine: Record "Warehouse Activity Line"; WhseDocType: Enum "Warehouse Activity Document Type")` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnUpdateWhseSourceDocLineByDocumentType, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnUpdateWhseSourceDocLineByDocumentType
- `OnGetSourceLineBaseQtyByWhseActivitySourceType(var WarehouseActivityLine: Record "Warehouse Activity Line"; var QtyBase: Decimal)` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnGetSourceLineBaseQtyByWhseActivitySourceType, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnGetSourceLineBaseQtyByWhseActivitySourceType
- `OnGetSourceLineBaseQtyByWhseActivityDocumentType(var WarehouseActivityLine: Record "Warehouse Activity Line"; WhseDocType: Enum "Warehouse Activity Document Type"; var QtyBase: Decimal)` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnGetSourceLineBaseQtyByWhseActivityDocumentType, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnGetSourceLineBaseQtyByWhseActivityDocumenttype
- `OnAfterUpdateSourceDocumentForInvtMovement(var WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnAfterUpdateSourceDocumentForInvtMovement, [Codeunit 99000765 "Mfg. Whse. Activity Register"](../codeunit/99000765.md) OnAfterUpdateSourceDocumentForInvtMovement
- `OnAfterSyncItemTrackingAndReserveSourceDocument(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary)` (integration)
  - subscribers: [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) OnAfterSyncItemTrackingAndReserveSourceDocument
- `OnBeforeCheckBinContent(var TempBinContentBuffer: Record "Bin Content Buffer" temporary; var IsHandled: Boolean)` (integration)
- `OnUpdateTempBinContentBufferOnBeforeModifyTempBinContentBuffer(var TempBinContentBuffer: Record "Bin Content Buffer" temporary; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)

## Procedures

- `UpdateWhseSourceDocLine(WhseActivLineGrouped: Record "Warehouse Activity Line")`: Updates the source document line quantity information based on a provided warehouse activity line.
- `UpdateWhseDocHeader(WhseActivLine: Record "Warehouse Activity Line")`: Updates the warehouse document status based on the provided warehouse activity line.
- `UpdateWhseShipmentLine(WhseActivityLineGrouped: Record "Warehouse Activity Line"; WhseDocNo: Code[20]; WhseDocLineNo: Integer; QtyToHandle: Decimal; QtyToHandleBase: Decimal; QtyPerUOM: Decimal)`: Updates the warehouse shipment line based on the provided warehouse activity line, with the provided quantities.
- `LocationGet(LocationCode: Code[10])`: Retrieves the global location record based on the 'LocationCode' parameter. In case that the blank 'LocationCode' is passed record instance will be cleared.
- `GetItemUnitOfMeasure(ItemNo: Code[20]; UOMCode: Code[10])`: Retrieves the item unit of measure record for the provided item number and unit of measure code.
- `CheckWhseItemTrkgLine(var WhseActivLine: Record "Warehouse Activity Line")`: Checks warehouse item trackings for the provided warehouse activity line.
- `SetPointer(WhseActivLine: Record "Warehouse Activity Line"; var WhseItemTrkgLine: Record "Whse. Item Tracking Line")`: Sets the warehouse item tracking source based on the provided warehouse activity line warehouse document type.
- `SetPointerFilter(WhseActivLine: Record "Warehouse Activity Line"; var WhseItemTrkgLine: Record "Whse. Item Tracking Line")`: Sets filters on the warehouse item tracking line based on the provided warehouse activity line.
- `ShowHideDialog(HideDialog2: Boolean)`: Shows or hides a dialog based on the provided value.
- `CalcTotalAvailQtyToPick(WhseActivLine: Record "Warehouse Activity Line"; WhseItemTrackingSetup: Record "Item Tracking Setup"): Decimal`: Calculates the total available quantity to pick based on the provided warehouse activity line and item tracking setup.
- `GetItem(ItemNo: Code[20])`: Retrieves the global Item record based on the 'ItemNo' parameter.
- `SyncItemTracking()`
- `CollectReservEntries(var TempReservEntry: Record "Reservation Entry" temporary; var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary)`
- `ReleaseNonSpecificReservations(WhseActivLine: Record "Warehouse Activity Line"; WhseItemTrackingSetup: Record "Item Tracking Setup"; QtyToRelease: Decimal): Boolean`
- `SetSuppressCommit(NewSuppressCommit: Boolean)`: Sets the option to suppress committing transactions to the database.
- `RunOnAfterAssemblyLineModify(var AssemblyLine: Record Microsoft.Assembly.Document."Assembly Line")` (internal)
- `RunOnAfterProdCompLineModify(var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component")` (internal)
- `RunOnBeforeAssemblyLineModify(var AssemblyLine: Record Microsoft.Assembly.Document."Assembly Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (internal)
- `RunOnBeforeAutoReserveForAssemblyLine(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary; var IsHandled: Boolean)` (internal)
- `RunOnBeforeProdCompLineModify(var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component"; WarehouseActivityLine: Record "Warehouse Activity Line")` (internal)

Plus 55 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 5767 "Warehouse Activity Line"](../table/5767.md)

## 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 6500 "Item Tracking Management"](../codeunit/6500.md) (12 calls: `AutoReserveForSalesLine → GetWhseItemTrkgSetup`, `CheckBinContent → GetWhseItemTrkgSetup`, `CheckWhseItemTrkgLine → GetWhseItemTrkgSetup`, …)
- [Codeunit 99000845 "Reservation Management"](../codeunit/99000845.md) (7 calls: `AutoReserveForSalesLine → AutoReserve`, `AutoReserveForSalesLine → SetReservSource`, `AutoReserveForSalesLine → SetTrackingFromWhseActivityLine`, …)
- [Codeunit 7314 "Warehouse Availability Mgt."](../codeunit/7314.md) (4 calls: `CalcTotalAvailQtyToPick → CalcLineReservedQtyOnInvt`, `CalcTotalAvailQtyToPick → CalcQtyOnDedicatedBins`, `CalcTotalAvailQtyToPick → CalcQtyOnOutboundBins`, …)
- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (3 calls: `CheckBinContentQtyToHandle → GetQtyPerUnitOfMeasure`, `CheckBinContentQtyToHandle → QtyRndPrecision`, `CheckSourceDocumentForAvailableQty → CalcBaseQty`)
- [Codeunit 7302 "WMS Management"](../codeunit/7302.md) (3 calls: `RegisterWhseJnlLine → CalcCubageAndWeight`, `RegisterWhseJnlLine → GetBaseUOM`, `UpdateTempBinContentBuffer → GetBaseUOM`)
- [Codeunit 7312 "Create Pick"](../codeunit/7312.md) (2 calls: `CalcTotalAvailQtyToPick → FilterWhsePickLinesWithUndefinedBin`, `CalcTotalAvailQtyToPick → GetBinTypeFilter`)
- [Codeunit 447 "Record Link Management"](../codeunit/447.md) (1 call: `CreateRegActivHeader → CopyLinks`)
- [Codeunit 6502 "Late Binding Management"](../codeunit/6502.md) (1 call: `ReleaseNonSpecificReservations → ReleaseForReservation`)
- [Codeunit 7301 "Whse. Jnl.-Register Line"](../codeunit/7301.md) (1 call: `RegisterWhseJnlLine → (object)`)
- [Codeunit 99000831 "Reservation Engine Mgt."](../codeunit/99000831.md) (1 call: `CheckAndRemoveOrderToOrderBinding → CancelReservation`)
- [Page 456 "No. Series"](../page/456.md) (1 call: `CheckLines → (object)`)

## Called by

- [Codeunit 7711 "Miniform Whse. Activity Line"](../codeunit/7711.md) (2 calls: `Register → (object)`, `Register → ShowHideDialog`)
- [Codeunit 939 "Asm. Whse.-Activity-Register"](../codeunit/939.md) (2 calls: `OnAfterSyncItemTrackingAndReserveSourceDocument → CollectReservEntries`, `OnAfterSyncItemTrackingAndReserveSourceDocument → SyncItemTracking`)
- [Codeunit 7306 "Whse.-Act.-Register (Yes/No)"](../codeunit/7306.md) (1 call: `Code → (object)`)

## Recent changes

- 2026-10-05 [#12293 Remove CLEAN27 from Warehouse](../../changes/bcapps/12293.md) (main, BC30, obsoletion)
- 2026-08-11 [#10072 [main] - Serial and Lot number mismatch when item is produced via Production Order and moved to inventory through an Internal Put-away](../../changes/bcapps/10072.md) (main, BC30, fix)
- 2026-07-17 [#8905 [Master] Different source reference on reservation entries created directly from Job Planning Line and via a warehouse pick.](../../changes/bcapps/8905.md) (main, BC30, fix)
- 2026-07-13 [#9264 [master] Bin Capacity Policy "Prohibit More Than Max. Cap." fails and allows more than the maximum Capacity, when you split lines on Inventory Movement](../../changes/bcapps/9264.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25-30

## Deprecations

- procedure RunOnAfterAssemblyLineModify: guarded (#if not CLEAN27)
- procedure RunOnAfterProdCompLineModify: guarded (#if not CLEAN27)
- procedure RunOnBeforeAssemblyLineModify: guarded (#if not CLEAN27)
- procedure RunOnBeforeAutoReserveForAssemblyLine: guarded (#if not CLEAN27)
- procedure RunOnBeforeProdCompLineModify: guarded (#if not CLEAN27)
- procedure OnAfterAssemblyLineModify: Pending 27.0 (#if not CLEAN27), "Moved to codeunit AsmWhseActivityRegister"
- procedure OnAfterProdCompLineModify: Pending 27.0 (#if not CLEAN27), "Moved to codeunit MfgWhseActivityRegister"
- procedure OnBeforeAssemblyLineModify: Pending 27.0 (#if not CLEAN27), "Moved to codeunit AsmWhseActivityRegister"
- procedure OnBeforeAutoReserveForAssemblyLine: Pending 27.0 (#if not CLEAN27), "Moved to codeunit AsmWhseActivityRegister"
- procedure OnBeforeProdCompLineModify: Pending 27.0 (#if not CLEAN27), "Moved to codeunit MfgWhseActivityRegister"

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.-Activity-Register")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
