---
id: change/bcapps/10007
type: change
title: "#10007 [SOA] Ignore item availability when disabled"
summary: The Sales Order Agent now ignores item availability signals when availability checking is disabled in settings, while still requesting assistance when no item is found.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page soa multi items availability
  - codeunit soa prompt builder
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:56.755Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4f0b77a3c1caf4e11d0b167869182a58b14b01cd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10007
    title: "microsoft/BCApps#10007: [SOA] Ignore item availability when disabled"
    date: "2026-08-10"
    commit: 4f0b77a3c1caf4e11d0b167869182a58b14b01cd
    t: null
    quote: add a disabled-state prompt instruction that tells the agent to ignore item availability signals
links:
  learn: []
  objects:
    - object/page/4410
    - object/codeunit/4002
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10007
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10007
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-10T19:11:44Z"
author: qasimikram
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: 25
  deletions: 8
  al: 2
apps:
  - SalesOrderAgent
objects_touched:
  - key: page/4410
    page: page/4410
    type: page
    id: 4410
    name: SOA Multi Items Availability
    app: SalesOrderAgent
    status: modified
  - key: codeunit/4002
    page: codeunit/4002
    type: codeunit
    id: 4002
    name: SOA Prompt Builder
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641231
systems:
  - development
quote: add a disabled-state prompt instruction that tells the agent to ignore item availability signals
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10007 [SOA] Ignore item availability when disabled

> The Sales Order Agent now ignores item availability signals when availability checking is disabled in settings, while still requesting assistance when no item is found.

[Pull request](https://github.com/microsoft/BCApps/pull/10007) · merged into `main` (BC30) on 2026-08-10 by qasimikram · 3 files (+25 -8), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Adds prompt instruction to skip availability checks when feature is disabled
- Excludes availability and capable-to-promise instructions from generated prompts when disabled
- Hides and neutralizes availability values on the item search page for agent sessions when setting is off
- Failed item searches still escalate to request assistance regardless of availability setting
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 4410 "SOA Multi Items Availability"](../../objects/page/4410.md), SalesOrderAgent: modified
- [Codeunit 4002 "SOA Prompt Builder"](../../objects/codeunit/4002.md), SalesOrderAgent: modified

## Context

- Work items: AB#641231
- Labels: AL: Apps (W1), Team: SCM
- Systems: development
- From the description: "add a disabled-state prompt instruction that tells the agent to ignore item availability signals"

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