Codeunit 5860 Invt. Ledger Sales Source

Base Application, Microsoft.Sales.History

Source AL, 69 lines

src/Layers/W1/BaseApp/Sales/History/InvtLedgerSalesSource.Codeunit.allines 14 to 29 of 69, Copyright (c) Microsoft Corporation. MIT

codeunit 5860 "Invt. Ledger Sales Source"{    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Invt. Ledger Source Mgt.", OnGetSourceDescription, '', false, false)]    local procedure OnGetSourceDescription(SourceType: Enum "Analysis Source Type"; SourceNo: Code[20]; var SourceDescription: Text)    var        Customer: Record Customer;    begin        if SourceNo = '' then            exit;        if SourceType = SourceType::Customer then begin            Customer.SetLoadFields(Name);            if Customer.Get(SourceNo) then                SourceDescription := Customer.Name;        end;    end;

All 69 lines