---
id: object/codeunit/99000766
type: object
title: Codeunit 99000766 "Mfg. Whse. Activity Post"
summary: Codeunit 99000766 "Mfg. Whse. Activity Post" in Base Application (Microsoft.Warehouse.Activity). 7 events, 3 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: 8337cef13df14ac8ee370ce4a96c665f72fcc48e8e4fa5c5bda7dfabd5a5573d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgWhseActivityPost.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgWhseActivityPost.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: 99000766
name: Mfg. Whse. Activity Post
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: 16
  events: 7
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 0
  implements: 0
---

# Codeunit 99000766 "Mfg. Whse. Activity Post"

> Codeunit 99000766 "Mfg. Whse. Activity Post" in Base Application (Microsoft.Warehouse.Activity). 7 events, 3 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/Manufacturing/Warehouse/Activity/MfgWhseActivityPost.Codeunit.al) · facts from BC29

## Events published

- `OnPostConsumptionLineOnAfterInitItemJournalLine(var ItemJournalLine: Record "Item Journal Line"; SourceCodeSetup: Record "Source Code Setup")` (integration)
- `OnPostConsumptionLineOnAfterCreateItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; ProdOrderLine: Record Microsoft.Manufacturing.Document."Prod. Order Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; SourceCodeSetup: Record "Source Code Setup")` (integration)
- `OnPostOutputLineOnAfterItemJournalLineInit(var ItemJournalLine: Record "Item Journal Line"; SourceCodeSetup: Record "Source Code Setup")` (integration)
- `OnPostOutputLineOnAfterCreateItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; ProdOrderLine: Record Microsoft.Manufacturing.Document."Prod. Order Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; SourceCodeSetup: Record "Source Code Setup")` (integration)
- `OnBeforeCheckProdOrderLine(var ProdOrderLine: Record Microsoft.Manufacturing.Document."Prod. Order Line"; var IsHandled: Boolean)` (integration)
- `OnAfterPostConsumption(var ProductionOrder: Record "Production Order"; var WarehouseActivityHeader: Record "Warehouse Activity Header"; var TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary; PostedSourceType: Integer; PostedSourceSubType: Integer; PostedSourceNo: Code[20])` (integration)
- `OnAfterPostOutput(var ProductionOrder: Record "Production Order"; var WarehouseActivityHeader: Record "Warehouse Activity Header"; var TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary; PostedSourceType: Integer; PostedSourceSubType: Integer; PostedSourceNo: Code[20])` (integration)

## Event subscriptions

- OnPostProdConsumption subscribes to Codeunit "Whse.-Activity-Post" OnPostProdConsumption
- OnPostProdOutput subscribes to Codeunit "Whse.-Activity-Post" OnPostProdOutput
- OnCreateWhseJnlLineOnSetReferenceDocument subscribes to Codeunit "Whse.-Activity-Post" OnCreateWhseJnlLineOnSetReferenceDocument

## Procedures

6 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 22 "Item Jnl.-Post Line"](../codeunit/22.md) (4 calls: `PostConsumptionLine → RunWithCheck`, `PostConsumptionLine → SetCalledFromInvtPutawayPick`, `PostOutputLine → RunWithCheck`, …)
- [Codeunit 99000837 "Prod. Order Line-Reserve"](../codeunit/99000837.md) (2 calls: `PostOutputLine → TransferPOLineToItemJnlLine`, `PostOutputLine → UpdateItemTrackingAfterPosting`)
- [Codeunit 99000838 "Prod. Order Comp.-Reserve"](../codeunit/99000838.md) (2 calls: `PostConsumptionLine → TransferPOCompToItemJnlLineCheckILE`, `PostConsumptionLine → UpdateItemTrackingAfterPosting`)
- [Codeunit 5774 "Whse.-Production Release"](../codeunit/5774.md) (1 call: `OnPostProdConsumption → Release`)
- [Codeunit 7325 "Whse.-Output Prod. Release"](../codeunit/7325.md) (1 call: `OnPostProdOutput → Release`)
- [Codeunit 99000772 "Prod. Order Route Management"](../codeunit/99000772.md) (1 call: `CheckProdOrderLine → Check`)

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