---
title: "Codeunit 6257 SustCostManagement"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6257-sustcostmanagement/
type: codeunit
id: 6257
name: "SustCostManagement"
app: "Sustainability"
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/6257-sustcostmanagement/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 6257 SustCostManagement

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6257-sustcostmanagement/

| | |
| --- | --- |
| App | Sustainability |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/6257-sustcostmanagement/editions.json) |
| Source file | src/Calculation/SustCostManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| UpdateCO2ePerUnit | (var Item: Record Item; CalledByFieldNo: Integer) | - | public | 26-29 | - | - |
| CalculateAverageCost | (var Item: Record Item; var AverageCost: Decimal) | Boolean | public | 26-29 | - | - |
| SetFilters | (var SustValueEntry: Record "Sustainability Value Entry"; var Item: Record Item) | - | public | 26-29 | - | - |

## Source

Symbols: Microsoft.Sustainability.symbols.b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
