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

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

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

## OnRun

[Line 14](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L14), trigger.

- [22](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L22) raises `OnBeforeConfirmDialog`
- [24](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L24) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [24](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L24) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `GetPostConfirmMessage`
- [30](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L30) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `GetStartPostingProgressMessage`
- [32](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L32) calls `CheckJournalLinesBeforePosting`
- [34](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L34) calls `ProcessLines`
- [40](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L40) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `GetJnlLinesPostedMessage`
- [43](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L43) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `ResetFilters`

## CheckJournalLinesBeforePosting

[Line 46](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L46), local.

- [51](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L51) calls [Codeunit 6273 Sust. Excise Jnl.-Check](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/) `CheckCommonConditionsBeforePosting`
- [56](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L56) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `GetCheckJournalLineProgressMessage`
- [58](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L58) calls [Codeunit 6273 Sust. Excise Jnl.-Check](https://jonas-paprotka.de/ref/codeunit/6273-sust-excise-jnl-check/) `CheckSustainabilityExciseJournalLine`

## ProcessLines

[Line 62](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L62), local.

- [75](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L75) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `GetProgressingLineMessage`
- [78](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L78) calls [Codeunit 308 No. Series - Batch](https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/) `PeekNextNo`
- [79](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L79) calls [Codeunit 308 No. Series - Batch](https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/) `GetNextNo`
- [81](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L81) calls [Codeunit 308 No. Series - Batch](https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/) `TestManual`
- [85](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L85) calls [Table 6240 Sust. Excise Jnl. Line](https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/) `UpdateSustainabilityJnlLineWithPostingSign`
- [85](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L85) calls [Table 6240 Sust. Excise Jnl. Line](https://jonas-paprotka.de/ref/table/6240-sust-excise-jnl-line/) `GetPostingSign`
- [87](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L87) calls [Codeunit 6272 Sustainability Excise Post Mgt](https://jonas-paprotka.de/ref/codeunit/6272-sustainability-excise-post-mgt/) `InsertExciseTaxesTransactionLog`
- [90](https://jonas-paprotka.de/ref/codeunit/6271-sust-excise-jnl-post/source/#L90) calls [Codeunit 308 No. Series - Batch](https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/) `SaveState`

## Source

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

JOP-AL, 2026-11-20.
