---
title: "Codeunit 30301 Shpfy Company Import, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/points/
object: https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/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 30301 Shpfy Company Import, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/points/

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

## OnRun

[Line 16](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L16), trigger.

- [21](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L21) calls `SetCompany`
- [23](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L23) calls [Codeunit 30286 Shpfy Company API](https://jonas-paprotka.de/ref/codeunit/30286-shpfy-company-api/) `RetrieveShopifyCompany`
- [25](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L25) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Delete
- [29](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L29) calls [Codeunit 30286 Shpfy Company API](https://jonas-paprotka.de/ref/codeunit/30286-shpfy-company-api/) `UpdateShopifyCompanyLocations`
- [32](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L32) calls [Codeunit 30303 Shpfy Company Mapping](https://jonas-paprotka.de/ref/codeunit/30303-shpfy-company-mapping/) `FindMapping`
- [34](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L34) calls [Codeunit 30124 Shpfy Update Customer](https://jonas-paprotka.de/ref/codeunit/30124-shpfy-update-customer/) `SetShop`
- [35](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L35) calls [Codeunit 30124 Shpfy Update Customer](https://jonas-paprotka.de/ref/codeunit/30124-shpfy-update-customer/) `UpdateCustomerFromCompany`
- [39](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L39) calls [Codeunit 30110 Shpfy Create Customer](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/) `SetShop`
- [40](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L40) calls [Codeunit 30110 Shpfy Create Customer](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/) `SetTemplateCode`
- [41](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L41) calls [Codeunit 30110 Shpfy Create Customer](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/) `CreateCustomerFromCompany`

## SetCompany

[Line 57](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L57), local.

- [66](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L66) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Insert

## SetShop

[Line 77](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L77), internal.

- [80](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L80) calls [Codeunit 30286 Shpfy Company API](https://jonas-paprotka.de/ref/codeunit/30286-shpfy-company-api/) `SetShop`
- [81](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/#L81) calls [Codeunit 30303 Shpfy Company Mapping](https://jonas-paprotka.de/ref/codeunit/30303-shpfy-company-mapping/) `SetShop`

## Source

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

JOP-AL, 2026-11-20.
