---
id: object/codeunit/939
type: object
title: Codeunit 939 "Asm. Whse.-Activity-Register"
summary: Codeunit 939 "Asm. Whse.-Activity-Register" in Base Application (Microsoft.Warehouse.Activity). 3 events, 8 event subscribers. Introduced in BC27, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "27"
  last_changed: null
  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: e66173ad8214e070ced3fff9f902c10192fea7a552db08c20a20eec30159cb85
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Assembly/Warehouse/Activity/AsmWhseActivityRegister.Codeunit.al
    title: src/Layers/W1/BaseApp/Assembly/Warehouse/Activity/AsmWhseActivityRegister.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/12066
object_type: codeunit
object_id: 939
name: Asm. Whse.-Activity-Register
namespace: Microsoft.Warehouse.Activity
app: Base Application
extends: null
first_version: "27"
last_version: "30"
present_in:
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 15
  events: 3
  subscribers: 8
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Codeunit 939 "Asm. Whse.-Activity-Register"

> Codeunit 939 "Asm. Whse.-Activity-Register" in Base Application (Microsoft.Warehouse.Activity). 3 events, 8 event subscribers. Introduced in BC27, still in BC30.

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

## Events published

- `OnAfterAssemblyLineModify(var AssemblyLine: Record "Assembly Line")` (integration)
- `OnBeforeAssemblyLineModify(var AssemblyLine: Record "Assembly Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnBeforeAutoReserveForAssemblyLine(var TempWhseActivLineToReserve: Record "Warehouse Activity Line" temporary; var IsHandled: Boolean)` (integration)

## Event subscriptions

- OnUpdateWhseDocHeaderByWhseDocumentType subscribes to Codeunit "Whse.-Activity-Register" OnUpdateWhseDocHeaderByWhseDocumentType
- OnUpdateWhseSourceDocLineByDocumentType subscribes to Codeunit "Whse.-Activity-Register" OnUpdateWhseSourceDocLineByDocumentType
- OnAfterUpdateSourceDocumentForInvtMovement subscribes to Codeunit "Whse.-Activity-Register" OnAfterUpdateSourceDocumentForInvtMovement
- OnAfterSyncItemTrackingAndReserveSourceDocument subscribes to Codeunit "Whse.-Activity-Register" OnAfterSyncItemTrackingAndReserveSourceDocument
- OnRegisterWhseItemTrkgLineOnSetDueDate subscribes to Codeunit "Whse.-Activity-Register" OnRegisterWhseItemTrkgLineOnSetDueDate
- OnRegisterWhseItemTrkgLineOnAfterSetDueDateForInvtMovement subscribes to Codeunit "Whse.-Activity-Register" OnRegisterWhseItemTrkgLineOnAfterSetDueDateForInvtMovement
- OnGetSourceLineBaseQtyByWhseActivityDocumentType subscribes to Codeunit "Whse.-Activity-Register" OnGetSourceLineBaseQtyByWhseActivityDocumentType
- OnGetSourceLineBaseQtyByWhseActivitySourceType subscribes to Codeunit "Whse.-Activity-Register" OnGetSourceLineBaseQtyByWhseActivitySourceType

## Procedures

4 local procedures, no public ones.

## 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 99000845 "Reservation Management"](../codeunit/99000845.md) (3 calls: `AutoReserveForAssemblyLine → AutoReserve`, `AutoReserveForAssemblyLine → SetReservSource`, `AutoReserveForAssemblyLine → SetTrackingFromWhseActivityLine`)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (2 calls: `AutoReserveForAssemblyLine → GetWhseItemTrkgSetup`, `OnUpdateWhseDocHeaderByWhseDocumentType → DeleteWhseItemTrkgLines`)
- [Codeunit 7307 "Whse.-Activity-Register"](../codeunit/7307.md) (2 calls: `OnAfterSyncItemTrackingAndReserveSourceDocument → CollectReservEntries`, `OnAfterSyncItemTrackingAndReserveSourceDocument → SyncItemTracking`)

## Recent changes

- 2026-10-02 [#12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026](../../changes/bcapps/12066.md) (main, BC30, obsoletion)

## Across versions

- Present in: BC27-30
- Changed (declaration) in: none

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