#12215 [Shopify] Link grouped invoice to all originating orders
Invoice document linking to Shopify orders now correctly associates a single invoice with all originating Shopify orders when multiple shipments are grouped, instead of retaining filters from earlier shipments.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-06 by onbuyuka · 2 files (+59 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Clear stale Shopify document filters before resolving each shipment link
- Grouped shipments from multiple orders are now linked to all originating orders
- Added test coverage for grouped invoice scenario
- No schema or compatibility impact
- Fixes issue where later shipment lookups were affected by retained filters from earlier shipments
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30262 “Shpfy Document Link Mgt.”, Shopify: modified
Context
- Work items: AB#652582
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: “This clears those retained filters before each shipment lookup so the posted invoice is linked to every originating Shopify order.”
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).