---
id: object/codeunit/99000765
type: object
title: Codeunit 99000765 "Mfg. Whse. Activity Register"
summary: Codeunit 99000765 "Mfg. Whse. Activity Register" in Base Application (Microsoft.Warehouse.Activity). 3 events, 9 event subscribers. Introduced in BC27, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "27"
  last_changed: "28"
  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: 13f139e40e4fa1b77c48c3aa9c692763f7638774d313614036aeefd3e1b3bb65
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgWhseActivityRegister.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgWhseActivityRegister.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: 99000765
name: Mfg. 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:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 17
  events: 3
  subscribers: 9
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Codeunit 99000765 "Mfg. Whse. Activity Register"

> Codeunit 99000765 "Mfg. Whse. Activity Register" in Base Application (Microsoft.Warehouse.Activity). 3 events, 9 event subscribers. Introduced in BC27, still in BC30, changed in BC28.

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

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Production Order" = rm, tabledata "Prod. Order Line" = rm |

## Events published

- `OnBeforeProdCompLineModify(var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)
- `OnAfterProdCompLineModify(var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component")` (integration)
- `OnAfterUpdateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; xProdOrderLine: Record "Prod. Order Line"; WarehouseActivityLine: Record "Warehouse Activity Line")` (integration)

## Event subscriptions

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

## Procedures

5 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 6500 "Item Tracking Management"](../codeunit/6500.md) (1 call: `OnUpdateWhseDocHeaderByWhseDocumentType → DeleteWhseItemTrkgLines`)

## 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: BC28

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