---
id: object/codeunit/5218
type: object
title: Codeunit 5218 "Sustainability Module"
summary: Codeunit 5218 "Sustainability Module" in SustainabilityContosoCoffeeDemoDataset. 6 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - sustainabilitycontosocoffeedemodataset
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: 601bdf1f86351e6ff0777ba20ad7e53fd980e6223366f4cdc4f3a304b3351925
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SustainabilityContosoCoffeeDemoDataset/app/DemoData/Sustainability/SustainabilityModule.Codeunit.al
    title: src/Apps/W1/SustainabilityContosoCoffeeDemoDataset/app/DemoData/Sustainability/SustainabilityModule.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 5218
name: Sustainability Module
namespace: null
app: SustainabilityContosoCoffeeDemoDataset
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: 6
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 21
  called_by: 0
  implements: 1
---

# Codeunit 5218 "Sustainability Module"

> Codeunit 5218 "Sustainability Module" in SustainabilityContosoCoffeeDemoDataset. 6 public procedures. Introduced in BC29, still in BC30.

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

## Procedures

- `RunConfigurationPage()`
- `GetDependencies(): List of [enum "Contoso Demo Data Module"]`
- `CreateSetupData()`
- `CreateMasterData()`
- `CreateTransactionalData()`
- `CreateHistoricalData()`

## 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 5212 "Create Sustainability Setup"](../codeunit/5212.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5213 "Create Sustainability Category"](../codeunit/5213.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5214 "Create Sustain. Subcategory"](../codeunit/5214.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5215 "Create Sustainability Account"](../codeunit/5215.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5217 "Create Sustain. Jnl. Setup"](../codeunit/5217.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5220 "Create Sustain. No Series"](../codeunit/5220.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5221 "Create Sustainability Journal"](../codeunit/5221.md) (1 call: `CreateTransactionalData → (object)`)
- [Codeunit 5222 "Create Sustainability Entry"](../codeunit/5222.md) (1 call: `CreateHistoricalData → (object)`)
- [Codeunit 5234 "Create Sust. Financial Report"](../codeunit/5234.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5242 "Create Emission Fee"](../codeunit/5242.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5244 "Create Sust. Acc. Sch. Line"](../codeunit/5244.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5245 "Create Sust. Acc. Sch. Name"](../codeunit/5245.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5247 "Create Sust. Column Layout"](../codeunit/5247.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5249 "Create Sust. Goal"](../codeunit/5249.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5251 "Create Sust. Scorecard"](../codeunit/5251.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5254 "Create Sust. Item"](../codeunit/5254.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5255 "Create Sust Item Category"](../codeunit/5255.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5256 "Create Sust. Vendor"](../codeunit/5256.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5259 "Create Sust. Purchase"](../codeunit/5259.md) (1 call: `CreateTransactionalData → (object)`)
- [Codeunit 5277 "Create Sust. Responsibility"](../codeunit/5277.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5362 "Create Sust. G/L Account"](../codeunit/5362.md) (1 call: `CreateSetupData → (object)`)

## Implements

- [Enum 5160 "Contoso Demo Data Module"](../enum/5160.md)

## 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: "Sustainability Module")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
