Codeunit 6218 Sustainability Calc. Mgt.

Sustainability, Microsoft.Sustainability.Calculation

Source AL, 342 lines

src/Apps/W1/Sustainability/app/src/Calculation/SustainabilityCalcMgt.Codeunit.allines 9 to 24 of 342, Copyright (c) Microsoft Corporation. MIT

codeunit 6218 "Sustainability Calc. Mgt."{    var        CollectingSustainabilityJnlLine: Record "Sustainability Jnl. Line";        EmissionScopeCache: Dictionary of [Code[20], Enum "Emission Scope"];        CalculationFoundationCache: Dictionary of [Code[20], Enum "Calculation Foundation"];        FromToFilterLbl: Label '%1..%2', Locked = true;    internal procedure CalculationEmissions(var SustainabilityJnlLine: Record "Sustainability Jnl. Line")    var        SustainAccountCategory: Record "Sustain. Account Category";        SustainAccountSubcategory: Record "Sustain. Account Subcategory";        IsHandled: Boolean;    begin        OnBeforeCalculationEmissions(IsHandled, SustainabilityJnlLine);

All 342 lines

Events 2 in 29

[IntegrationEvent] OnAfterFilterGLEntry(SustainAccountCategory: Record "Sustain. Account Category"; FromDate: Date; ToDate: Date; var GLEntry: Record "G/L Entry")new in 24
[IntegrationEvent] OnBeforeCalculationEmissions(var IsHandled: Boolean; var SustainabilityJnlLine: Record "Sustainability Jnl. Line")new in 24

Public procedures 1 in 29

GetCollectableGLAmount(SustainAccountCategory: Record "Sustain. Account Category"; FromDate: Date; ToDate: Date): Decimalnew in 24

All 10 procedures in 24-29

Changes 1 in 29

List17181920212223242526272829
Procedures41
internal SetCollectingJournalLine(SustainabilityJnlLine: Record "Sustainability Jnl. Line")new in 29
added

All 5 changes in 24-29