#11135 Fix dimensions not populated by "Get Order Lines" on Purchase Invoices
The 'Get Order Lines' function on purchase invoices now copies dimension sets from order lines, fixing a bug where dimensions were reset to defaults during line validation.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-08 by VolodySyn · 2 files (+56 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Get Order Lines now keeps the purchase order line’s dimensions on the new invoice lines
- GetPurchaseOrderLines now validates the Dimension Set ID from the order line onto the invoice line
- Before the fix, validating the No. field reset dimensions to item or account defaults
- Added test GetOrderLinesCopiesDimensionsToInvoiceLine
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 5826 “Matched Order Line Mgmt.”, Base Application: modified
Also merged into
- #11146 into
releases/29.xon 2026-09-08
Context
- Work items: AB#643374
- Labels: Team: SCM
- Systems: inventory
- From the description: “Get Order Lines created invoice lines without the order line’s dimensions”
Linked pages
- Update 28.6, 643374: Fix an issue where dimensions are not populated when using ‘Get Order Lines’ on Purchase Invoices. — fixes: work item 643374
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Combine Receipts or PO Lines on a Single Invoice — possibly related: Explains Get Order Lines action to combine multiple purchase orders onto a single invoice. (model-linked)
- Match Purchase Invoice Drafts to Purchase Orders — possibly related: Describes matching purchase invoice drafts to purchase orders with dimension and detail validation. (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).