---
id: change/bcapps/11846
type: change
title: "#11846 Fix View file on outgoing E-Documents to open the exported file"
summary: Opening the View file action on outgoing E-Documents now retrieves and downloads the exported file from the document log instead of failing, with appropriate user messages for XML files that cannot be previewed and cases where no exported file exists.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table e-document
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:58.390Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 77bfd99a7efcb800c895a9120ee6adf881f87b20
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11846
    title: "microsoft/BCApps#11846: Fix View file on outgoing E-Documents to open the exported file"
    date: "2026-09-25"
    commit: 77bfd99a7efcb800c895a9120ee6adf881f87b20
    t: null
    quote: Now it finds the exported file from the document log and downloads it, so users don't have to dig through the logs.
links:
  learn: []
  objects:
    - object/table/6121
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11846
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11846
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-25T10:25:25Z"
author: Explorer986
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 152
  deletions: 4
  al: 1
apps:
  - EDocument
objects_touched:
  - key: table/6121
    page: table/6121
    type: table
    id: 6121
    name: E-Document
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12092
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12092
fixes_issues: []
work_items:
  - 648718
systems:
  - integration
quote: Now it finds the exported file from the document log and downloads it, so users don't have to dig through the logs.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11846 Fix View file on outgoing E-Documents to open the exported file

> Opening the View file action on outgoing E-Documents now retrieves and downloads the exported file from the document log instead of failing, with appropriate user messages for XML files that cannot be previewed and cases where no exported file exists.

[Pull request](https://github.com/microsoft/BCApps/pull/11846) · merged into `main` (BC30) on 2026-09-25 by Explorer986 · 2 files (+152 -4), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- View file on outgoing E-Documents retrieves the exported file from the document log
- Downloaded XML files trigger a message explaining they cannot be previewed inline
- Missing exported files show a clear message instead of a record-not-found error
- Incoming E-Document behavior remains unchanged
- New internal helper and label strings added to support the functionality
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 6121 "E-Document"](../../objects/table/6121.md), EDocument: modified

## Also merged into

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

## Context

- Work items: AB#648718
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "Now it finds the exported file from the document log and downloads it, so users don't have to dig through the logs."

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