---
title: "Table 2000000295 User AI Consumption Data"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/2000000295-user-ai-consumption-data/
type: table
id: 2000000295
name: "User AI Consumption Data"
app: "System"
namespace: System.Environment.Consumption
versions: "27-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/"
---

# Table 2000000295 User AI Consumption Data

JOP-AL, https://jonas-paprotka.de/ref/table/2000000295-user-ai-consumption-data/

| | |
| --- | --- |
| App | System |
| Namespace | System.Environment.Consumption |
| Versions | 27-29 |
| Minors | W1 27.0, 28.0, 29.0, [every minor](https://jonas-paprotka.de/ref/table/2000000295-user-ai-consumption-data/editions.json) |
| DataPerCompany | No |
| Source file | Tenant Database Tables/UserAIConsumptionData.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Id | BigInteger | 27-29 | - | - |
| 2 | Consumption DateTime | DateTime | 27-29 | - | - |
| 3 | User Id | Guid | 27-29 | - | - |
| 4 | Agent Task Id | BigInteger | 27-29 | - | - |
| 5 | App Name | Text[256] | 27-29 | - | - |
| 6 | App Publisher | Text[256] | 27-29 | - | - |
| 7 | App Version | Text[50] | 27-29 | - | - |
| 8 | App Id | Guid | 27-29 | - | - |
| 9 | Feature Name | Text[256] | 27-29 | - | - |
| 10 | Actions | Text[1024] | 27-29 | - | - |
| 11 | Copilot Studio Feature | Text[1024] | 27-29 | - | - |
| 12 | Copilot Credits | Decimal | 27-29 | - | - |
| 13 | Trace Id | Text[128] | 27-29 | - | - |
| 14 | Company Name | Text[30] | 27-29 | - | - |
| 15 | Description | Blob | 27-29 | - | - |
| 16 | Unique Id | Text[1024] | 27-29 | - | - |
| 17 | Processed For Billing | Boolean | 27-29 | - | - |
| 18 | Copilot Studio Feature Quantity | Integer | 27-29 | - | - |
| 19 | Copilot Studio Feature Display Name | Text[1024] | 27-29 | - | - |
| 20 | Is Excluded From Billing | Boolean | 28-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| Primary Key, clustered | Id | - | 27-29 |
| Consumption DateTime Key | Consumption DateTime | - | 27-29 |
| User Id Key | User Id | - | 27-29 |
| Agent Task Id Key | Agent Task Id | - | 27-29 |
| App Name Key | App Name | - | 27-29 |
| App Publisher Key | App Publisher | - | 27-29 |
| Feature Name Key | Feature Name | - | 27-29 |
| Copilot Studio Feature Key | Copilot Studio Feature | - | 27-29 |
| Trace Id Key | Trace Id | - | 27-29 |
| Company Name Key | Company Name | - | 27-29 |
| Unique Id Key, unique | Unique Id | - | 27-29 |
| Processed For Billing Key | Processed For Billing | - | 27-29 |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "User AI Consumption Data"; var xRec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "User AI Consumption Data"; var xRec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "User AI Consumption Data"; var xRec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "User AI Consumption Data"; var xRec: Record "User AI Consumption Data"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "User AI Consumption Data"; var xRec: Record "User AI Consumption Data"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforevalidateevent-table-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "User AI Consumption Data"; var xRec: Record "User AI Consumption Data"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftervalidateevent-table-trigger/ |

## 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.
