Codeunit 8035 Sub. Billing Progress Tracker

Subscription Billing, Microsoft.SubscriptionBilling

Source AL, 144 lines

src/Apps/W1/Subscription Billing/App/Base/Codeunits/SubBillingProgressTracker.Codeunit.allines 9 to 24 of 144, Copyright (c) Microsoft Corporation. MIT

codeunit 8035 "Sub. Billing Progress Tracker"{    var        Window: Dialog;        StartTime: DateTime;        LastUpdateTime: DateTime;        TotalCount: Integer;        LastDetail: Text;        IsOpen: Boolean;        UpdateIntervalMs: Integer;        DialogTxt: Label '#1#################################\Processing  #2###############################\Progress    #3###############################\Elapsed     #4###############################\Est. remaining #5############################\Throughput  #6###############################', Comment = '%1 = activity caption, %2 = current item detail, %3 = progress (processed of total), %4 = elapsed time, %5 = estimated time remaining, %6 = throughput';        ProgressLbl: Label '%1 of %2 (%3%)', Comment = '%1 = processed count, %2 = total count, %3 = percentage';        PerMinuteLbl: Label '%1 / min', Comment = '%1 = number of items processed per minute';    /// <summary>    /// Opens the progress dialog (only when GuiAllowed) and starts the elapsed-time clock.

All 144 lines

Public procedures 3 in 29

StartActivity(ActivityText: Text; NewTotalCount: Integer)new in 28
UpdateProgress(ProcessedCount: Integer; DetailText: Text)new in 28
Finish()new in 28