---
title: "Table 6227 Sustainability Value Entry"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/6227-sustainability-value-entry/
type: table
id: 6227
name: "Sustainability Value Entry"
app: "Sustainability"
namespace: Microsoft.Sustainability.Ledger
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/6227-sustainability-value-entry/source/"
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 6227 Sustainability Value Entry

JOP-AL, https://jonas-paprotka.de/ref/table/6227-sustainability-value-entry/

| | |
| --- | --- |
| App | Sustainability |
| Namespace | Microsoft.Sustainability.Ledger |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/table/6227-sustainability-value-entry/editions.json) |
| Source file | src/Ledger/SustainabilityValueEntry.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 26-29 | - | - |
| 2 | Item No. | Code[20] | 26-29 | - | - |
| 3 | Posting Date | Date | 26-29 | - | - |
| 4 | Item Ledger Entry Type | Enum Item Ledger Entry Type | 26-29 | - | - |
| 5 | Document No. | Code[20] | 26-29 | - | - |
| 6 | Item Ledger Entry No. | Integer | 26-29 | - | - |
| 7 | Valued Quantity | Decimal | 26-29 | - | - |
| 8 | Item Ledger Entry Quantity | Decimal | 26-29 | - | - |
| 9 | Invoiced Quantity | Decimal | 26-29 | - | - |
| 10 | CO2e per Unit | Decimal | 26-29 | - | - |
| 11 | User ID | Code[50] | 26-29 | - | - |
| 12 | Source Code | Code[10] | 26-29 | - | - |
| 13 | Applies-to Entry | Integer | 26-29 | - | - |
| 14 | Global Dimension 1 Code | Code[20] | 26-29 | - | - |
| 15 | Global Dimension 2 Code | Code[20] | 26-29 | - | - |
| 16 | Expected Emission | Boolean | 26-29 | - | - |
| 17 | CO2e Amount (Actual) | Decimal | 26-29 | - | - |
| 18 | CO2e Amount (Expected) | Decimal | 26-29 | - | - |
| 19 | Journal Batch Name | Code[10] | 26-29 | - | - |
| 20 | Document Date | Date | 26-29 | - | - |
| 21 | External Document No. | Code[35] | 26-29 | - | - |
| 22 | Document Type | Enum Item Ledger Document Type | 26-29 | - | - |
| 23 | Document Line No. | Integer | 26-29 | - | - |
| 30 | Account No. | Code[20] | 26-29 | - | - |
| 31 | Account Name | Text[100] | 26-29 | - | - |
| 32 | Account Category | Code[20] | 26-29 | - | - |
| 33 | Account Subcategory | Code[20] | 26-29 | - | - |
| 105 | Entry Type | Enum Cost Entry Type | 26-29 | - | - |
| 480 | Dimension Set ID | Integer | 26-29 | - | - |
| 1000 | Job No. | Code[20] | 27-29 | - | - |
| 1001 | Job Task No. | Code[20] | 27-29 | - | - |
| 5156 | Shortcut Dimension 3 Code | Code[20] | 26-29 | - | - |
| 5157 | Shortcut Dimension 4 Code | Code[20] | 26-29 | - | - |
| 5158 | Shortcut Dimension 5 Code | Code[20] | 26-29 | - | - |
| 5159 | Shortcut Dimension 6 Code | Code[20] | 26-29 | - | - |
| 5160 | Shortcut Dimension 7 Code | Code[20] | 26-29 | - | - |
| 5161 | Shortcut Dimension 8 Code | Code[20] | 26-29 | - | - |
| 5818 | Adjustment | Boolean | 26-29 | - | - |
| 5831 | Capacity Ledger Entry No. | Integer | 26-29 | - | - |
| 5832 | Type | Enum Sust. Value Type | 26-29 | - | - |
| 5834 | No. | Code[20] | 26-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| Key1, clustered | Entry No. | - | 26-29 |
| Key2 | Document Type, Document No., Item No. | - | 27-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ShowDimensions | () | - | public | 26-29 | - | - |
| CopyFromValueEntry | (ValueEntry: Record "Value Entry") | - | public | 26-29 | - | - |
| CopyFromSustainabilityJnlLine | (SustainabilityJnlLine: Record "Sustainability Jnl. Line") | - | public | 26-29 | - | - |
| GetLastEntryNo | () | Integer | public | 26-29 | - | - |
| CopyFromJobLedgerEntry | (JobLedgerEntry: Record "Job Ledger Entry") | - | public | 27-29 | - | - |
| CopyFromResourceLedgerEntry | (ResourceLedgerEntry: Record "Res. Ledger Entry") | - | public | 28-29 | - | - |
| CopyFromFALedgerEntry | (FALedgerEntry: Record "FA Ledger Entry") | - | public | 28-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Sustainability Value Entry"; var xRec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Sustainability Value Entry"; var xRec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Sustainability Value Entry"; var xRec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Sustainability Value Entry"; var xRec: Record "Sustainability Value Entry"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Sustainability Value Entry"; var xRec: Record "Sustainability Value Entry"; 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 "Sustainability Value Entry"; var xRec: Record "Sustainability Value Entry"; 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.Sustainability.symbols.b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
