---
id: change/bcapps/10772
type: change
title: "#10772 [Bug Fix] #304: [SOA] Re-resolve new sender to created contact after 'I have added the contact'"
summary: Sales Order Agent now correctly re-resolves sender information to the newly created contact after a user adds a contact in the chat, allowing the agent to proceed instead of reporting the customer cannot be found.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit soa setup
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:14.709Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2e8d75cb5e193ce2899a51c5a3c1ba0dab0de1b5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10772
    title: "microsoft/BCApps#10772: [Bug Fix] #304: [SOA] Re-resolve new sender to created contact after 'I have added the contact'"
    date: "2026-10-06"
    commit: 2e8d75cb5e193ce2899a51c5a3c1ba0dab0de1b5
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10772
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10772
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-06T17:40:58Z"
author: ventselartur
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: 1
  additions: 2
  deletions: 2
  al: 1
apps:
  - SalesOrderAgent
objects_touched:
  - key: codeunit/4400
    page: codeunit/4400
    type: codeunit
    id: 4400
    name: SOA Setup
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 615541
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10772 [Bug Fix] #304: [SOA] Re-resolve new sender to created contact after 'I have added the contact'

> Sales Order Agent now correctly re-resolves sender information to the newly created contact after a user adds a contact in the chat, allowing the agent to proceed instead of reporting the customer cannot be found.

[Pull request](https://github.com/microsoft/BCApps/pull/10772) · merged into `main` (BC30) on 2026-10-06 by ventselartur · 1 file (+2 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Rewrote intervention instruction label to explicitly command re-navigation to contact list
- Agent searches for newly created contact before falling back to customer list
- Fixes agent getting stuck when email arrives from unrecognized sender and user creates contact
- Root cause was stale customer-list context preventing proper contact lookup after creation
- Contact without linked customer continues to be supported via contact number filter
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 4400 "SOA Setup"](../../objects/codeunit/4400.md), SalesOrderAgent: modified

## Context

- Work items: AB#615541
- 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).
