Skip to content

[SOA] Disable available-items-only search by default#9606

Merged
qasimikram merged 1 commit into
mainfrom
bugs/642623-search-only-available-default
Jul 22, 2026
Merged

[SOA] Disable available-items-only search by default#9606
qasimikram merged 1 commit into
mainfrom
bugs/642623-search-only-available-default

Conversation

@qasimikram

@qasimikram qasimikram commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What & why

New Sales Order Agent setups currently enable Search Only Available Items by default. This change disables the setting by default so the agent searches all items unless an administrator explicitly enables the availability restriction.

Linked work

Fixes AB#642623

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome

  • Confirmed the default initialization now assigns false to Search Only Available Items.
  • Ran git diff --check successfully.
  • No automated test was added because this is a one-line default-value change and the Sales Order Agent test app is maintained outside BCApps.

Risk & compatibility

  • Existing setup records are unchanged.
  • Administrators can still enable Search Only Available Items.
  • The behavior change applies only when default setup values are initialized.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@qasimikram
qasimikram requested a review from a team July 20, 2026 13:52
@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 SCM GitHub request for SCM area labels Jul 20, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 20, 2026
@qasimikram
qasimikram enabled auto-merge July 21, 2026 07:28
@qasimikram
qasimikram added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit f62f5e7 Jul 22, 2026
459 of 498 checks passed
@qasimikram
qasimikram deleted the bugs/642623-search-only-available-default branch July 22, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants