Enhance Shopify Inventory Integration with Improved Inventory Sync Controls#6396
Enhance Shopify Inventory Integration with Improved Inventory Sync Controls#6396TengingBCDevelopers wants to merge 1 commit intomicrosoft:mainfrom
Conversation
… Variant ID filter in Sync Inventory report
|
@microsoft-github-policy-service agree |
src/Apps/W1/Shopify/App/src/Inventory/Codeunits/ShpfySyncInventory.Codeunit.al
Show resolved
Hide resolved
|
Re-triggering CI. |
|
@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. |
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
o Add request page options:
´éº Skip Import Stock (Boolean)
´éº Variant ID Filter (Text)
o Pass the Skip Import and Variant ID Filter options to the Inventory API
o Skip inventory import when requested
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