#9145 [E-Document] Show PDF preview factbox on purchase invoice pages
A PDF preview factbox is added to purchase invoice pages to display the original invoice PDF linked to an inbound E-Document, appearing only when relevant and placed above the Incoming Documents factbox.
- 6files
- 6AL files
- 6objects
Pull request · merged into main (BC30) on 2026-07-09 by Explorer986 · 6 files (+203 -0), 6 AL · feature · tier official · reviewed (checked by Opus)
What changed
- PDF preview factbox added to Purchase Invoice, Purchase Invoices, Posted Purchase Invoice and Posted Purchase Invoices pages
- Preview is read-only and shown only when the invoice is linked to an inbound E-Document whose source file is a PDF
- Factbox sits in the Details area above the Incoming Documents factbox
- E-Document Helper resolves the linked E-Document (by E-Document Link for open invoices, Document Record ID for posted) and renders the PDF preview
- No table schema changes or new stored data
- Behaviour changes for users or extensions.
AL objects touched
- Page 6111 “Inbound E-Doc. Picture”, EDocument: modified
- Page extension 6146 “E-Doc. Posted Purch. Inv.”, EDocument: modified
- Page extension 6109 “E-Doc. Posted Purch. Invoices”, EDocument: added
- Page extension 6129 “E-Doc. Purchase Invoice”, EDocument: modified
- Page extension 6100 “E-Doc. Purchase Invoices”, EDocument: added
- Codeunit 6148 “E-Document Helper”, EDocument: modified
Context
- Work items: AB#624060
- Labels: AL: Apps (W1), Team: Finance
- Systems: purchasing, integration
- From the description: “This adds a read-only PDF preview factbox to Purchase Invoice (51), Purchase Invoices (9308), Posted Purchase Invoice (138) and Posted Purchase Invoices (146).”
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).