---
title: "Codeunit 6277 Sust. Setup Defaults"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6277-sust-setup-defaults/
type: codeunit
id: 6277
name: "Sust. Setup Defaults"
app: "Sustainability"
namespace: Microsoft.Sustainability.CRM
versions: "27-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/6277-sust-setup-defaults/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 6277 Sust. Setup Defaults

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6277-sust-setup-defaults/

| | |
| --- | --- |
| App | Sustainability |
| Namespace | Microsoft.Sustainability.CRM |
| Versions | 27-29 |
| Minors | W1 27.0-29.0; DE 27.0-29.0; US 27.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/6277-sust-setup-defaults/editions.json) |
| Source file | src/CRM/SustSetupDefaults.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ResetConfiguration | (var SustainabilitySetup: Record "Sustainability Setup") | - | internal | 27-29 | - | - |
| ResetESGStandardMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGRangePeriodMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGReportingUnitMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGReportingNameAssessmentMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGStandardRequirementMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGConceptMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGRequirementConceptMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetESGReportingLineAssessmentRequirementMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| ResetPostedESGReportingLineESGFactMapping | (IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | - | internal | 27-29 | - | - |
| CreateJobQueueEntry | (IntegrationTableMapping: Record "Integration Table Mapping"; ServiceName: Text) | Boolean | internal | 27-29 | - | - |
| RecreateJobQueueEntryFromIntTableMapping | (IntegrationTableMapping: Record "Integration Table Mapping"; IntervalInMinutes: Integer; ShouldRecreateJobQueueEntry: Boolean; InactivityTimeoutPeriod: Integer; ServiceName: Text; IsOption: Boolean) | - | internal | 27-29 | - | - |
| GetDefaultDirection | (NAVTableID: Integer) | Integer | public | 27-29 | - | - |
| GetTableFilterFromView | (TableID: Integer; Caption: Text; View: Text) | Text | internal | 27-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCreateJobQueueEntryOnBeforeJobQueueEnqueue | (var JobQueueEntry: Record "Job Queue Entry"; var IntegrationTableMapping: Record "Integration Table Mapping"; JobCodeunitId: Integer; JobDescription: Text) | 27-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.
