---
title: "Table 6240 Sust. Excise Jnl. Line"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/
type: table
id: 6240
name: "Sust. Excise Jnl. Line"
app: "Sustainability"
namespace: Microsoft.Sustainability.ExciseTax
versions: "27-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/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 6240 Sust. Excise Jnl. Line

JOP-AL, https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/

| | |
| --- | --- |
| App | Sustainability |
| Namespace | Microsoft.Sustainability.ExciseTax |
| Versions | 27-29 |
| Minors | W1 27.0-29.0; DE 27.0-29.0; US 27.0-29.0, [every minor](https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/editions.json) |
| Extensible | Yes |
| Source file | src/ExciseTax/SustExciseJnlLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Journal Template Name | Code[10] | 27-29 | - | - |
| 2 | Journal Batch Name | Code[10] | 27-29 | - | - |
| 3 | Line No. | Integer | 27-29 | - | - |
| 4 | Posting Date | Date | 27-29 | - | - |
| 5 | Entry Type | Enum Sust. Excise Jnl. Entry Type | 27-29 | - | - |
| 6 | Document Type | Enum Sust. Excise Document Type | 27-29 | - | - |
| 7 | Document No. | Code[20] | 27-29 | - | - |
| 8 | Account No. | Code[20] | 27-29 | Pending 28.0 | This field is no longer required and will be removed in a future release. |
| 9 | Account Name | Text[100] | 27-29 | Pending 28.0 | This field is no longer required and will be removed in a future release. |
| 10 | Account Category | Code[20] | 27-29 | Pending 28.0 | This field is no longer required and will be removed in a future release. |
| 11 | Account Subcategory | Code[20] | 27-29 | Pending 28.0 | This field is no longer required and will be removed in a future release. |
| 12 | Description | Text[100] | 27-29 | - | - |
| 13 | Partner Type | Enum Sust. Excise Jnl. Partner Type | 27-29 | - | - |
| 14 | Partner No. | Code[20] | 27-29 | - | - |
| 17 | Source of Emission Data | Enum Sust. Source of Emission | 27-29 | - | - |
| 18 | Emission Verified | Boolean | 27-29 | - | - |
| 19 | CBAM Compliance | Boolean | 27-29 | - | - |
| 20 | Source Type | Enum Sust. Excise Jnl. Source Type | 27-29 | - | - |
| 21 | Source No. | Code[20] | 27-29 | - | - |
| 22 | Source Description | Text[100] | 27-29 | - | - |
| 23 | Source Unit of Measure Code | Code[10] | 27-29 | - | - |
| 24 | Source Qty. | Decimal | 27-29 | - | - |
| 25 | Material Breakdown No. | Code[20] | 27-29 | - | - |
| 26 | Material Breakdown Description | Text[100] | 27-29 | - | - |
| 27 | Material Breakdown UOM | Code[10] | 27-29 | - | - |
| 28 | Material Breakdown Weight | Decimal | 27-29 | - | - |
| 29 | CO2e Emission per Unit | Decimal | 27-29 | - | - |
| 30 | CO2e Unit of Measure | Code[10] | 27-29 | - | - |
| 31 | Total Embedded CO2e Emission | Decimal | 27-29 | - | - |
| 32 | CBAM Certificates Required | Boolean | 27-29 | - | - |
| 35 | Emission Cost per Unit | Decimal | 27-29 | - | - |
| 36 | Total Emission Cost | Decimal | 27-29 | - | - |
| 40 | Carbon Pricing Paid | Boolean | 27-29 | - | - |
| 41 | Already Paid Emission | Decimal | 27-29 | - | - |
| 42 | Adjusted CBAM Cost | Decimal | 27-29 | - | - |
| 43 | Certificate Amount | Decimal | 27-29 | - | - |
| 45 | Qty. per Unit of Measure | Decimal | 27-29 | - | - |
| 50 | Country/Region Code | Code[10] | 27-29 | - | - |
| 55 | Source Document No. | Code[20] | 27-29 | - | - |
| 56 | Source Document Line No. | Integer | 27-29 | - | - |
| 60 | Responsibility Center | Code[10] | 27-29 | - | - |
| 70 | Shortcut Dimension 1 Code | Code[20] | 27-29 | - | - |
| 71 | Shortcut Dimension 2 Code | Code[20] | 27-29 | - | - |
| 80 | Source Code | Code[10] | 27-29 | - | - |
| 90 | Reason Code | Code[10] | 27-29 | - | - |
| 480 | Dimension Set ID | Integer | 27-29 | - | - |
| 500 | Item Ledger Entry No. | Integer | 27-29 | - | - |
| 5170 | Calculated Date | Date | 27-29 | - | - |
| 5171 | Calculated By | Code[50] | 27-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| PK, clustered | Journal Template Name, Journal Batch Name, Line No. | - | 27-29 |
| SortOnDocumentNo | Document No. | - | 27-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetupNewLine | (PreviousLine: Record "Sust. Excise Jnl. Line") | - | public | 27-29 | - | - |
| CreateDimFromDefaultDim | (FieldNo: Integer) | - | public | 27-29 | - | - |
| CreateDim | (DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) | - | public | 27-29 | - | - |
| GetPostingSign | (SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line") | Integer | public | 27-29 | - | - |
| UpdateSustainabilityJnlLineWithPostingSign | (var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; SignFactor: Integer) | - | public | 27-29 | - | - |
| ShowDimensions | () | Boolean | internal | 27-29 | - | - |
| GetSustExciseJournalLineLastLineNo | (SustainabilityExciseJnlBatch: Record "Sust. Excise Journal Batch") | Integer | internal | 27-29 | - | - |
| UpdateCarbonPricingInExciseJournalLine | (var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line") | - | internal | 27-29 | - | - |
| ExciseLineTypeToTableID | (LineType: Enum "Sust. Excise Jnl. Source Type") | Integer | internal | 27-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterInitDefaultDimensionSources | (var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer) | 27-29 | - | - |
| Integration event | OnAfterSetupNewLine | (var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; SustainabilityExciseJnlBatch: Record "Sust. Excise Journal Batch"; PreviousSustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line") | 27-29 | - | - |
| Integration event | OnValidateSourceNoBeforeTestFieldPartnerNo | (var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; var IsHandled: Boolean) | 28-29 | - | - |
| Integration event | OnAfterCopyFromItem | (var ExciseJournalLine: Record "Sust. Excise Jnl. Line"; Item: Record Item) | 28-29 | - | - |
| Integration event | OnAfterCopyFromFixedAsset | (var ExciseJournalLine: Record "Sust. Excise Jnl. Line"; FixedAsset: Record "Fixed Asset") | 28-29 | - | - |
| Integration event | OnValidateSustainabilityExciseJournalLineByFieldOnBeforeShowUnsupportedEntryError | (var ExciseJournalLine: Record "Sust. Excise Jnl. Line"; CurrentFieldNo: Integer; var IsHandled: Boolean) | 28-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Sust. Excise Jnl. Line"; var xRec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Sust. Excise Jnl. Line"; var xRec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Sust. Excise Jnl. Line"; var xRec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Sust. Excise Jnl. Line"; var xRec: Record "Sust. Excise Jnl. Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Sust. Excise Jnl. Line"; var xRec: Record "Sust. Excise Jnl. Line"; 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 "Sust. Excise Jnl. Line"; var xRec: Record "Sust. Excise Jnl. Line"; 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.
