Skip to content

[Shopify] Fix duplicate Sync Prices on B2B Catalogs and GraphQL quote escaping#7585

Open
onbuyuka wants to merge 1 commit intomainfrom
bugs/630273-b2b-catalog-sync-prices-conflict
Open

[Shopify] Fix duplicate Sync Prices on B2B Catalogs and GraphQL quote escaping#7585
onbuyuka wants to merge 1 commit intomainfrom
bugs/630273-b2b-catalog-sync-prices-conflict

Conversation

@onbuyuka
Copy link
Copy Markdown
Contributor

@onbuyuka onbuyuka commented Apr 8, 2026

Summary

  • Add confirmation dialog on the Sync Prices field validation in B2B Catalogs. When enabling Sync Prices on a catalog that already has it enabled for another company (same catalog ID, different company), the user is prompted to disable it on the other line(s). This prevents conflicting pricing configurations that are silently ignored during sync.
  • Fix doubled single quotes (''') in 3 GraphQL resource files (GetCatalogs, GetNextCatalogs, HasFulfillmentService) introduced during the PR [Shopify] Replace GraphQL query codeunits with resource files #7198 migration from AL codeunits to .graphql resource files. In AL string literals '' is an escape for ', but in plain-text resource files it's literal, causing Shopify to reject the query parameters.

Test plan

  • SyncPricesConfirmDisablesOtherLine — user confirms, other catalog line gets Sync Prices disabled
  • SyncPricesCancelKeepsBothUnchanged — user cancels, no changes
  • SyncPricesNoConfirmWhenNoDuplicate — no duplicate, no dialog, field enables normally

Fixes AB#630273

🤖 Generated with Claude Code

… escaping

Add confirmation dialog when enabling Sync Prices on a catalog that already
has it enabled for another company, preventing conflicting pricing configs.
Fix doubled single quotes in GraphQL resource files from PR #7198 migration.

Fixes AB#630273

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@onbuyuka onbuyuka requested a review from a team as a code owner April 8, 2026 11:32
@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Apr 8, 2026
@github-actions github-actions bot added this to the Version 29.0 milestone Apr 8, 2026
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AL Documentation Audit

Documentation gaps were detected in the following apps:

  • Shopify-Connector: 93% documentation coverage

To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.

@onbuyuka onbuyuka enabled auto-merge (squash) April 8, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants