---
title: "Codeunit 30285 Shpfy Sync Companies, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/points/
object: https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 30285 Shpfy Sync Companies, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/points/

4 procedures and triggers with a step in src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfySyncCompanies.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 18](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L18), trigger.

- [23](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L23) calls `SetShop`
- [26](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L26) calls `ImportCompaniesFromShopify`
- [28](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L28) calls `ImportCompaniesFromShopify`
- [30](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L30) calls `ExportCompaniesToShopify`
- [33](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L33) calls [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) `SetLastSyncTime`
- [34](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L34) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify

## ImportCompaniesFromShopify

[Line 44](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L44), local.

- [52](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L52) calls [Codeunit 30286 Shpfy Company API](https://jonas-paprotka.de/ref/codeunit/30286-shpfy-company-api/) `RetrieveShopifyCompanyIds`
- [59](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L59) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Insert
- [66](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L66) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Insert
- [72](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L72) runs [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/)

## ExportCompaniesToShopify

[Line 76](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L76), local.

- [80](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L80) calls [Codeunit 30284 Shpfy Company Export](https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/) `SetCreateCompanies`
- [81](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L81) runs [Codeunit 30284 Shpfy Company Export](https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/)

## SetShop

[Line 84](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L84), internal.

- [87](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L87) calls [Codeunit 30284 Shpfy Company Export](https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/) `SetShop`
- [88](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L88) calls [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/) `SetShop`
- [89](https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/#L89) calls [Codeunit 30286 Shpfy Company API](https://jonas-paprotka.de/ref/codeunit/30286-shpfy-company-api/) `SetShop`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
