---
id: change/bcapps/10665
type: change
title: "#10665 [SOA] Skip content extraction for image attachments"
summary: The Sales Order Agent now skips content extraction for image attachments and uses their stored text content instead, improving processing reliability while maintaining relevance filtering for all attachments.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit soa attachment mllm
  - codeunit soa setup
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:33.570Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 3c30482c629f5a062e1d84d087e834c9461331b9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10665
    title: "microsoft/BCApps#10665: [SOA] Skip content extraction for image attachments"
    date: "2026-08-27"
    commit: 3c30482c629f5a062e1d84d087e834c9461331b9
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4421
    - object/codeunit/4400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10665
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10665
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-27T13:35: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: 35
  deletions: 0
  al: 2
apps:
  - SalesOrderAgent
objects_touched:
  - key: codeunit/4421
    page: codeunit/4421
    type: codeunit
    id: 4421
    name: SOA Attachment MLLM
    app: SalesOrderAgent
    status: modified
  - key: codeunit/4400
    page: codeunit/4400
    type: codeunit
    id: 4400
    name: SOA Setup
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 10738
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/10738
fixes_issues: []
work_items:
  - 647838
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10665 [SOA] Skip content extraction for image attachments

> The Sales Order Agent now skips content extraction for image attachments and uses their stored text content instead, improving processing reliability while maintaining relevance filtering for all attachments.

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

## What changed

- Image attachments bypass the extraction model (which rejects them) and use pre-stored text content
- New IsImageAttachmentContentType function identifies standard and non-standard image MIME types
- Non-image attachments continue through the existing extraction and system-ID marker check path
- Relevance evaluation still applies to all attachments regardless of extraction bypass
- Change is marked temporary pending future extraction model support for images
- Behaviour changes for users or extensions.

## AL objects touched

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

## Also merged into

- [#10738](https://github.com/microsoft/BCApps/pull/10738) into `releases/29.x` on 2026-08-27

## Context

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