---
title: "Codeunit 30116 Shpfy Customer Export, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/points/
object: https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/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 30116 Shpfy Customer Export, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/points/

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

## OnRun

[Line 20](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L20), trigger.

- [27](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L27) calls [Codeunit 30114 Shpfy Customer API](https://jonas-paprotka.de/ref/codeunit/30114-shpfy-customer-api/) `FillInMissingShopIds`
- [30](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L30) calls [Codeunit 30118 Shpfy Customer Mapping](https://jonas-paprotka.de/ref/codeunit/30118-shpfy-customer-mapping/) `SetShop`
- [33](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L33) calls [Codeunit 30118 Shpfy Customer Mapping](https://jonas-paprotka.de/ref/codeunit/30118-shpfy-customer-mapping/) `FindMapping`
- [35](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L35) calls `CreateShopifyCustomer`
- [39](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L39) calls [Codeunit 30313 Shpfy Skipped Record](https://jonas-paprotka.de/ref/codeunit/30313-shpfy-skipped-record/) `LogSkippedRecord`
- [42](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L42) calls `UpdateShopifyCustomer`
- [49](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L49) calls `UpdateShopifyCustomer`

## CreateShopifyCustomer

[Line 70](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L70), local.

- [76](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L76) calls [Codeunit 30313 Shpfy Skipped Record](https://jonas-paprotka.de/ref/codeunit/30313-shpfy-skipped-record/) `LogSkippedRecord`
- [82](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L82) calls `FillInShopifyCustomerData`
- [83](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L83) calls [Codeunit 30114 Shpfy Customer API](https://jonas-paprotka.de/ref/codeunit/30114-shpfy-customer-api/) `CreateCustomer`
- [87](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L87) writes [Table 30105 Shpfy Customer](https://jonas-paprotka.de/ref/table/30105-shpfy-customer/) Insert
- [88](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L88) writes [Table 30106 Shpfy Customer Address](https://jonas-paprotka.de/ref/table/30106-shpfy-customer-address/) Insert
- [92](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L92) calls `UpdateMetafields`

## FillInShopifyCustomerData

[Line 102](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L102), internal.

- [118](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L118) calls `SpiltNameIntoFirstAndLastName`
- [121](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L121) calls `SpiltNameIntoFirstAndLastName`
- [123](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L123) calls `SpiltNameIntoFirstAndLastName`
- [197](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L197) calls `HasDiff`
- [197](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L197) calls `HasDiff`

## SetShop

[Line 238](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L238), internal.

- [241](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L241) calls [Codeunit 30114 Shpfy Customer API](https://jonas-paprotka.de/ref/codeunit/30114-shpfy-customer-api/) `SetShop`

## UpdateShopifyCustomer

[Line 272](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L272), local.

- [283](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L283) calls `FillInShopifyCustomerData`
- [284](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L284) calls [Codeunit 30114 Shpfy Customer API](https://jonas-paprotka.de/ref/codeunit/30114-shpfy-customer-api/) `UpdateCustomer`
- [285](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L285) writes [Table 30105 Shpfy Customer](https://jonas-paprotka.de/ref/table/30105-shpfy-customer/) Modify
- [286](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L286) writes [Table 30106 Shpfy Customer Address](https://jonas-paprotka.de/ref/table/30106-shpfy-customer-address/) Modify
- [290](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L290) calls `UpdateMetafields`

## UpdateMetafields

[Line 298](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L298), local.

- [302](https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/source/#L302) calls [Codeunit 30418 Shpfy Metafields](https://jonas-paprotka.de/ref/codeunit/30418-shpfy-metafields/) `SyncMetafieldsToShopify`

## Source

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

JOP-AL, 2026-11-20.
