---
title: "Codeunit 132225 Library - Item Reference"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/
type: codeunit
id: 132225
name: "Library - Item Reference"
app: "Application Test Library"
versions: "28-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/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 132225 Library - Item Reference

JOP-AL, https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/

| | |
| --- | --- |
| App | Application Test Library |
| Versions | 28-29 |
| Minors | W1 28.0-29.0; DE 28.0-29.0; US 28.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/editions.json) |
| Source file | LibraryItemReference.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateItemReference | (var ItemReference: Record "Item Reference"; ItemNo: Code[20]; ReferenceType: Enum "Item Reference Type"; ReferenceTypeNo: Code[20]) | - | public | 28-29 | - | - |
| CreateItemReference | (var ItemReference: Record "Item Reference"; ItemNo: Code[20]; VariantCode: Code[10]; UnitOfMeasureCode: Code[10]; ReferenceType: Enum "Item Reference Type"; ReferenceTypeNo: Code[20]; ReferenceNo: Code[50]) | - | public | 28-29 | - | - |
| CreateItemReferenceWithNo | (var ItemReference: Record "Item Reference"; ItemRefNo: Code[50]; ItemNo: Code[20]; ItemRefType: Enum "Item Reference Type"; ItemRefTypeNo: Code[20]) | - | public | 28-29 | - | - |
| CreateItemReferenceWithNoAndDates | (var ItemReference: Record "Item Reference"; ItemRefNo: Code[50]; ItemNo: Code[20]; ItemRefType: Enum "Item Reference Type"; ItemRefTypeNo: Code[20]; StartingDate: Date; EndingDate: Date) | - | public | 28-29 | - | - |
| EnableFeature | (Bind: Boolean) | - | public | 28 | Pending 23.0 | Functionality is enabled permanently. |
| DisableFeature | () | - | public | 28 | Pending 23.0 | Functionality is enabled permanently. |

## Source

Symbols: Microsoft.ApplicationTestLibrary.symbols.d852d5d2-a39d-4179-baeb-f99a19e32510, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
