Codeunit 131000 Library - Utility

Application Test Library

Source AL, 688 lines

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryUtility.Codeunit.allines 4 to 19 of 688, Copyright (c) Microsoft Corporation. MIT

codeunit 131000 "Library - Utility"{    Permissions = TableData "FA Setup" = m;    trigger OnRun()    begin    end;    var        KeyNotFoundError: Label 'Field "%1" must be part of the primary key in the Table "%2".';        ERR_NotCompatible: Label 'The two records are not compatible to compare. Field number %1 has a type mismatch. Type %2 cannot be compared with type %3.';        PrimaryKeyNotCodeFieldErr: Label 'The primary key must be a single field of type Code to use this function.';        LibraryRandom: Codeunit "Library - Random";        LibraryNoSeries: Codeunit "Library - No. Series";        FieldOptionTypeErr: Label 'Field %1 in Table %2 must be option type.', Comment = '%1 - Field Name, %2 - Table Name';

All 688 lines

Public procedures 49 in 29

CreateNoSeries(var NoSeries: Record "No. Series"; Default: Boolean; Manual: Boolean; DateOrder: Boolean)new in 28
CreateNoSeries(NoSeriesCode: Code[20]; Default: Boolean; Manual: Boolean; DateOrder: Boolean)new in 28
CreateNoSeriesLine(var NoSeriesLine: Record "No. Series Line"; SeriesCode: Code[20]; StartingNo: Code[20]; EndingNo: Code[20])new in 28
CreateRecordLink(RecVar: Variant): Integernew in 28
CreateRecordLink(RecVar: Variant; LinkType: Option): Integernew in 28
CheckFieldExistenceInTable(TableNo: Integer; FieldName: Text[30]): Booleannew in 28

All 49 procedures