Codeunit 9083 Calculate Vendor Stats.

Base Application, Microsoft.Purchases.Vendor

Source AL, 99 lines

src/Layers/W1/BaseApp/Purchases/Vendor/CalculateVendorStats.Codeunit.allines 9 to 24 of 99, Copyright (c) Microsoft Corporation. MIT

codeunit 9083 "Calculate Vendor Stats."{    trigger OnRun()    var        Vendor: record Vendor;        Params: Dictionary of [Text, Text];        Results: Dictionary of [Text, Text];        VendorNo: Code[20];        BalanceAsCustomer: Decimal;        LinkedCustomerNo: Code[20];    begin        Params := Page.GetBackgroundParameters();        VendorNo := CopyStr(Params.Get(GetVendorNoLabel()), 1, MaxStrLen(VendorNo));        if not Vendor.Get(VendorNo) then            exit;

All 99 lines

Events 1 in 29

[IntegrationEvent] OnCalculateVendorStatistics(Params: Dictionary of [Text, Text]; var Results: Dictionary of [Text, Text])17-29

Changes 2 in 20

List17181920212223242526272829
Procedures2
internal GetBalanceAsCustomerLabel(): Textnew in 20
added
internal GetLinkedCustomerNoLabel(): Textnew in 20
added

All 2 changes in 17-29