#11484 [E-Documents Core] - Supported type direction configuration
E-Document services now support per-document-type direction configuration (Incoming, Outgoing, or Both), allowing administrators to control which document types each service can process and preventing implicit document exchanges.
- 19files
- 15AL files
- 15objects
Pull request · merged into main (BC30) on 2026-09-29 by GediminasGaubys (community contribution) · 19 files (+1248 -93), 15 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds a Direction field (Incoming, Outgoing, Both) to E-Doc. Service Supported Type, backed by the new closed enum E-Doc. Supp. Type Direction
- Outbound creation, recreate and batch export require Outgoing or Both; V1 and V2 inbound processing require Incoming or Both and log an error otherwise
- A missing supported-type row now denies both directions; built-in services (PDF reader, ForNAV, Payables Agent, demo) are seeded with Incoming rows
- Per-company upgrade turns existing rows into Both and missing types into Incoming, except seven fallback-secondary types left unconfigured
- Uses one lookup for non-fallback types, caches the service record in the V2 rejection path, and fixes recurrent and threshold batch export edge cases
- Breaking: existing extensions can stop compiling or working.
AL objects touched
- Codeunit 6162 “E-Doc. DED PEPPOL Subscribers”, EDocument: modified
- Codeunit 6161 “E-Document Install”, EDocument: modified
- Codeunit 6165 “EDoc PEPPOL BIS 3.0”, EDocument: modified
- Codeunit 6142 “E-Doc. Recurrent Batch Send”, EDocument: modified
- Codeunit 6102 “E-Doc. Export”, EDocument: modified
- Codeunit 6140 “E-Doc. Import”, EDocument: modified
- Codeunit 6104 “Import E-Document Process”, EDocument: modified
- Table 6122 “E-Doc. Service Supported Type”, EDocument: modified
- Page 6129 “E-Doc Service Supported Types”, EDocument: modified
- Enum 6166 “E-Doc. Supp. Type Direction”, EDocument: added
- Table 6103 “E-Document Service”, EDocument: modified
- Page 6133 “E-Document Service”, EDocument: modified
- Codeunit 6168 “E-Document Upgrade”, EDocument: modified
- Codeunit 6135 “E-Document WorkFlow Processing”, EDocument: modified
- Codeunit 3307 “Payables Agent Setup”, PayablesAgent: modified
Context
- Work items: AB#650228
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Integrations
- Systems: integration, 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).