---
title: "Table 5715 Item Substitution"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5715-item-substitution/
type: table
id: 5715
name: "Item Substitution"
app: "Base Application"
namespace: Microsoft.Inventory.Item.Substitution
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5715-item-substitution/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5715 Item Substitution

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5715-item-substitution/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Item.Substitution |
| Versions | 17-28 |
| Source file | Inventory/Item/Substitution/ItemSubstitution.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | No. | Code[20] | 17-28 | - | - |
| 2 | Variant Code | Code[10] | 17-28 | - | - |
| 3 | Substitute No. | Code[20] | 17-28 | - | - |
| 4 | Substitute Variant Code | Code[10] | 17-28 | - | - |
| 5 | Description | Text[100] | 17-28 | - | - |
| 6 | Inventory | Decimal | 17-28 | - | - |
| 7 | Interchangeable | Boolean | 17-28 | - | - |
| 8 | Condition | Boolean | 17-28 | - | - |
| 9 | Location Filter | Code[10] | 17-28 | - | - |
| 100 | Type | Enum Item Substitution Type | 17-28 | - | - |
| 101 | Substitute Type | Enum Item Substitute Type | 17-28 | - | - |
| 102 | Sub. Item No. | Code[20] | 17-28 | - | - |
| 103 | Relations Level | Integer | 17-28 | - | - |
| 104 | Quantity Avail. on Shpt. Date | Decimal | 17-28 | - | - |
| 105 | Shipment Date | Date | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Type, No., Variant Code, Substitute Type, Substitute No., Substitute Variant Code | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateSubstitutionItem2Item | (Code[20], Code[10], Code[20], Code[10], Boolean) | - | public | 17-28 | - | - |
| SetDescription | (Integer, Code[20], var Text[100]) | - | public | 17-28 | - | - |
| SetItemVariantDescription | (Integer, Code[20], Code[10], var Text[100]) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterSetItemVariantDescription | (Integer, Code[20], Code[10], var Text[100]) | 17-28 | - | - |
| Integration event | OnBeforeConfirmDeletion | (var Record Item Substitution, Record Item Substitution, var Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnCreateInterchangeableItemOnBeforeInsertOrModifyItemSubstitution | (var Record Item Substitution, Record Item Substitution, var Record Item Substitution) | 23-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
