---
title: "Codeunit 6243 Sust. Entry Reverse Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/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 6243 Sust. Entry Reverse Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/points/

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

## ReverseEntry

[Line 22](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L22).

- [28](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L28) calls `ValidateEntryForReversal`
- [30](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L30) calls `CreateReversalEntry`
- [31](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L31) calls `UpdateOriginalEntry`
- [33](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L33) calls [Table 6261 Sust. G/L - Sust. Ledger Rel.](https://jonas-paprotka.de/ref/table/6261-sust-g-l-sust-ledger-rel/) `RemoveRelations`
- [35](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L35) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`
- [37](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L37) raises `OnAfterReverseEntry`

## ReverseEntries

[Line 40](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L40).

- [57](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L57) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [65](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L65) calls `ValidateEntryForReversal`
- [71](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L71) calls `ReverseEntry`

## ReverseEntriesForGLEntry

[Line 77](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L77).

- [88](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L88) calls `ReverseEntry`

## ValidateEntryForReversal

[Line 92](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L92), local.

- [112](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L112) calls [Table 6210 Sustainability Account](https://jonas-paprotka.de/ref/table/6210-sustainability-account/) `CheckAccountReadyForPosting`
- [115](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L115) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `CheckDimIDComb`
- [116](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L116) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimCombErr`
- [120](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L120) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `CheckDimValuePosting`
- [121](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L121) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimValuePostingErr`

## CreateReversalEntry

[Line 124](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L124), local.

- [133](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L133) validates [Table 6216 Sustainability Ledger Entry](https://jonas-paprotka.de/ref/table/6216-sustainability-ledger-entry/) `User ID`
- [156](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L156) raises `OnBeforeInsertReversalSustainabilityLedgerEntry`
- [157](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L157) writes [Table 6216 Sustainability Ledger Entry](https://jonas-paprotka.de/ref/table/6216-sustainability-ledger-entry/) Insert(true)

## UpdateOriginalEntry

[Line 160](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L160), local.

- [164](https://jonas-paprotka.de/ref/codeunit/6243-sust-entry-reverse-mgt/source/#L164) writes [Table 6216 Sustainability Ledger Entry](https://jonas-paprotka.de/ref/table/6216-sustainability-ledger-entry/) Modify(true)

## Source

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

JOP-AL, 2026-11-20.
