#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.
- 4files
- 4AL files
- 3objects
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
- Codeunit 4600 “SOA Document Events”, SalesOrderAgent: modified
- Permission set 4406 “SOA - Objects”, SalesOrderAgent: modified
- Codeunit 4592 “SOA Events”, SalesOrderAgent: modified
src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAAttachmentTransfer.Table.al: added, not in the BC30 snapshot yet
Context
- Work items: AB#654121
- Labels: AL: Apps (W1), Team: SCM
- Systems: copilot
Possibly related
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).