---
id: object/page/99000959
type: object
title: Page 99000959 "Order Promising Lines"
summary: Page 99000959 "Order Promising Lines" in Base Application (Microsoft.Inventory.Availability). 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC25.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "25"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 414de8f3f8a09f497787707a30192aadcf881a138c4bd02a028ecb199ccd0ae1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Availability/OrderPromisingLines.Page.al
    title: src/Layers/W1/BaseApp/Inventory/Availability/OrderPromisingLines.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 99000959
name: Order Promising Lines
namespace: Microsoft.Inventory.Availability
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 4
  events: 2
  subscribers: 0
  controls: 14
  actions: 3
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 3
  calls: 2
  called_by: 0
  implements: 0
---

# Page 99000959 "Order Promising Lines"

> Page 99000959 "Order Promising Lines" in Base Application (Microsoft.Inventory.Availability). 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC25.

Base Application · Microsoft.Inventory.Availability · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Availability/OrderPromisingLines.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Order Promising Lines |
| SourceTable | Order Promising Line |
| PageType | Worksheet |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Control17 | No. | `CrntSourceID` | Specifies the number of the item. |
| Control16 | Item No. | [Item No.](../table/99000880.md#fields) | Specifies the item number of the item that is on the promised order. <small>from the table field</small> |
|  | Description | [Description](../table/99000880.md#fields) | Specifies the description of the entry. <small>from the table field</small> |
|  | Requested Delivery Date | [Requested Delivery Date](../table/99000880.md#fields) | Specifies the requested delivery date for the entry. <small>from the table field</small> |
|  | Requested Shipment Date | [Requested Shipment Date](../table/99000880.md#fields) | Specifies the delivery date that the customer requested, minus the shipping time. <small>from the table field</small> |
|  | Planned Delivery Date | [Planned Delivery Date](../table/99000880.md#fields) | Specifies the planned date that the shipment will be delivered at the customer's address. If the customer requests a delivery date, the program calculates whether the items will be available for delivery on this date. If the items are available, the planned delivery date will be the same as the requ... <small>from the table field</small> |
|  | Original Shipment Date | [Original Shipment Date](../table/99000880.md#fields) | Specifies the shipment date of the entry. <small>from the table field</small> |
|  | Earliest Shipment Date | [Earliest Shipment Date](../table/99000880.md#fields) | Specifies the Capable to Promise function as the earliest possible shipment date for the item. <small>from the table field</small> |
|  | Quantity | [Quantity](../table/99000880.md#fields) | Specifies the number of units, calculated by subtracting the reserved quantity from the outstanding quantity in the Sales Line table. <small>from the table field</small> |
|  | Required Quantity | [Required Quantity](../table/99000880.md#fields) | Specifies the quantity required for order promising lines. <small>from the table field</small> |
|  | Availability | `Rec.CalcAvailability()` | Specifies how many units of the item on the order promising line are available. |
|  | Unavailability Date | [Unavailability Date](../table/99000880.md#fields) | Specifies the date when the order promising line is no longer available. <small>from the table field</small> |
|  | Unavailable Quantity | [Unavailable Quantity](../table/99000880.md#fields) | Specifies the quantity of items that are not available for the requested delivery date on the order. <small>from the table field</small> |
|  | Unit of Measure Code | [Unit of Measure Code](../table/99000880.md#fields) | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Calculate | Available-to-Promise | Calculate the delivery date of the customer's order because the items are available, either in inventory or on planned receipts, based on the reservation system. The function performs an availability check of the unreserved quantities in inventory with regard to planned production, purchases, transf... |  |
|  | Capable-to-Promise | Calculate the earliest date that the item can be available if it is to be produced, purchased, or transferred, assuming that the item is not in inventory and no orders are scheduled. This function is useful for "what if" scenarios. |  |
| Processing | Accept | Accept the earliest shipment date available. |  |

## Events published

- `OnAcceptButtonOnActionOnBeforeClosePage(var OrderPromisingLine: Record "Order Promising Line"; CrntSourceType: Enum "Order Promising Line Source Type"; CrntSourceID: Code[20]; OrderPromisingCalculationDone: Boolean)` (integration)
- `OnOpenPageOnSetSource(var OrderPromisingLine: Record "Order Promising Line"; var CrntSourceType: Enum "Order Promising Line Source Type"; var CrntSourceID: Code[20]; var AvailabilityMgt: Codeunit AvailabilityManagement; var AcceptButtonEnable: Boolean)` (integration)
  - subscribers: [Codeunit 6452 "Serv. Availability Mgt."](../codeunit/6452.md) OnOpenPageOnSetSource, [Codeunit 99000871 "Job Planning Availability Mgt."](../codeunit/99000871.md) OnOpenPageOnSetSource, [Codeunit 99000872 "Sales Availability Mgt."](../codeunit/99000872.md) OnOpenPageOnSetSource

## Procedures

- `SetSource(SourceType: Enum "Order Promising Line Source Type")`

Plus 1 local procedures.

## Triggers

OnClosePage, OnInit, OnOpenPage

## Relations

- source table [Table 99000880 "Order Promising Line"](../table/99000880.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 99000886 "Capable to Promise"](../codeunit/99000886.md) (1 call: `OnClosePage → RemoveReqLines`)
- [Codeunit 99000889 "AvailabilityManagement"](../codeunit/99000889.md) (1 call: `OnClosePage → CancelReservations`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Order Promising Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
