Codeunit 1796 Data Migration Error Logging

Base Application, System.Integration

Source AL, 68 lines

src/Layers/W1/BaseApp/System/DataMigration/DataMigrationErrorLogging.Codeunit.allines 3 to 18 of 68, Copyright (c) Microsoft Corporation. MIT

codeunit 1796 "Data Migration Error Logging"{    SingleInstance = true;    procedure SetLastRecordUnderProcessing(NewLastRecordUnderProcessingId: Text)    begin        LastRecordsUnderProcessingIdList.Insert(1, NewLastRecordUnderProcessingId);        LastrecordsUnderProcessingDateTime.Insert(1, Format(CurrentDateTime, 0, 9));        if LastRecordsUnderProcessingIdList.Count() > GetMaximumLogSize() then begin            LastRecordsUnderProcessingIdList.RemoveAt(GetMaximumLogSize() + 1);            LastrecordsUnderProcessingDateTime.RemoveAt(GetMaximumLogSize() + 1);        end;    end;    procedure GetLastRecordUnderProcessing(): Text    var

All 68 lines

Public procedures 4 in 29

SetLastRecordUnderProcessing(NewLastRecordUnderProcessingId: Text)new in 23
GetLastRecordUnderProcessing(): Textnew in 23
GetFullListOfLastRecordsUnderProcessingAsText(): Textnew in 23
ClearLastRecordUnderProcessing()new in 23