---
id: change/bcapps/11063
type: change
title: "#11063 Prevent Sales Order Agent from skipping emails moved into monitored folders"
summary: The Sales Order Agent no longer advances the email sync timestamp after polling, allowing emails moved to monitored folders to be retrieved if they fall within the configured start date instead of being permanently skipped.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit soa retrieve emails
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:15.279Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 9e586f9b8ff30b005316445d8659e196c0e8a0a6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11063
    title: "microsoft/BCApps#11063: Prevent Sales Order Agent from skipping emails moved into monitored folders"
    date: "2026-09-06"
    commit: 9e586f9b8ff30b005316445d8659e196c0e8a0a6
    t: null
    quote: Stop advancing Earliest Sync At after email polling.
links:
  learn: []
  objects:
    - object/codeunit/4582
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11063
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11063
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-06T12:43:59Z"
author: tomasevicst
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: 0
  deletions: 12
  al: 1
apps:
  - SalesOrderAgent
objects_touched:
  - key: codeunit/4582
    page: codeunit/4582
    type: codeunit
    id: 4582
    name: SOA Retrieve Emails
    app: SalesOrderAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 11097
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/11097
fixes_issues: []
work_items:
  - 648911
systems:
  - development
quote: Stop advancing Earliest Sync At after email polling.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11063 Prevent Sales Order Agent from skipping emails moved into monitored folders

> The Sales Order Agent no longer advances the email sync timestamp after polling, allowing emails moved to monitored folders to be retrieved if they fall within the configured start date instead of being permanently skipped.

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

## What changed

- Removed automatic advancement of Earliest Sync At after email polling
- Moved emails keep their original received timestamp and are no longer permanently skipped
- Configured Start Date remains the lower bound for email retrieval
- Previously processed emails are still excluded server-side by their Outlook category
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 4582 "SOA Retrieve Emails"](../../objects/codeunit/4582.md), SalesOrderAgent: modified

## Also merged into

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

## Context

- Work items: AB#648911
- Labels: AL: Apps (W1), Team: SCM
- Systems: development
- From the description: "Stop advancing Earliest Sync At after email polling."

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