Skip to content

Enhance Shopify Inventory Integration with Improved Inventory Sync Controls#6396

Open
TengingBCDevelopers wants to merge 1 commit intomicrosoft:mainfrom
tenging-labs:PartialStockSync
Open

Enhance Shopify Inventory Integration with Improved Inventory Sync Controls#6396
TengingBCDevelopers wants to merge 1 commit intomicrosoft:mainfrom
tenging-labs:PartialStockSync

Conversation

@TengingBCDevelopers
Copy link

@TengingBCDevelopers TengingBCDevelopers commented Feb 2, 2026

Description
The current Shopify inventory synchronization always performs a full inventory import before exporting stock and does not allow filtering products or skipping the import step.
For customers with large Shopify catalogs, this results in long-running synchronization jobs even when only a small subset of inventory needs to be exported from Business Central.

Business scenario
Customers using shared inventory require inventory to be exported to Shopify after posting Business Central orders, without re-importing all inventory data. Today, the only option is to run a full synchronization, which can take several hours.

Request
Extend the Shopify inventory synchronization to provide more control over import and export behavior.

Requested changes

  1. Report 30102 ÔÇô Shpfy Sync Stock to Shopify
    o Add request page options:
    ´éº Skip Import Stock (Boolean)
    ´éº Variant ID Filter (Text)
  2. Codeunit 30197 ÔÇô Shpfy Sync Inventory
    o Pass the Skip Import and Variant ID Filter options to the Inventory API
    o Skip inventory import when requested
  3. Codeunit 30195 ÔÇô Shpfy Inventory API
    o Skip inventory import when requested
    o Support forced inventory export
    o Limit synchronization scope by Variant ID

Benefits
ÔÇó Improved performance for large Shopify stores
ÔÇó Reduced synchronization time and API usage
ÔÇó More flexible and scalable inventory synchronization

Summary
This change enables filtering, skipping unnecessary import steps, and forcing inventory exports, improving performance and flexibility while remaining backward compatible.

Work Item(s)

Fixes #6395

Fixes AB#624236

… Variant ID filter in Sync Inventory report
@TengingBCDevelopers TengingBCDevelopers requested a review from a team as a code owner February 2, 2026 12:11
@github-actions github-actions bot added AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork labels Feb 2, 2026
@TengingBCDevelopers TengingBCDevelopers marked this pull request as draft February 2, 2026 12:44
@JesperSchulz JesperSchulz added the Integration GitHub request for Integration area label Feb 3, 2026
@TengingBCDevelopers TengingBCDevelopers marked this pull request as ready for review March 4, 2026 15:38
@TengingBCDevelopers
Copy link
Author

@microsoft-github-policy-service agree

@TengingBCDevelopers TengingBCDevelopers marked this pull request as draft March 5, 2026 07:39
@TengingBCDevelopers TengingBCDevelopers marked this pull request as ready for review March 5, 2026 07:39
@onbuyuka onbuyuka added the Linked Issue is linked to a Azure Boards work item label Mar 5, 2026
@github-actions github-actions bot added this to the Version 29.0 milestone Mar 5, 2026
@JesperSchulz
Copy link
Contributor

Re-triggering CI.

@JesperSchulz JesperSchulz reopened this Mar 5, 2026
@onbuyuka
Copy link
Contributor

onbuyuka commented Mar 5, 2026

@TengingBCDevelopers there are compilation errors:

Compilation started for project 'Shopify Connector' containing '638' files at '14:54:39.103'.

Error: PTE0008 Field 'SkipImport' must have a value for the ApplicationArea property so that they are visible to users. From runtime 11.0, you can specify on the application object level the ApplicationArea to use as default for all its controls and actions.
Error: PTE0008 Field 'VariantIdFilter' must have a value for the ApplicationArea property so that they are visible to users. From runtime 11.0, you can specify on the application object level the ApplicationArea to use as default for all its controls and actions.
Error: AA0204 The name of the global variable 'SkipImport' is identical to a field, method, or action in the same scope.
Error: AA0204 The name of the global variable 'VariantIdFilter' is identical to a field, method, or action in the same scope.
Error: AA0137 Variable 'ShpfyInventoryEvents' is unused in 'OnRun'.
Error: AA0137 Variable 'VariantIdFilter' is unused in 'OnRun'.

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 From Fork Pull request is coming from a fork Integration GitHub request for Integration area Linked Issue is linked to a Azure Boards work item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BC Idea]: Shopify Connector - Enhance Shopify Inventory Integration with Improved Inventory Sync Controls

3 participants