Table 6240 "Sust. Excise Jnl. Line"
Sustainability · Microsoft.Sustainability.ExciseTax
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 25 connected objects and pages
Sustainability · Microsoft.Sustainability.ExciseTax · captioned “Excise Journal Line” · BC29-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 6287 “Sustainability Excise Journal” (1 Learn page).
Properties
| Property | Value |
|---|---|
| Caption | Excise Journal Line |
| Extensible | true |
| DataClassification | CustomerContent |
| LookupPageId | Sustainability Excise Journal |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Journal Template Name | Code[10] | — | TableRelation Table 6238 “Sust. Excise Journal Template” (Sust. Excise Journal Template); NotBlank |
| 2 | Journal Batch Name | Code[10] | — | TableRelation Table 6239 “Sust. Excise Journal Batch” (“Sust. Excise Journal Batch”.Name where(“Journal Template Name” = field(“Journal Template Name”))); NotBlank |
| 3 | Line No. | Integer | — | |
| 4 | Posting Date | Date | Specifies the date when the transaction is posted. via Page 6287 “Sustainability Excise Journal” | NotBlank |
| 5 | Entry Type | Enum “Sust. Excise Jnl. Entry Type” | Specifies the value of the Entry Type field. via Page 6287 “Sustainability Excise Journal” | enum Enum 6228 “Sust. Excise Jnl. Entry Type” |
| 6 | Document Type | Enum “Sust. Excise Document Type” | Specifies the type of the document. via Page 6287 “Sustainability Excise Journal” | enum Enum 6229 “Sust. Excise Document Type” |
| 7 | Document No. | Code[20] | Specifies the document number. via Page 6287 “Sustainability Excise Journal” | NotBlank |
| 8 | Account No. | Code[20] | Specifies the sustainability account number. via Page 6287 “Sustainability Excise Journal” | obsolete Pending 28.0; #if not CLEANSCHEMA29; TableRelation Table 6210 “Sustainability Account” (“Sustainability Account” where(“Account Type” = const(Posting), Blocked = const(false))) |
| 9 | Account Name | Text[100] | Specifies the sustainability account name. via Page 6287 “Sustainability Excise Journal” | obsolete Pending 28.0; #if not CLEANSCHEMA29 |
| 10 | Account Category | Code[20] | Specifies the sustainability account category. via Page 6287 “Sustainability Excise Journal” | obsolete Pending 28.0; #if not CLEANSCHEMA29; TableRelation Table 6211 “Sustain. Account Category” (Sustain. Account Category); not editable |
| 11 | Account Subcategory | Code[20] | Specifies the sustainability account subcategory. via Page 6287 “Sustainability Excise Journal” | obsolete Pending 28.0; #if not CLEANSCHEMA29; TableRelation Table 6212 “Sustain. Account Subcategory” (“Sustain. Account Subcategory”.Code where(“Category Code” = field(“Account Category”))) |
| 12 | Description | Text[100] | Specifies the description of the journal line. via Page 6287 “Sustainability Excise Journal” | |
| 13 | Partner Type | Enum “Sust. Excise Jnl. Partner Type” | Specifies the value of the Partner Type field. via Page 6287 “Sustainability Excise Journal” | enum Enum 6231 “Sust. Excise Jnl. Partner Type” |
| 14 | Partner No. | Code[20] | Specifies the value of the Partner No. field. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 18 “Customer”, Table 23 “Vendor” (if (“Partner Type” = const(Vendor)) Vendor else if (“Partner Type” = const(Customer)) Customer) |
| 17 | Source of Emission Data | Enum “Sust. Source of Emission” | Specifies the value of the Source of Emission Data field. via Page 6287 “Sustainability Excise Journal” | enum Enum 6224 “Sust. Source of Emission” |
| 18 | Emission Verified | Boolean | Specifies the value of the Emission Verified field. via Page 6287 “Sustainability Excise Journal” | |
| 19 | CBAM Compliance | Boolean | Specifies the value of the CBAM Compliance field. via Page 6287 “Sustainability Excise Journal” | |
| 20 | Source Type | Enum “Sust. Excise Jnl. Source Type” | Specifies the value of the Source Type field. via Page 6287 “Sustainability Excise Journal” | enum Enum 6230 “Sust. Excise Jnl. Source Type” |
| 21 | Source No. | Code[20] | Specifies the value of the Source No. field. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 15 “G/L Account”, Table 27 “Item”, Table 5600 “Fixed Asset” (if (“Source Type” = const(Item)) Item else if (“Source Type” = const(“G/L Account”)) “G/L Account” where(“Direct Posting” = const(true), “Account Type” = const(Posting), Blocked = const(false)) else if (“Source Type” = const(“Fixed Asset”)) “Fixed Asset” else if (“Source Type” = const(“Charge (Item)…) |
| 22 | Source Description | Text[100] | Specifies the value of the Source Description field. via Page 6287 “Sustainability Excise Journal” | |
| 23 | Source Unit of Measure Code | Code[10] | Specifies the value of the Source Unit of Measure field. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 204 “Unit of Measure” (Unit of Measure) |
| 24 | Source Qty. | Decimal | Specifies the value of the Source Qty. field. via Page 6287 “Sustainability Excise Journal” | |
| 25 | Material Breakdown No. | Code[20] | Specifies the value of the Material Breakdown No. field. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 6236 “Sust. Item Mat. Comp. Header” (“Sust. Item Mat. Comp. Header”.“No.”) |
| 26 | Material Breakdown Description | Text[100] | Specifies the value of the Material Breakdown Description field. via Page 6287 “Sustainability Excise Journal” | |
| 27 | Material Breakdown UOM | Code[10] | Specifies the value of the Material Breakdown Unit of Measure field. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 204 “Unit of Measure” (Unit of Measure) |
| 28 | Material Breakdown Weight | Decimal | Specifies the value of the Material Breakdown Weight field. via Page 6287 “Sustainability Excise Journal” | |
| 29 | CO2e Emission per Unit | Decimal | — | |
| 30 | CO2e Unit of Measure | Code[10] | Specifies the value of the CO2e Unit of Measure field. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 204 “Unit of Measure” (Unit of Measure) |
| 31 | Total Embedded CO2e Emission | Decimal | Specifies the value of the Total Embedded CO2e Emission field. via Page 6287 “Sustainability Excise Journal” | |
| 32 | CBAM Certificates Required | Boolean | Specifies the value of the CBAM Certificates Required field. via Page 6287 “Sustainability Excise Journal” | |
| 35 | Emission Cost per Unit | Decimal | — | |
| 36 | Total Emission Cost | Decimal | Specifies the value of the Total Emission Cost field. via Page 6287 “Sustainability Excise Journal” | |
| 40 | Carbon Pricing Paid | Boolean | Specifies the value of the Carbon Pricing Paid field. via Page 6287 “Sustainability Excise Journal” | |
| 41 | Already Paid Emission | Decimal | Specifies the value of the Already Paid Emission field. via Page 6287 “Sustainability Excise Journal” | |
| 42 | Adjusted CBAM Cost | Decimal | Specifies the value of the Adjusted CBAM Cost field. via Page 6287 “Sustainability Excise Journal” | not editable |
| 43 | Certificate Amount | Decimal | Specifies the value of the Certificate Amount field. via Page 6287 “Sustainability Excise Journal” | |
| 45 | Qty. per Unit of Measure | Decimal | — | not editable |
| 50 | Country/Region Code | Code[10] | Specifies the country/region code of the journal line. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 9 “Country/Region” (Country/Region) |
| 55 | Source Document No. | Code[20] | — | |
| 56 | Source Document Line No. | Integer | — | not editable |
| 60 | Responsibility Center | Code[10] | Specifies the responsibility center of the journal line. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 5714 “Responsibility Center” (Responsibility Center) |
| 70 | Shortcut Dimension 1 Code | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false))) |
| 71 | Shortcut Dimension 2 Code | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. via Page 6287 “Sustainability Excise Journal” | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false))) |
| 80 | Source Code | Code[10] | Specifies the source code of the journal line. via Page 6287 “Sustainability Excise Journal” | TableRelation Source Code |
| 90 | Reason Code | Code[10] | Specifies the reason code of the journal line. via Page 6287 “Sustainability Excise Journal” | TableRelation Reason Code |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
| 500 | Item Ledger Entry No. | Integer | — | TableRelation Table 32 “Item Ledger Entry” (Item Ledger Entry) |
| 5170 | Calculated Date | Date | — | |
| 5171 | Calculated By | Code[50] | — | TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation |
Keys
- PK: Journal Template Name, Journal Batch Name, Line No. (clustered)
- SortOnDocumentNo: Document No.
Events published
OnAfterInitDefaultDimensionSources(var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)(integration)OnAfterSetupNewLine(var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; SustainabilityExciseJnlBatch: Record "Sust. Excise Journal Batch"; PreviousSustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line")(integration)OnValidateSourceNoBeforeTestFieldPartnerNo(var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; var IsHandled: Boolean)(integration)- subscribers: Codeunit 7413 “Excise Tax Trans Subscriber” OnValidateSourceNoBeforeTestFieldPartnerNo
OnAfterCopyFromItem(var ExciseJournalLine: Record "Sust. Excise Jnl. Line"; Item: Record Item)(integration)- subscribers: Codeunit 7413 “Excise Tax Trans Subscriber” OnAfterCopyFromItem
OnAfterCopyFromFixedAsset(var ExciseJournalLine: Record "Sust. Excise Jnl. Line"; FixedAsset: Record "Fixed Asset")(integration)- subscribers: Codeunit 7413 “Excise Tax Trans Subscriber” OnAfterCopyFromFixedAsset
OnValidateSustainabilityExciseJournalLineByFieldOnBeforeShowUnsupportedEntryError(var ExciseJournalLine: Record "Sust. Excise Jnl. Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)(integration)- subscribers: Codeunit 7413 “Excise Tax Trans Subscriber” OnValidateSustainabilityExciseJournalLineByFieldOnBeforeShowUnsupportedEntryError
Procedures
SetupNewLine(PreviousLine: Record "Sust. Excise Jnl. Line")CreateDimFromDefaultDim(FieldNo: Integer)CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])GetPostingSign(SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"): IntegerUpdateSustainabilityJnlLineWithPostingSign(var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; SignFactor: Integer)ShowDimensions(): Boolean(internal)GetSustExciseJournalLineLastLineNo(SustainabilityExciseJnlBatch: Record "Sust. Excise Journal Batch"): Integer(internal)UpdateCarbonPricingInExciseJournalLine(var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line")(internal)ExciseLineTypeToTableID(LineType: Enum "Sust. Excise Jnl. Source Type"): Integer(internal)
Plus 8 local procedures.
Triggers
OnInsert
Relations
- lookup page Page 6287 “Sustainability Excise Journal”
- Source No.: TableRelation Table 15 “G/L Account” (conditional)
- Partner No.: TableRelation Table 18 “Customer” (conditional)
- CO2e Unit of Measure: TableRelation Table 204 “Unit of Measure”
- Material Breakdown UOM: TableRelation Table 204 “Unit of Measure”
- Source Unit of Measure Code: TableRelation Table 204 “Unit of Measure”
- Partner No.: TableRelation Table 23 “Vendor” (conditional)
- Source No.: TableRelation Table 27 “Item” (conditional)
- Item Ledger Entry No.: TableRelation Table 32 “Item Ledger Entry”
- Shortcut Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Shortcut Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- Source No.: TableRelation Table 5600 “Fixed Asset” (conditional)
- Responsibility Center: TableRelation Table 5714 “Responsibility Center”
- Account No.: TableRelation Table 6210 “Sustainability Account”
- Account Category: TableRelation Table 6211 “Sustain. Account Category”
- Account Subcategory: TableRelation Table 6212 “Sustain. Account Subcategory”
- Material Breakdown No.: TableRelation Table 6236 “Sust. Item Mat. Comp. Header”
- Journal Template Name: TableRelation Table 6238 “Sust. Excise Journal Template”
- Journal Batch Name: TableRelation Table 6239 “Sust. Excise Journal Batch”
- Country/Region Code: TableRelation Table 9 “Country/Region”
Referenced by
1 fields in 1 objects relate to this table (TableRelation or CalcFormula).
- Table 6239 “Sust. Excise Journal Batch”: No. of Lines
Pages and codeunits on this table
- Page 6287 “Sustainability Excise Journal” (source table)
- Codeunit 6271 “Sust. Excise Jnl.-Post” (codeunit runs on it)
Extended by
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (3 calls:
CreateDim → GetRecDefaultDimID,InitDefaultDimensionSources → AddDimSource,ShowDimensions → EditDimensionSet) - Codeunit 6270 “Sust. Excise Journal Mgt.” (1 call:
SetupNewLine → GetDocumentNo)
Recent changes
- 2026-08-27 #10675 Temporarily suppress AS0072 (ObsoleteTag 29.0) on 10 Base App elements for v30 prep (main, BC30, fix)
Deprecations
- field Account Category: Pending 28.0 (#if not CLEANSCHEMA29), “This field is no longer required and will be removed in a future release.”
- field Account Name: Pending 28.0 (#if not CLEANSCHEMA29), “This field is no longer required and will be removed in a future release.”
- field Account No.: Pending 28.0 (#if not CLEANSCHEMA29), “This field is no longer required and will be removed in a future release.”
- field Account Subcategory: Pending 28.0 (#if not CLEANSCHEMA29), “This field is no longer required and will be removed in a future release.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Sust. Excise Jnl. Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.