#9316 [Shopify] Preserve manually set Sell-to Customer No. when Bill-to mapping fails
Fixed a Shopify Connector bug where manually set Sell-to Customer No. was overwritten when Bill-to Customer No. failed to map, and added fallback logic to derive Bill-to from Sell-to when unmapped.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-13 by onbuyuka · 2 files (+55 -9), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Sell-to Customer No. mapping now runs only when Sell-to is blank, so a manually chosen customer is kept
- Bill-to Customer No. falls back to Sell-to Customer No. when it would otherwise stay blank
- Automated imports, where Sell-to starts blank, behave as before
- Only the non-B2B mapping path changed; B2B mapping is untouched
- Test added for a manual Sell-to with an unmapped Bill-to
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30163 “Shpfy Order Mapping”, Shopify: modified
Context
- Work items: AB#642033
- Labels: AL: Apps (W1)
- Systems: integration
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).