code change · fixCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#12821 [SOA] Copy manual task attachments to sales quotes

Sales Order Agent now copies manual task attachments to sales quotes by tracking transfers in a new internal table instead of relying on email rows.

Pull request · merged into main (BC30) on 2026-10-28 by qasimikram · 4 files (+143 -29), 4 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Adds internal table 4590 SOA Attachment Transfer to track which attachments have been copied from task messages to quotes
  • Copies attachments from task input messages (mailbox, manual, Try it out) not just from email rows
  • Prevents duplicate attachments by checking transfers and verifying destination attachments still exist
  • Excludes output messages and ignored attachments from copying
  • Uses SaveAttachmentFromStream with LockTable to ensure thread-safe, transactional copying
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#654121
  • Labels: AL: Apps (W1), Team: SCM
  • Systems: copilot

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Standard Sales - Quote report — possibly related: Documents sales quotes feature that receives attachments from manual task integration in this change. (model-linked)

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