Codeunit 9082 Calculate Customer Stats.

Base Application, Microsoft.Sales.Customer

Source AL, 109 lines

src/Layers/W1/BaseApp/Sales/Customer/CalculateCustomerStats.Codeunit.allines 10 to 25 of 109, Copyright (c) Microsoft Corporation. MIT

codeunit 9082 "Calculate Customer Stats."{    trigger OnRun()    var        Customer: record Customer;        Params: Dictionary of [Text, Text];        Results: Dictionary of [Text, Text];        CustomerNo: Code[20];        BalanceAsVendor: Decimal;        LinkedVendorNo: Code[20];    begin        Params := Page.GetBackgroundParameters();        CustomerNo := CopyStr(Params.Get(GetCustomerNoLabel()), 1, MaxStrLen(CustomerNo));        if not Customer.Get(CustomerNo) then            exit;

All 109 lines

Events 1 in 29

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

Changes 2 in 20

List17181920212223242526272829
Procedures2
internal GetBalanceAsVendorLabel(): Textnew in 20
added
internal GetLinkedVendorNoLabel(): Textnew in 20
added

All 2 changes in 17-29