---
title: "Codeunit 131004 Library - Variable Storage"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/
type: codeunit
id: 131004
name: "Library - Variable Storage"
app: "Library Variable Storage"
namespace: System.TestLibraries.Utilities
versions: "17-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/source/?v=24 https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/source/?v=25 https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/source/?v=26 https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/source/?v=27 https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/source/?v=28 https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 131004 Library - Variable Storage

JOP-AL, https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/

| | |
| --- | --- |
| App | Library Variable Storage |
| Namespace | System.TestLibraries.Utilities |
| Versions | 17-29 |
| Minors | W1 17.0-29.0; DE 17.0-29.0; US 17.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/131004-library-variable-storage/editions.json) |
| Source file | src/LibraryVariableStorage.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AssertEmpty | () | - | public | 17-29 | - | - |
| AssertFull | () | - | public | 17-29 | - | - |
| AssertNotOverflow | () | - | public | 17-29 | - | - |
| AssertNotUnderflow | () | - | public | 17-29 | - | - |
| AssertPeekAvailable | (Index: Integer) | - | public | 17-29 | - | - |
| Clear | () | - | public | 17-29 | - | - |
| Dequeue | (var Variant: Variant) | - | public | 17-29 | - | - |
| Peek | (var Variant: Variant; Index: Integer) | - | public | 17-29 | - | - |
| Enqueue | (Variant: Variant) | - | public | 17-29 | - | - |
| Length | () | Integer | public | 17-29 | - | - |
| MaxLength | () | Integer | public | 17-29 | - | - |
| DequeueText | () | Text | public | 17-29 | - | - |
| DequeueDecimal | () | Decimal | public | 17-29 | - | - |
| DequeueInteger | () | Integer | public | 17-29 | - | - |
| DequeueDate | () | Date | public | 17-29 | - | - |
| DequeueDateTime | () | DateTime | public | 17-29 | - | - |
| DequeueTime | () | Time | public | 17-29 | - | - |
| DequeueBoolean | () | Boolean | public | 17-29 | - | - |
| PeekText | (Index: Integer) | Text | public | 17-29 | - | - |
| PeekDecimal | (Index: Integer) | Decimal | public | 17-29 | - | - |
| PeekInteger | (Index: Integer) | Integer | public | 17-29 | - | - |
| PeekDate | (Index: Integer) | Date | public | 17-29 | - | - |
| PeekTime | (Index: Integer) | Time | public | 17-29 | - | - |
| PeekBoolean | (Index: Integer) | Boolean | public | 17-29 | - | - |

## Source

Symbols: Microsoft.LibraryVariableStorage.symbols.5095f467-0a01-4b99-99d1-9ff1237d286f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 8fd089973d4be7f6224d0845f41bec221fdda7dc.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at ad459712441b2fe6cb0cf1c560563f8ec7188a93.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
