code change · featureIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#14060 [Shopify] Automatically move negative exchange lines

Shopify shop configurations now offer an option to automatically move negative exchange lines from return orders into separate sales documents (orders or invoices) before release, with rollback protection and enhanced warning handling.

Pull request · merged into main (BC30) on 2026-12-01 by onbuyuka · 12 files (+720 -1), 10 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New shop-level setting ‘Move Negative Lines To’ with options: Do Not Move (default), Sales Order, or Sales Invoice
  • Automatic movement applies when processing Shopify exchanges, reusing standard copy routines while preserving Shopify identifiers and links
  • Existing Auto Release toggle controls both the original return document and its auto-generated replacement
  • Enhanced error handling with rollback: blocked entities raise original errors to prevent partial completion
  • Overload added to Copy Document Mgt codeunit and propagated across all localization layers (ES, IT, NA, NL, RU, W1)
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#659113
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: integration, platform
  • From the description: “Automatic movement applies to sales return orders and reuses the standard move routine before release, preserving Shopify identifiers and document links.”

No source states these links: they share an object, a model read them, or a person found the same subject.

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