Codeunit 6212 Sustainability Post Mgt

Sustainability, Microsoft.Sustainability.Posting

Source AL, 628 lines

src/Apps/W1/Sustainability/app/src/Posting/SustainabilityPostMgt.Codeunit.allines 16 to 31 of 628, Copyright (c) Microsoft Corporation. MIT

codeunit 6212 "Sustainability Post Mgt"{    Permissions =        tabledata "Sustainability Ledger Entry" = i,        tabledata "Sustainability Value Entry" = i,        tabledata "Sust. G/L - Sust. Ledger Rel." = ri,        tabledata "Sust. Jnl. Line G/L Entry" = r;    procedure InsertLedgerEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line")    var        SustainabilityLedgerEntry: Record "Sustainability Ledger Entry";        FeatureTelemetry: Codeunit "Feature Telemetry";        IsHandled: Boolean;        SustainabilityLedgerEntryAddedLbl: Label 'Sustainability Ledger Entry Added', Locked = true;    begin        SustainabilityLedgerEntry.Init();

All 628 lines

Events 2 in 29

[IntegrationEvent] OnBeforeInsertSustainabilityLedgerEntry(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry"; SustainabilityJnlLine: Record "Sustainability Jnl. Line")new in 27
[InternalEvent] OnInsertLedgerEntryOnBeforeInsert(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry"; var IsHandled: Boolean)new in 28

Public procedures 14 in 29

InsertLedgerEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line")new in 24
ResetFilters(var SustainabilityJnlLine: Record "Sustainability Jnl. Line")new in 24
UpdateCarbonFeeEmission(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry")new in 25
InsertValueEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; ValueEntry: Record "Value Entry"; ItemLedgerEntry: Record "Item Ledger Entry")new in 26
UpdateCO2ePerUnit(SustValueEntry: Record "Sustainability Value Entry")new in 26
UpdateCarbonFeeEmissionForValueEntry(var SustainabilityValueEntry: Record "Sustainability Value Entry"; SustainabilityJnlLine: Record "Sustainability Jnl. Line")new in 26

All 21 procedures in 24-29

Changes 1 in 29

List17181920212223242526272829
Procedures14171
Events11
internal SetNextGLEntryNo(NewGLEntryNo: Integer)new in 29
added

All 16 changes in 24-29