---
id: change/bcapps/11383
type: change
title: '#11383 [SOA] Fix "The Order Promising Setup does not exist." crash when setting quote quantity'
summary: The Sales Order Agent now handles missing Order Promising Setup gracefully by skipping capable-to-promise calculations and preventing misconfiguration through a setup confirmation dialog on the SOA Setup page.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit soa shipment date mgt.
  - codeunit soa item search
  - page soa setup
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:03.351Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6d37dcf387144f3f005e6a169b9d476f1b98cd64
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11383
    title: 'microsoft/BCApps#11383: [SOA] Fix "The Order Promising Setup does not exist." crash when setting quote quantity'
    date: "2026-09-15"
    commit: 6d37dcf387144f3f005e6a169b9d476f1b98cd64
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4413
    - object/codeunit/4591
    - object/page/4400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11383
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11383
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-15T13:25:16Z"
author: VolodySyn
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 37
  deletions: 7
  al: 3
apps:
  - SalesOrderAgent
objects_touched:
  - key: codeunit/4413
    page: codeunit/4413
    type: codeunit
    id: 4413
    name: SOA Shipment Date Mgt.
    app: SalesOrderAgent
    status: modified
  - key: codeunit/4591
    page: codeunit/4591
    type: codeunit
    id: 4591
    name: SOA Item Search
    app: SalesOrderAgent
    status: modified
  - key: page/4400
    page: page/4400
    type: page
    id: 4400
    name: SOA Setup
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 11446
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/11446
fixes_issues: []
work_items:
  - 622246
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11383 [SOA] Fix "The Order Promising Setup does not exist." crash when setting quote quantity

> The Sales Order Agent now handles missing Order Promising Setup gracefully by skipping capable-to-promise calculations and preventing misconfiguration through a setup confirmation dialog on the SOA Setup page.

[Pull request](https://github.com/microsoft/BCApps/pull/11383) · merged into `main` (BC30) on 2026-09-15 by VolodySyn · 3 files (+37 -7), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Agent no longer crashes with 'Order Promising Setup does not exist' error when setting quote quantities
- Capable-to-promise calculation is skipped when Order Promising Setup is absent
- Enabling 'Include capable to promise' toggle on SOA Setup page now checks for and offers to create the setup
- Graceful degradation shows availability notification instead of error for agents without order promising configuration
- No behavior change when Order Promising Setup already exists
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 4413 "SOA Shipment Date Mgt."](../../objects/codeunit/4413.md), SalesOrderAgent: modified
- [Codeunit 4591 "SOA Item Search"](../../objects/codeunit/4591.md), SalesOrderAgent: modified
- [Page 4400 "SOA Setup"](../../objects/page/4400.md), SalesOrderAgent: modified

## Also merged into

- [#11446](https://github.com/microsoft/BCApps/pull/11446) into `releases/29.x` on 2026-09-15

## Context

- Work items: AB#622246
- Labels: AL: Apps (W1), Team: SCM
- Systems: development

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
