---
title: "Codeunit 99000886 Capable to Promise"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/99000886-capable-to-promise/
type: codeunit
id: 99000886
name: "Capable to Promise"
app: "Base Application"
namespace: Microsoft.Inventory.Availability
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/99000886-capable-to-promise/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 99000886 Capable to Promise

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/99000886-capable-to-promise/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CalcCapableToPromise | (Code[20], Code[10], Code[10], Date, Decimal, Code[10], var Code[20], Integer, var Integer, Option, DateFormula) | Date | public | 17-22 | Pending 20.0 | Replaced by CalcCapableToPromiseDate() |
| RemoveReqLines | (Code[20], Integer, Integer, Boolean) | - | public | 17-28 | - | - |
| ReassignRefOrderNos | (Code[20]) | - | public | 17-28 | Pending 27.0 | Moved to codeunit ProdOrderAvailabilityMgt |
| CalcCapableToPromiseDate | (Code[20], Code[10], Code[10], Date, Decimal, Code[10], var Code[20], Integer, var Integer, Enum Analysis Line Type, DateFormula) | Date | public | 20-28 | - | - |
| RunOnBeforeReassignRefOrderNos | (Code[20], var Boolean) | - | internal | 27-28 | - | - |
| RunOnReassignRefOrderNosOnAfterRequisitionLineModifyAll | (var Record Requisition Line) | - | internal | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeReqLineInsert | (var Record Requisition Line) | 17-28 | - | - |
| Integration event | OnBeforeReqLineModify | (var Record Requisition Line) | 17-28 | - | - |
| Integration event | OnBeforeGetCumulativeATP | (Code[20], Code[10], Code[10], Date, Code[10], Enum Analysis Period Type, var Decimal, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCheckCompsCapableToPromise | (Record Requisition Line, Enum Analysis Period Type, var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateCapableToPromise | (var Record Requisition Line, Code[20], Code[10], Code[10], Date, Decimal, Code[10], Enum Analysis Period Type, var Date, var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCalcCapableToPromiseDate | (Code[20], Code[10], Code[10], Date, Decimal, Code[10], var Code[20], Integer, var Integer, Enum Analysis Line Type, DateFormula, var Date, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCheckTransferShptCTP | (Record Requisition Line, Enum Analysis Period Type, var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnCalcCapableToPromiseDateOnAfterSetOrderPromisingParameters | (Code[20], Code[10], Code[10], DateFormula, var Date, var Date) | 25-28 | - | - |
| Integration event | OnBeforeReassignRefOrderNos | (Code[20], var Boolean) | 25-28 | Pending 27.0 | Moved to codeunit ProdOrderAvailabilityMgt |
| Integration event | OnReassignRefOrderNosOnAfterRequisitionLineModifyAll | (var Record Requisition Line) | 25-28 | Pending 27.0 | Moved to codeunit ProdOrderAvailabilityMgt |

## 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.
