---
title: "Codeunit 7314 Warehouse Availability Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7314-warehouse-availability-mgt/
type: codeunit
id: 7314
name: "Warehouse Availability Mgt."
app: "Base Application"
namespace: Microsoft.Warehouse.Availability
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7314-warehouse-availability-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 7314 Warehouse Availability Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7314-warehouse-availability-mgt/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CalcLineReservedQtyOnInvt | (Integer, Option, Code[20], Integer, Integer, Boolean, Code[50], Code[50], var Record Warehouse Activity Line) | Decimal | public | 17-19 | Pending 17.0 | Replaced by CalcLineReservedQtyOnInvt with parameter WhseItemTrackingSetup. |
| CalcLineReservedQtyOnInvt | (Integer, Option, Code[20], Integer, Integer, Boolean, var Record Warehouse Activity Line) | Decimal | public | 17-28 | - | - |
| CalcLineReservedQtyOnInvt | (Integer, Option, Code[20], Integer, Integer, Boolean, Record Item Tracking Setup, var Record Warehouse Activity Line) | Decimal | public | 17-28 | - | - |
| CalcReservQtyOnPicksShips | (Code[10], Code[20], Code[10], var Record Warehouse Activity Line) | Decimal | public | 17-28 | - | - |
| CalcReservQtyOnPicksShipsWithItemTracking | (var Record Warehouse Activity Line, var Record Tracking Specification, Code[10], Code[20], Code[10]) | Decimal | public | 17-28 | - | - |
| CalcLineReservQtyOnPicksShips | (Integer, Option, Code[20], Integer, Integer, Decimal, var Record Warehouse Activity Line) | Decimal | public | 17-28 | - | - |
| CalcInvtAvailQty | (Record Item, Record Location, Code[10], var Record Warehouse Activity Line) | Decimal | public | 17-28 | - | - |
| CalcQtyAssgndtoPick | (Record Location, Code[20], Code[10], Text[250]) | Decimal | public | 17-28 | - | - |
| CalcQtyAssignedToMove | (Record Whse. Worksheet Line, Record Whse. Item Tracking Line) | Decimal | public | 17-28 | - | - |
| CalcQtyAssgndOnWksh | (Record Whse. Worksheet Line, Boolean, Boolean) | Decimal | public | 17-28 | - | - |
| CalcQtyOnDedicatedBins | (Code[10], Code[20], Code[10], Code[50], Code[50]) | Decimal | public | 17-19 | Pending 17.0 | Replaced by CalcQtyOnDedicatedBins with parameters WhseItemTrackingSetup. |
| CalcQtyOnDedicatedBins | (Code[10], Code[20], Code[10]) | Decimal | public | 17-28 | - | - |
| CalcQtyOnDedicatedBins | (Code[10], Code[20], Code[10], Record Item Tracking Setup) | Decimal | public | 17-28 | - | - |
| CalcQtyOnBin | (Code[10], Code[20], Code[20], Code[10], Code[50], Code[50]) | Decimal | public | 17-18 | Pending 16.0 | Replaced by CalcQtyOnBin with WhseItemTrackingSetup parameter. |
| CalcQtyOnBin | (Code[10], Code[20], Code[20], Code[10], Record Item Tracking Setup) | Decimal | public | 17-28 | - | - |
| CalcQtyOnBlockedITOrOnBlockedOutbndBins | (Code[10], Code[20], Code[10], Code[50], Code[50], Boolean, Boolean) | Decimal | public | 17-19 | Pending 17.0 | Replaced by CalcQtyOnBlockedITOrOnBlockedOutbndBins with parameter WhseItemTrackingSetup |
| CalcQtyOnBlockedITOrOnBlockedOutbndBins | (Code[10], Code[20], Code[10], Record Item Tracking Setup) | Decimal | public | 17-28 | - | - |
| CalcQtyOnOutboundBins | (Code[10], Code[20], Code[10], Record Item Tracking Setup, Boolean) | Decimal | public | 17-28 | - | - |
| GetOutboundBinsOnBasicWarehouseLocation | (var Record Bin Content Buffer, Code[10], Code[20], Code[10], Record Item Tracking Setup) | - | public | 17-28 | - | - |
| CalcQtyOnSpecialBinsOnLocation | (Code[10], Code[20], Code[10], Record Item Tracking Setup, var Record Bin Content Buffer) | Decimal | public | 17-28 | - | - |
| CalcResidualPickedQty | (var Record Warehouse Entry) | Decimal | public | 17-28 | - | - |
| CalcRegisteredAndOutstandingPickQty | (Record Reservation Entry, var Record Warehouse Activity Line) | Decimal | public | 17-28 | - | - |
| CalcQtyRegisteredPick | (Record Reservation Entry) | Decimal | public | 17-28 | - | - |
| CalcQtyOnBlockedItemTracking | (Code[10], Code[20], Code[10]) | Decimal | public | 18-28 | - | - |
| CalcQtyAvailToTakeOnWhseWorksheetLine | (Record Whse. Worksheet Line) | Decimal | public | 18-28 | - | - |
| CalcQtyOnBlockedItemTracking | (Code[10], Code[20], Code[10], Record Item Tracking Setup) | Decimal | public | 25-28 | - | - |
| ShowItemAvailFromWhseRcptLine | (var Record Warehouse Receipt Line, Enum Item Availability Type) | - | public | 25-28 | - | - |
| ShowItemAvailabilityFromWhseActivLine | (var Record Warehouse Activity Line, Enum Item Availability Type) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCalcQtyPicked | (var Record Item, var Decimal, Record Location) | 17-28 | - | - |
| Integration event | OnAfterCalcReservedQtyOnInventory | (var Record Item, var Decimal, Record Location) | 17-28 | - | - |
| Integration event | OnAfterCalcQtyRcvdNotAvailable | (var Record Posted Whse. Receipt Line, Code[10], Code[20], Code[10], var Decimal) | 17-28 | - | - |
| Integration event | OnBeforeCalcReservQtyOnPicksShipsWithItemTracking | (Code[10], Code[20], Code[10], var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnCalcQtyOutstandingPickOnAfterSetFilters | (var Record Warehouse Activity Line, Integer, Option, Code[20], Integer, Integer) | 17-28 | - | - |
| Integration event | OnBeforeCalcInvtAvailQty | (Record Item, Record Location, Code[10], var Record Warehouse Activity Line, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnCalcQtyAssgndtoPickOnAfterSetFilters | (var Record Warehouse Activity Line, Record Location, Code[20], Code[10], Text[250]) | 17-28 | - | - |
| Integration event | OnAfterCalcQtyOnBlockedITOrOnBlockedOutbndBins | (Code[10], Code[20], Code[10], Record Item Tracking Setup, var Decimal) | 18-28 | - | - |
| Integration event | OnBeforeCalcQtyOnBlockedItemTracking | (Code[10], Code[20], Code[10], var Decimal, var Boolean) | 18-28 | - | - |
| Integration event | OnAfterCalcLineReservedQtyOnInvt | (var Record Reservation Entry, var Decimal) | 22-28 | - | - |
| Integration event | OnBeforeCalcQtyOnOutboundBins | (Code[10], Code[20], Code[10], Record Item Tracking Setup, Boolean, var Boolean, var Decimal) | 22-28 | - | - |
| Integration event | OnAfterGetOutboundBinsOnBasicWarehouseLocation | (Record Location, var Record Bin Content Buffer, Code[10], Code[20], Code[10], Record Item Tracking Setup) | 22-28 | - | - |
| Integration event | OnAfterGetSpecialBins | (Record Location, var List) | 22-28 | - | - |
| Integration event | OnCalcQtyOnBlockedITOrOnBlockedOutbndBinsOnBeforeNext | (var Record Bin Content, Record Item Tracking Setup, var Decimal) | 23-28 | - | - |
| Integration event | OnAfterCalcQtyOnDedicatedBins | (Code[10], Code[20], Code[10], var Record Warehouse Entry, Record Item Tracking Setup, var Decimal) | 23-28 | - | - |
| Integration event | OnCalcQtyRcvdNotAvailableOnBeforeCalcSums | (var Record Posted Whse. Receipt Line, Code[10], Code[20], Code[10]) | 24-28 | - | - |
| Integration event | OnBeforeCalcQtyPickedNotShipped | (Integer, Option, Code[20], Integer, var Decimal, var Boolean) | 24-28 | - | - |
| Integration event | OnBeforeShowItemAvailFromWhseRcptLine | (var Record Item, var Record Warehouse Receipt Line, Enum Item Availability Type) | 25-28 | - | - |
| Integration event | OnBeforeShowItemAvailabilityFromWhseActivLine | (var Record Item, var Record Warehouse Activity Line, Enum Item Availability Type) | 25-28 | - | - |
| Integration event | OnBeforeOpenCalcRsvQtyOnPickShipWithITQuery | (var Query CalcRsvQtyOnPicksShipsWithIT) | 25-28 | - | - |
| Integration event | OnCalcQtyOutstandingPickOnAfterCalcSums | (var Record Warehouse Activity Line, var Record Warehouse Activity Line) | 25-28 | - | - |
| Integration event | OnBeforeCalcQtyRegisteredPick | (Integer, Option, Code[20], Integer, Integer, var Decimal, var Boolean) | 26-28 | - | - |
| Integration event | OnCalcLineReservQtyOnPicksShipsOnAfterCalcPickedNotYetShippedQty | (Integer, Option, Code[20], Integer, Integer, var Decimal) | 26-28 | - | - |
| Integration event | OnCalcLineReservedQtyOnInvtOnSetSourceFilters | (var Record Reservation Entry, Integer, Option, Code[20], Integer, Integer, var Boolean) | 26-28 | - | - |
| Integration event | OnGetOutboundBinsOnBasicWarehouseLocationOnAfterSetWarehouseEntryFilters | (var Record Warehouse Entry) | 26-28 | - | - |
| Integration event | OnBeforeValidateQtyPickedInShipmentBin | (var Decimal, Code[10], Code[20], Code[10], Record Tracking Specification, Integer, var Boolean) | 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.
