---
title: "Codeunit 6273 Sust. Excise Jnl.-Check, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/points/
object: https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/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/"
---

# Codeunit 6273 Sust. Excise Jnl.-Check, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/points/

6 procedures and triggers with a step in src/Apps/W1/Sustainability/app/src/ExciseTax/SustExciseJnlCheck.Codeunit.al, in source order, read from the text, not from a run.

## CheckSustainabilityExciseJournalLineWithErrorCollect

[Line 30](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L30).

- [34](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L34) calls `TryCheckJournalLine`
- [35](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L35) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `InsertTempLineErrorMessage`
- [37](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L37) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `CollectErrors`

## CheckAllExciseJournalLinesWithErrorCollect

[Line 41](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L41).

- [45](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L45) calls `CheckSustainabilityExciseJournalLineWithErrorCollect`

## CheckSustainabilityExciseJournalLine

[Line 49](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L49).

- [61](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L61) validates [Table 6240 Sust. Excise Jnl. Line](https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/) `Document Type`
- [62](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L62) calls `TestRequiredFieldsFromSetupForJnlLine`
- [79](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L79) raises `OnBeforeTestEmissionAmount`, IsHandled
- [81](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L81) calls `TestEmissionAmount`
- [83](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L83) calls `TestDimensionsForJnlLine`
- [85](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L85) raises `OnAfterCheckSustainabilityExciseJournalLine`

## TryCheckJournalLine

[Line 89](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L89), local.

- [93](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L93) calls [Codeunit 6273 Sust. Excise Jnl.-Check](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/) `CheckSustainabilityExciseJournalLine`

## TestEmissionAmount

[Line 96](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L96), local.

- [98](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L98) calls `AllEmissionsZeroCheck`

## TestDimensionsForJnlLine

[Line 120](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L120), local.

- [126](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L126) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `CheckDimIDComb`
- [127](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L127) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimCombErr`
- [139](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L139) calls [Table 6240 Sust. Excise Jnl. Line](https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/) `ExciseLineTypeToTableID`
- [142](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L142) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `CheckDimValuePosting`
- [143](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/source/#L143) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimValuePostingErr`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
