---
id: object/codeunit/6243
type: object
title: Codeunit 6243 "Sust. Entry Reverse Mgt."
summary: Codeunit 6243 "Sust. Entry Reverse Mgt." in Sustainability (Microsoft.Sustainability.Ledger). 3 public procedures, 2 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - sustainability
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: a81b4749962ce3cda8e7b6ce0c216dea8786a5b9b7e28c2737936fe2a827302f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Ledger/SustEntryReverseMgt.Codeunit.al
    title: src/Apps/W1/Sustainability/app/src/Ledger/SustEntryReverseMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10541
    - change/bcapps/10613
    - change/bcapps/9478
object_type: codeunit
object_id: 6243
name: Sust. Entry Reverse Mgt.
namespace: Microsoft.Sustainability.Ledger
app: Sustainability
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 8
  events: 2
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 1
  implements: 0
---

# Codeunit 6243 "Sust. Entry Reverse Mgt."

> Codeunit 6243 "Sust. Entry Reverse Mgt." in Sustainability (Microsoft.Sustainability.Ledger). 3 public procedures, 2 events. Introduced in BC29, still in BC30.

Sustainability · Microsoft.Sustainability.Ledger · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Ledger/SustEntryReverseMgt.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Sustainability Ledger Entry" = rim, tabledata "Sust. G/L - Sust. Ledger Rel." = rd |

## Events published

- `OnBeforeInsertReversalSustainabilityLedgerEntry(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry"; OriginalSustainabilityLedgerEntry: Record "Sustainability Ledger Entry")` (integration)
- `OnAfterReverseEntry(OriginalSustainabilityLedgerEntry: Record "Sustainability Ledger Entry"; ReversalSustainabilityLedgerEntry: Record "Sustainability Ledger Entry")` (integration)

## Procedures

- `ReverseEntry(var SustLedgEntry: Record "Sustainability Ledger Entry")`
- `ReverseEntries(var SustLedgEntry: Record "Sustainability Ledger Entry"): Integer`
- `ReverseEntriesForGLEntry(GLEntryNo: Integer)`

Plus 3 local procedures.

## 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"](../codeunit/408.md) (4 calls: `ValidateEntryForReversal → CheckDimIDComb`, `ValidateEntryForReversal → CheckDimValuePosting`, `ValidateEntryForReversal → GetDimCombErr`, …)
- [Codeunit 27 "Confirm Management"](../codeunit/27.md) (1 call: `ReverseEntries → GetResponseOrDefault`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (1 call: `ReverseEntry → LogUsage`)

## Called by

- [Codeunit 6245 "Sust. GL Reverse Subscriber"](../codeunit/6245.md) (1 call: `ReverseSustainabilityOnAfterReverseGLEntry → ReverseEntriesForGLEntry`)

## Recent changes

- 2026-09-16 [#10541 [Master] - Slice 641375: [Sustainability] Collect Amount from G/L Entries: track collected entries to prevent double counting](../../changes/bcapps/10541.md) (main, BC30, feature)
- 2026-09-01 [#10613 [Master] - Slice 640775: [Sustainability] Reverse Sustainability part when reverse in GL Entries](../../changes/bcapps/10613.md) (main, BC30, feature)
- 2026-08-19 [#9478 feat(Sustainability): Add Reverse Transaction for Sustainability Ledger Entries](../../changes/bcapps/9478.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "codeunit", object_name: "Sust. Entry Reverse Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
