---
title: "Codeunit 353 Item Availability Forms Mgt"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/353-item-availability-forms-mgt/
type: codeunit
id: 353
name: "Item Availability Forms Mgt"
app: "Base Application"
namespace: Microsoft.Inventory.Availability
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/353-item-availability-forms-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 353 Item Availability Forms Mgt

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/353-item-availability-forms-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Availability |
| Versions | 17-28 |
| Source file | Inventory/Availability/ItemAvailabilityFormsMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CalculateNeed | (var Record Item, var Decimal, var Decimal, var Decimal, var Decimal) | - | public | 17-28 | - | - |
| CalcAvailQuantities | (var Record Item, Boolean, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal) | - | public | 17-28 | - | - |
| CalcAvailQuantities | (var Record Item, Boolean, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal) | - | public | 17-28 | - | - |
| ShowItemLedgerEntries | (var Record Item, Boolean) | - | public | 17-28 | - | - |
| ShowSalesLines | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Sales Availability Mgt. |
| ShowServLines | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Serv. Availability Mgt. |
| ShowJobPlanningLines | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Job Planning Availability Mgt. |
| ShowPurchLines | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Purch. Availability Mgt. |
| ShowSchedReceipt | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Prod. Order Availability Mgt. |
| ShowSchedNeed | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Prod. Order Availability Mgt. |
| ShowTransLines | (var Record Item, Integer) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Transfer Availability Mgt. |
| ShowAsmOrders | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Assembly Availability Mgt. |
| ShowAsmCompLines | (var Record Item) | - | public | 17-27 | Pending 25.0 | Replaced by same procedure in codeunit Assembly Availability Mgt. |
| ShowItemAvailLineList | (var Record Item, Integer) | - | public | 17-28 | - | - |
| ShowItemAvailFromItem | (var Record Item, Option) | - | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityFromItem with enum |
| ShowItemAvailFromSalesLine | (var Record Sales Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromSalesLine in Sales Availability Mgt. |
| ShowItemAvailFromPurchLine | (var Record Purchase Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromPurchLine in Purch. Availability Mgt. |
| ShowItemAvailFromReqLine | (var Record Requisition Line, Option) | - | public | 17-24 | - | - |
| ShowItemAvailFromProdOrderLine | (var Record Prod. Order Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailFromProdOrderLine in Prod. Order Availability Mgt. |
| ShowItemAvailFromProdOrderComp | (var Record Prod. Order Component, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailFromProdOrderComp in Prod. Order Availability Mgt. |
| ShowItemAvailFromTransLine | (var Record Transfer Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromTransLine in Transfer Availability Mgt. |
| ShowItemAvailFromWhseActivLine | (var Record Warehouse Activity Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromWhseActivLine in Warehouse Availability Mgt. |
| ShowItemAvailFromServLine | (var Record Service Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromServLine in Serv. Availability Mgt. |
| ShowItemAvailFromWhseRcptLine | (var Record Warehouse Receipt Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailFromWhseRcptLine in Warehouse Availability Mgt. |
| ShowItemAvailFromItemJnlLine | (var Record Item Journal Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityFromItemJnlLine() |
| ShowItemAvailFromAsmHeader | (var Record Assembly Header, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromAsmHeader in Assembly Availability Mgt. |
| ShowItemAvailFromAsmLine | (var Record Assembly Line, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromAsmLine in Assembly Availability Mgt. |
| ShowItemAvailFromPlanningComp | (var Record Planning Component, Option) | - | public | 17-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromPlanningComp in Planning Comp. Avail. Mgt. |
| ShowItemAvailByEvent | (var Record Item, Text[80], Date, var Date, Boolean) | Boolean | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityByEvent() |
| ShowItemAvailByLoc | (var Record Item, Text[80], Code[20], var Code[20]) | Boolean | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityByLocation() |
| ShowItemAvailByDate | (var Record Item, Text[80], Date, var Date) | Boolean | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityByPeriod() |
| ShowItemAvailVariant | (var Record Item, Text[80], Code[20], var Code[20]) | Boolean | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityByVariant() |
| ShowItemAvailByBOMLevel | (var Record Item, Text[80], Date, var Date) | Boolean | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityByBOMLevel() |
| ShowItemAvailByUOM | (var Record Item, Text[80], Code[10], var Code[10]) | Boolean | public | 17-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityByUOM() |
| SetQtyByUnitOfMeasure | (Decimal) | - | public | 17-28 | - | - |
| FilterItem | (var Record Item, Code[20], Code[20], Date) | - | public | 17-28 | - | - |
| ByEvent | () | Integer | public | 17-27 | Pending 25.0 | Replaced by enum "Item Availability Type" |
| ByLocation | () | Integer | public | 17-27 | Pending 25.0 | Replaced by enum "Item Availability Type" |
| ByVariant | () | Integer | public | 17-27 | Pending 25.0 | Replaced by enum "Item Availability Type" |
| ByPeriod | () | Integer | public | 17-27 | Pending 25.0 | Replaced by enum "Item Availability Type" |
| ByBOM | () | Integer | public | 17-27 | Pending 25.0 | Replaced by enum "Item Availability Type" |
| ByUOM | () | Integer | public | 17-27 | Pending 25.0 | Replaced by enum "Item Availability Type" |
| ShowItemAvailFromInvtDocLine | (var Record Invt. Document Line, Option) | - | public | 18-27 | Pending 25.0 | Replaced by procedure ShowItemAvailabilityFromInvtDocLine() |
| CalcItemPlanningFields | (var Record Item, Boolean) | - | public | 22-28 | - | - |
| ShowItemAvailabilityFromItem | (var Record Item, Enum Item Availability Type) | - | public | 25-28 | - | - |
| ShowItemAvailFromReqLine | (var Record Requisition Line, Enum Item Availability Type) | - | public | 25-27 | Pending 25.0 | Replaced by ShowItemAvailabilityFromReqLine in Req. Line Availability Mgt. |
| ShowItemAvailabilityFromItemJnlLine | (var Record Item Journal Line, Enum Item Availability Type) | - | public | 25-28 | - | - |
| ShowItemAvailabilityFromInvtDocLine | (var Record Invt. Document Line, Enum Item Availability Type) | - | public | 25-28 | - | - |
| ShowItemAvailabilityByEvent | (var Record Item, Text, Date, var Date, Boolean) | Boolean | public | 25-28 | - | - |
| ShowItemAvailabilityByLocation | (var Record Item, Text, Code[10], var Code[10]) | Boolean | public | 25-28 | - | - |
| ShowItemAvailabilityByPeriod | (var Record Item, Text, Date, var Date) | Boolean | public | 25-28 | - | - |
| ShowItemAvailabilityByVariant | (var Record Item, Text, Code[10], var Code[10]) | Boolean | public | 25-28 | - | - |
| ShowItemAvailabilityByBOMLevel | (var Record Item, Text, Date, var Date) | Boolean | public | 25-28 | - | - |
| ShowItemAvailabilityByUOM | (var Record Item, Text, Code[10], var Code[10]) | Boolean | public | 25-28 | - | - |
| SetForecastName | (Code[10]) | - | public | 25-28 | - | - |
| RunOnBeforeShowItemAvailFromSalesLine | (var Record Item, var Record Sales Line, var Boolean, Enum Item Availability Type) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromPurchLine | (var Record Item, var Record Purchase Line, var Boolean, Enum Item Availability Type) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromServLine | (var Record Item, var Record Service Line) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromReqLine | (var Record Item, var Record Requisition Line, Enum Item Availability Type) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromProdOrderLine | (var Record Item, var Record Prod. Order Line) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromProdOrderComp | (var Record Item, var Record Prod. Order Component) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromTransLine | (var Record Item, var Record Transfer Line, Enum Item Availability Type) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromWhseActivLine | (var Record Item, var Record Warehouse Activity Line, Enum Item Availability Type) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromWhseRcptLine | (var Record Item, var Record Warehouse Receipt Line, Enum Item Availability Type) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromAsmHeader | (var Record Item, var Record Assembly Header) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromAsmLine | (var Record Item, var Record Assembly Line) | - | internal | 25-27 | - | - |
| RunOnBeforeShowItemAvailFromPlanningComp | (var Record Item, var Record Planning Component) | - | internal | 25-27 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCalcItemPlanningFields | (var Record Item) | 17-28 | - | - |
| Integration event | OnAfterCalculateNeed | (var Record Item, var Decimal, var Decimal, var Decimal, var Decimal) | 17-28 | - | - |
| Integration event | OnAfterCalculateProjAvailableBalance | (var Record Item, var Decimal) | 17-28 | - | - |
| Integration event | OnBeforeShowItemAvailByBOMLevel | (var Record Item, Text[80], Date, var Date, var Boolean, var Boolean) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityByBOMLevel |
| Integration event | OnBeforeShowItemAvailByDate | (var Record Item, Text[80], Date, var Date, var Boolean, var Boolean) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityByPeriod |
| Integration event | OnBeforeShowItemAvailByEvent | (var Record Item, Text[80], Date, var Date, var Boolean, var Boolean, var Boolean) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityByEvent |
| Integration event | OnBeforeShowItemAvailByLoc | (var Record Item, Text[80], Code[20], var Code[20], var Boolean, var Boolean) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityByLocation |
| Integration event | OnBeforeShowItemAvailByUOM | (var Record Item, Text[80], Code[20], var Code[20], var Boolean, var Boolean) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityByUOM |
| Integration event | OnBeforeShowItemAvailFromItem | (var Record Item) | 17-28 | - | - |
| Integration event | OnBeforeShowItemAvailFromItemJnlLine | (var Record Item, var Record Item Journal Line, Option) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityFromItemJnlLine |
| Integration event | OnBeforeShowItemAvailFromSalesLine | (var Record Item, var Record Sales Line, var Boolean, Option) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Sales Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromPurchLine | (var Record Item, var Record Purchase Line, var Boolean, Option) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Purch. Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromServLine | (var Record Item, var Record Service Line) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Serv. Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromReqLine | (var Record Item, var Record Requisition Line, Option) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityFromReqLine |
| Integration event | OnBeforeShowItemAvailFromProdOrderLine | (var Record Item, var Record Prod. Order Line) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Prod. Order Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromProdOrderComp | (var Record Item, var Record Prod. Order Component) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Prod. Order Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromTransLine | (var Record Item, var Record Transfer Line, Option) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Transfer Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromWhseActivLine | (var Record Item, var Record Warehouse Activity Line, Option) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Warehouse Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromWhseRcptLine | (var Record Item, var Record Warehouse Receipt Line, Option) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Warehouse Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromAsmHeader | (var Record Item, var Record Assembly Header) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Assembly Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromAsmLine | (var Record Item, var Record Assembly Line) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Assembly Availability Mgt. |
| Integration event | OnBeforeShowItemAvailFromPlanningComp | (var Record Item, var Record Planning Component) | 17-27 | Pending 25.0 | Replaced by same event in codeunit Assembly Availability Mgt. |
| Integration event | OnBeforeShowItemAvailVariant | (var Record Item, Text[80], Code[20], var Code[20], var Boolean, var Boolean) | 17-27 | Pending 25.0 | Replaced by event OnBeforeShowItemAvailabilityByVariant |
| Integration event | OnCalculateNeedOnAfterCalcScheduledReceipt | (var Record Item, var Decimal, Decimal, Decimal) | 17-28 | - | - |
| Integration event | OnAfterFilterItem | (var Record Item, Code[20], Code[20], Date) | 18-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityByBOMLevel | (var Record Item, Text, Date, var Date, var Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityByPeriod | (var Record Item, Text, Date, var Date, var Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityByEvent | (var Record Item, Text, Date, var Date, var Boolean, var Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityByLocation | (var Record Item, Text, Code[10], var Code[10], var Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityByUOM | (var Record Item, Text, Code[10], var Code[10], var Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityFromItemJnlLine | (var Record Item, var Record Item Journal Line, Enum Item Availability Type) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityByVariant | (var Record Item, Text, Code[10], var Code[10], var Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnCalculateNeedOnAfterCalcGrossRequirement | (var Record Item, var Decimal) | 25-28 | - | - |
| Integration event | OnBeforeCalculateNeed | (var Record Item, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean) | 25-28 | - | - |
| Integration event | OnShowItemAvailLineListOnAfterItemAvailabilityLineListInit | (var Record Item, var Page Item Availability Line List) | 25-28 | - | - |
| Integration event | OnShowItemAvailabilityFromInvtDocLineOnAvailabilityTypeCaseElse | (Enum Item Availability Type, var Record Item, var Record Invt. Document Line) | 25-28 | - | - |
| Integration event | OnBeforeShowBOMLevelAbleToMake | (Text, Date, var Date) | 25-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.
