---
id: change/bcapps/12214
type: change
title: "#12214 [Shopify] Store currency handling for auto-created orders"
summary: The Shopify connector now persists the currency handling mode used during order processing to the Shopify order record, ensuring the stored value reflects the actual mode applied to the created sales document even if the shop configuration changes during synchronization.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit shpfy process order
  - codeunit shpfy process orders
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:14.709Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6fed24a324ef6d224cc50d1ba604a9ea96eee8e8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12214
    title: "microsoft/BCApps#12214: [Shopify] Store currency handling for auto-created orders"
    date: "2026-10-06"
    commit: 6fed24a324ef6d224cc50d1ba604a9ea96eee8e8
    t: null
    quote: Persist the currency handling inside the shared order processor using the same shop snapshot that creates the sales document.
links:
  learn: []
  objects:
    - object/codeunit/30166
    - object/codeunit/30167
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12214
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12214
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-06T19:04:29Z"
author: onbuyuka
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: 3
  additions: 111
  deletions: 3
  al: 2
apps:
  - Shopify
objects_touched:
  - key: codeunit/30166
    page: codeunit/30166
    type: codeunit
    id: 30166
    name: Shpfy Process Order
    app: Shopify
    status: modified
  - key: codeunit/30167
    page: codeunit/30167
    type: codeunit
    id: 30167
    name: Shpfy Process Orders
    app: Shopify
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652580
systems:
  - integration
quote: Persist the currency handling inside the shared order processor using the same shop snapshot that creates the sales document.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12214 [Shopify] Store currency handling for auto-created orders

> The Shopify connector now persists the currency handling mode used during order processing to the Shopify order record, ensuring the stored value reflects the actual mode applied to the created sales document even if the shop configuration changes during synchronization.

[Pull request](https://github.com/microsoft/BCApps/pull/12214) · merged into `main` (BC30) on 2026-10-06 by onbuyuka · 3 files (+111 -3), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Currency handling mode is now stored in the Shopify order processor from the same shop snapshot that creates the sales document
- Both automatic and manual order processing wrappers preserve the currency handling value
- Prevents stale or incorrect Processed Currency Handling values if shop settings change during synchronization
- Regression test enhanced to verify the stored mode matches the resulting document
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 30166 "Shpfy Process Order"](../../objects/codeunit/30166.md), Shopify: modified
- [Codeunit 30167 "Shpfy Process Orders"](../../objects/codeunit/30167.md), Shopify: modified

## Context

- Work items: AB#652580
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "Persist the currency handling inside the shared order processor using the same shop snapshot that creates the sales document."

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