---
title: "Codeunit 73 Purch.-Explode BOM"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/73-purch-explode-bom/
type: codeunit
id: 73
name: "Purch.-Explode BOM"
app: "Base Application"
namespace: Microsoft.Purchases.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/73-purch-explode-bom/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 73 Purch.-Explode BOM

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/73-purch-explode-bom/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Purchases.Document |
| Versions | 17-28 |
| Source file | Purchases/Document/PurchExplodeBOM.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CallExplodeBOMCompLines | (Record Purchase Line) | - | public | 18-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeOnRun | (var Record Purchase Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeInsertExplodedPurchLine | (var Record Purchase Line, Record Purchase Line, Record BOM Component) | 17-23 | - | - |
| Integration event | OnExplodeBOMCompLinesOnBeforeCreatePurchLine | (Record Purchase Line, Record BOM Component, var Boolean) | 17-28 | - | - |
| Integration event | OnRunOnBeforeToPurchLineModify | (var Record Purchase Line, Record Purchase Line) | 17-28 | - | - |
| Integration event | OnAfterOnRun | (Record Purchase Line, Record Purchase Line) | 20-28 | - | - |
| Integration event | OnAfterInsertExplodedPurchLine | (var Record Purchase Line, Record Purchase Line, Record BOM Component) | 20-28 | - | - |
| Integration event | OnAfterExplodeBOMCompLines | (var Record Purchase Line, Integer, Integer) | 21-28 | - | - |
| Integration event | OnBeforeGetSelection | (Record Purchase Line, var Integer, var Boolean) | 21-28 | - | - |
| Integration event | OnAfterCheckPurchaseLine | (Record Purchase Line) | 23-28 | - | - |
| Integration event | OnRunOnAfterSetNoOfBOMComp | (Record BOM Component, Record Purchase Line, var Integer) | 23-28 | - | - |
| Integration event | OnExplodeBOMCompLinesOnBeforeLoopFromBOMComp | (Record Purchase Line, var Integer) | 23-28 | - | - |
| Integration event | OnBeforeInsertExplodedPurchLine | (var Record Purchase Line, Record Purchase Line, Record BOM Component, Record Purchase Header) | 24-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
