---
id: object/codeunit/945
type: object
title: Codeunit 945 "Asm. Carry Out Action"
summary: Codeunit 945 "Asm. Carry Out Action" in Base Application (Microsoft.Inventory.Requisition). 5 public procedures, 9 events, 1 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: d3808d4254beb72164f71477d0d8d94864e2a46ec8b96c6c65248fc16513f7a5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Assembly/Inventory/Requisition/AsmCarryOutAction.Codeunit.al
    title: src/Layers/W1/BaseApp/Assembly/Inventory/Requisition/AsmCarryOutAction.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: 945
name: Asm. Carry Out Action
namespace: Microsoft.Inventory.Requisition
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: 18
  events: 9
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 6
  called_by: 0
  implements: 0
---

# Codeunit 945 "Asm. Carry Out Action"

> Codeunit 945 "Asm. Carry Out Action" in Base Application (Microsoft.Inventory.Requisition). 5 public procedures, 9 events, 1 event subscribers. Introduced in BC27, still in BC30.

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

## Events published

- `OnCollectAsmOrderForPrinting(var AssemblyHeader: Record Microsoft.Assembly.Document."Assembly Header")` (integration)
  - subscribers: [Codeunit 946 "Asm. Carry Out Action Print"](../codeunit/946.md) OnCollectAsmOrderForPrinting
- `OnCarryOutActionsFromAssemblyOrderOnAfterCalcPrintOrder(var PrintOrder: Boolean; AsmOrderChoice: Enum "Planning Create Assembly Order")` (integration)
- `OnBeforeDeleteAssemblyLines(RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)` (integration)
- `OnInsertAsmHeaderOnBeforeAsmHeaderInsert(var AsmHeader: Record Microsoft.Assembly.Document."Assembly Header"; ReqLine: Record "Requisition Line")` (integration)
- `OnInsertAsmHeaderOnAfterAsmHeaderInsert(var AsmHeader: Record Microsoft.Assembly.Document."Assembly Header"; ReqLine: Record "Requisition Line")` (integration)
- `OnAfterInsertAsmHeader(var ReqLine: Record "Requisition Line"; var AsmHeader: Record Microsoft.Assembly.Document."Assembly Header")` (integration)
- `OnAsmOrderChgAndResheduleOnBeforeAsmHeaderModify(var ReqLine: Record "Requisition Line"; var AssemblyHeader: Record Microsoft.Assembly.Document."Assembly Header")` (integration)
- `OnAfterTransferAsmPlanningComp(var PlanningComponent: Record "Planning Component"; var AssemblyLine: Record Microsoft.Assembly.Document."Assembly Line")` (integration)
- `OnBeforeAddResourceComponents(RequisitionLine: Record "Requisition Line"; var AssemblyHeader: Record Microsoft.Assembly.Document."Assembly Header"; var IsHandled: Boolean)` (integration)

## Event subscriptions

- OnTrySourceType subscribes to Codeunit "Carry Out Action" OnTrySourceTypeForAssembly

## Procedures

- `CarryOutActionsFromAssemblyOrder(RequisitionLine: Record "Requisition Line"; AsmOrderChoice: Enum "Planning Create Assembly Order"; var TempDocumentEntry: Record "Document Entry" temporary): Boolean` (internal)
- `InsertAsmHeader(RequisitionLine: Record "Requisition Line"; var AssemblyHeader: Record "Assembly Header"; var TempDocumentEntry: Record "Document Entry" temporary)` (internal)
- `AsmOrderChgAndReshedule(RequisitionLine: Record "Requisition Line"): Boolean` (internal)
- `TransferAsmPlanningComp(RequisitionLine: Record "Requisition Line"; AssemblyHeader: Record Microsoft.Assembly.Document."Assembly Header")` (internal)
- `ReserveBindingOrderToAsm(var AssemblyHeader: Record "Assembly Header"; var RequisitionLine: Record "Requisition Line")` (internal)

Plus 3 local procedures.

## 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) (6 calls: `AsmOrderChgAndReshedule → AutoTrack`, `AsmOrderChgAndReshedule → ClearSurplus`, `AsmOrderChgAndReshedule → DeleteReservEntries`, …)
- [Codeunit 925 "Assembly Header-Reserve"](../codeunit/925.md) (2 calls: `AsmOrderChgAndReshedule → TransferPlanningLineToAsmHdr`, `InsertAsmHeader → TransferPlanningLineToAsmHdr`)
- [Codeunit 926 "Assembly Line-Reserve"](../codeunit/926.md) (1 call: `TransferAsmPlanningComp → TransferPlanningCompToAsmLine`)
- [Codeunit 937 "Asm. ReservCheckDateConfl"](../codeunit/937.md) (1 call: `AsmOrderChgAndReshedule → AssemblyLineCheck`)
- [Codeunit 99000833 "Req. Line-Reserve"](../codeunit/99000833.md) (1 call: `AsmOrderChgAndReshedule → UpdateDerivedTracking`)
- [Codeunit 99000840 "Plng. Component-Reserve"](../codeunit/99000840.md) (1 call: `AsmOrderChgAndReshedule → UpdateDerivedTracking`)

## 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. Carry Out Action")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
