---
id: object/codeunit/9131
type: object
title: Codeunit 9131 "Check Assembly Document"
summary: Codeunit 9131 "Check Assembly Document" in Base Application (Microsoft.Assembly.Document). 2 public procedures, 2 events, 1 event subscribers. Introduced in BC25, still in BC30, changed in BC27.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "25"
  last_changed: "27"
  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: ce746c4d8758b4ed03712c7fbcd7ef7fa1885b060f8b5c10114e8d3de5e467cb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Assembly/Document/CheckAssemblyDocument.Codeunit.al
    title: src/Layers/W1/BaseApp/Assembly/Document/CheckAssemblyDocument.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9131
name: Check Assembly Document
namespace: Microsoft.Assembly.Document
app: Base Application
extends: null
first_version: "25"
last_version: "30"
present_in:
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 2
  subscribers: 1
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 9131 "Check Assembly Document"

> Codeunit 9131 "Check Assembly Document" in Base Application (Microsoft.Assembly.Document). 2 public procedures, 2 events, 1 event subscribers. Introduced in BC25, still in BC30, changed in BC27.

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

## Properties

| Property | Value |
|---|---|
| TableNo | Assembly Header |

## Events published

- `OnBeforeCheckAssemblyHeaders(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckAssemblyLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)` (integration)

## Event subscriptions

- ItemOnBeforeCheckDocuments subscribes to Table "Item" OnAfterCheckDocuments

## Procedures

- `CheckAssemblyHeaders(var Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)` (internal)
- `CheckAssemblyLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)` (internal)

## Relations

- runs on [Table 900 "Assembly Header"](../table/900.md)

## Across versions

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

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). 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: "Check Assembly Document")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
