LS Central Scheduler for Shopify BC Connector

The Shopify Business Central Connector for LS Central includes four code units that can be scheduled. Use the LS Central Scheduler to keep them running automatically, instead of on demand only.

There are a few code units that can be scheduled to handle this. They all run against every Shopify Shop, unless the Shopify Shop's code is entered into the Code field under Object Setup on the Scheduler Job card, in which case the job only runs for that one store.

Note: These code units run in addition to, not instead of, the standard Microsoft Shopify Connector jobs (product export, inventory, and price synchronization). They add LS Central specific processing on top of the standard connector.

Scheduler Job Name Code Unit ID Code Unit Name Info
SHPFY-ORDER 71079035 LSC Shpfy Order Pulls new and changed orders from Shopify and creates Customer Orders in LS Central. For orders already imported, applies header/line edits and cancellations coming back from Shopify, and updates the Customer Order when Shopify marks the order Fulfilled or Partially Fulfilled.

Note: There is no manual action for this job on the Shopify Shop Card; it must be run from the Scheduler Job.

SHPFY-PRODUCT 71079036 LSC Shpfy Products For every product already synchronized to Shopify, sends LS Central Meta Data to the matching Shopify product, and keeps Shopify Collections in sync with the Item Category, Product Group, and Special Group settings enabled on the Shopify Shop Card.

Note: This job does not create the Shopify product or variant itself - that still happens through the standard Microsoft Shopify Connector product export. You can also run the Collections part of this job directly from the Shopify Shop Card, using Sync Collections.

SHPFY-DISCOUNT 71079045 LSC Shpfy Discount Synchronizes eligible Periodic Discount offers to Shopify as automatic discounts, and turns off previously sent discounts that are no longer eligible.

Note: Send Discounts must be enabled on the Shopify Shop Card, or this job does nothing for that store.

SHPFY-IMAGE 71079046 LSC Shpfy Image Pushes LS Central item, variant, and collection images to Shopify as product/collection media, attaches images to the correct variants, reorders images to match the Display Order set in LS Central, and removes images from Shopify once their LS Central image link is deleted.

Note: There is no manual action for this job on the Shopify Shop Card; it must be run from the Scheduler Job.

Each code unit takes a Scheduler Job Header record when it runs, so it must be scheduled from the Scheduler Job page - the same LS Central scheduler used elsewhere in LS Central, not the standalone Business Central Job Queue Entries page.

You can run parts of this code directly from the Shopify Shop Card page, under the LS Central Extension menu.

Note: Running from the LS Central Extension menu is for test runs; it does not update the Scheduler Job's own run counter.

  • Click LS Central Extension, and select the appropriate action.
    • Sync Discounts: To run the discount sync for the store (same processing as the SHPFY-DISCOUNT job).
    • Sync Collections: To create Collections in Shopify based on the Collection settings (part of what the SHPFY-PRODUCT job does).