Codeunit 6238 Acc. Schedule Line Subscribers

Sustainability, Microsoft.Sustainability.FinancialReporting

Source AL, 64 lines

src/Apps/W1/Sustainability/app/src/FinancialReporting/AccScheduleLineSubscribers.Codeunit.allines 6 to 21 of 64, Copyright (c) Microsoft Corporation. MIT

codeunit 6238 "Acc. Schedule Line Subscribers"{    [EventSubscriber(ObjectType::Table, Database::"Acc. Schedule Line", 'OnAfterLookupTotaling', '', false, false)]    local procedure OnAfterLookupTotaling(var AccScheduleLine: Record "Acc. Schedule Line")    var        SustAccList: Page "Sustainability Account List";    begin        case AccScheduleLine."Totaling Type" of            Enum::"Acc. Schedule Line Totaling Type"::"Sust. Accounts":                begin                    SustAccList.LookupMode(true);                    if SustAccList.RunModal() = Action::LookupOK then                        AccScheduleLine.Validate(Totaling, SustAccList.GetSelectionFilter());                end;        end;    end;

All 64 lines