---
id: change/bcapps/11407
type: change
title: "#11407 [Shopify] Keep exchange shipments eligible for synchronization"
summary: Exchange-refund Shopify orders now sync their shipments correctly. A bug where the refund ID was incorrectly copied to the fulfillment ID field during shipment posting has been fixed.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit shpfy process order
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:29.587Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: f437764682e4dd9da75d704337b2b954a39d427d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11407
    title: "microsoft/BCApps#11407: [Shopify] Keep exchange shipments eligible for synchronization"
    date: "2026-09-18"
    commit: f437764682e4dd9da75d704337b2b954a39d427d
    t: null
    quote: Clear the fulfillment value when it was transferred from the source refund ID, while preserving the Shopify order identifiers.
links:
  learn: []
  objects:
    - object/codeunit/30166
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11407
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11407
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-18T11:43:03Z"
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: 1
  additions: 4
  deletions: 2
  al: 1
apps:
  - Shopify
objects_touched:
  - key: codeunit/30166
    page: codeunit/30166
    type: codeunit
    id: 30166
    name: Shpfy Process Order
    app: Shopify
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 650014
systems:
  - integration
quote: Clear the fulfillment value when it was transferred from the source refund ID, while preserving the Shopify order identifiers.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11407 [Shopify] Keep exchange shipments eligible for synchronization

> Exchange-refund Shopify orders now sync their shipments correctly. A bug where the refund ID was incorrectly copied to the fulfillment ID field during shipment posting has been fixed.

[Pull request](https://github.com/microsoft/BCApps/pull/11407) · merged into `main` (BC30) on 2026-09-18 by onbuyuka · 1 file (+4 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Refund ID was unintentionally copied to the fulfillment ID during shipment posting via TransferFields
- This caused shipments to be treated as already synchronized, preventing proper sync to Shopify
- The fix clears the fulfillment value when it matches a transferred refund ID
- Exchange-refund orders can now synchronize their shipments with Shopify
- Low risk change with no schema modifications
- Behaviour changes for users or extensions.

## AL objects touched

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

## Context

- Work items: AB#650014
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "Clear the fulfillment value when it was transferred from the source refund ID, while preserving the Shopify order identifiers."

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