---
title: "Codeunit 2000000002 Global Triggers"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/2000000002-global-triggers/
type: codeunit
id: 2000000002
name: "Global Triggers"
app: "System"
namespace: System.Environment
versions: "17-29"
build: 29.0.55597.0
countries: "W1"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 2000000002 Global Triggers

JOP-AL, https://jonas-paprotka.de/ref/codeunit/2000000002-global-triggers/

| | |
| --- | --- |
| App | System |
| Namespace | System.Environment |
| Versions | 17-29 |
| Minors | W1 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 25.2, 26.0, 27.0, 28.0, 29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/2000000002-global-triggers/editions.json) |
| Source file | System Codeunits/Triggers/GlobalTriggers.Codeunit.al |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Business event | GetGlobalTableTriggerMask | (TableID: Integer; var TableTriggerMask: Integer) | 17-29 | - | - |
| Business event | OnGlobalInsert | (RecRef: RecordRef) | 17-29 | - | - |
| Business event | OnGlobalModify | (RecRef: RecordRef; xRecRef: RecordRef) | 17-29 | - | - |
| Business event | OnGlobalDelete | (RecRef: RecordRef) | 17-29 | - | - |
| Business event | OnGlobalRename | (RecRef: RecordRef; xRecRef: RecordRef) | 17-29 | - | - |
| Business event | GetDatabaseTableTriggerSetup | (TableId: Integer; var OnDatabaseInsert: Boolean; var OnDatabaseModify: Boolean; var OnDatabaseDelete: Boolean; var OnDatabaseRename: Boolean) | 17-29 | - | - |
| Business event | OnDatabaseInsert | (RecRef: RecordRef) | 17-29 | - | - |
| Business event | OnDatabaseModify | (RecRef: RecordRef) | 17-29 | - | - |
| Business event | OnDatabaseDelete | (RecRef: RecordRef) | 17-29 | - | - |
| Business event | OnDatabaseRename | (RecRef: RecordRef; xRecRef: RecordRef) | 17-29 | - | - |

## Source

Symbols: Microsoft.Platform.symbols, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
