Codeunit 131009 Library - Setup Storage

Application Test Library

Source AL, 126 lines

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

codeunit 131009 "Library - Setup Storage"{    Permissions = TableData "General Ledger Setup" = rimd;    trigger OnRun()    begin    end;    var        TempIntegerStoredTables: Record "Integer" temporary;        Assert: Codeunit Assert;        TableBackupErr: Label 'Table %1 already added to backup', Comment = '%1 = Table Caption';        OnlyOneEntryAllowedErr: Label 'Setup table with only one entry is allowed';        CompositePrimaryKeyErr: Label 'Composite primary key is not allowed';        RecordRefStorage: array[100] of RecordRef;

All 126 lines

Public procedures 10 in 29

Save(TableId: Integer)new in 28
SaveSalesSetup()new in 28
SavePurchasesSetup()new in 28
SaveGeneralLedgerSetup()new in 28
SaveCompanyInformation()new in 28
SaveManufacturingSetup()new in 28

All 10 procedures