---
id: change/bcapps/10173
type: change
title: "#10173 [Extensibility Request] issue 30129: expose manufacturing cost calculation events"
summary: Manufacturing extensions can now separate setup and runtime costs during standard cost calculation by subscribing to new routing, cost-time, direct unit cost, and production order cost events in Calculate Standard Cost and Manufacturing Cost Calculation Management codeunits.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit calculate standard cost
  - codeunit mfg. cost calculation mgt.
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:46.868Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 73284c8c017be6baf15c5c8ee80aa00e0d5d25dc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10173
    title: "microsoft/BCApps#10173: [Extensibility Request] issue 30129: expose manufacturing cost calculation events"
    date: "2026-08-24"
    commit: 73284c8c017be6baf15c5c8ee80aa00e0d5d25dc
    t: null
    quote: Manufacturing extensions need separate control over setup and runtime costs so fixed setup costs are not incorrectly spread across varying lot sizes.
links:
  learn: []
  objects:
    - object/codeunit/5812
    - object/codeunit/99000758
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10173
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10173
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-24T16:47:49Z"
author: AleksandricMarko
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
  - event-request
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 3
  additions: 88
  deletions: 51
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/5812
    page: codeunit/5812
    type: codeunit
    id: 5812
    name: Calculate Standard Cost
    app: Base Application
    status: modified
  - key: codeunit/99000758
    page: codeunit/99000758
    type: codeunit
    id: 99000758
    name: Mfg. Cost Calculation Mgt.
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 636806
systems:
  - manufacturing
  - inventory
quote: Manufacturing extensions need separate control over setup and runtime costs so fixed setup costs are not incorrectly spread across varying lot sizes.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10173 [Extensibility Request] issue 30129: expose manufacturing cost calculation events

> Manufacturing extensions can now separate setup and runtime costs during standard cost calculation by subscribing to new routing, cost-time, direct unit cost, and production order cost events in Calculate Standard Cost and Manufacturing Cost Calculation Management codeunits.

[Pull request](https://github.com/microsoft/BCApps/pull/10173) · merged into `main` (BC30) on 2026-08-24 by AleksandricMarko · 3 files (+88 -51), 3 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Added IsHandled routing-line event for SKU calculations in Calculate Standard Cost
- Exposed direct unit cost data on post-calculation events
- Added IsHandled entry point for expected production-order line costs
- Enabled extensions to implement cost-split logic without replacing base objects
- Covered both base layer and Italian localization

## AL objects touched

- [Codeunit 5812 "Calculate Standard Cost"](../../objects/codeunit/5812.md), Base Application: modified
- [Codeunit 99000758 "Mfg. Cost Calculation Mgt."](../../objects/codeunit/99000758.md), Base Application: modified

## Context

- Work items: AB#636806
- Labels: Team: SCM, event-request
- Systems: manufacturing, inventory
- From the description: "Manufacturing extensions need separate control over setup and runtime costs so fixed setup costs are not incorrectly spread across varying lot sizes."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
