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

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

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

## OnRun

[Line 31](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L31), trigger.

- [36](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L36) calls [Codeunit 30115 Shpfy Customer Events](https://jonas-paprotka.de/ref/codeunit/30115-shpfy-customer-events/) `OnBeforeCreateCustomer`
- [38](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L38) calls `DoCreateCustomer`
- [39](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L39) calls [Codeunit 30115 Shpfy Customer Events](https://jonas-paprotka.de/ref/codeunit/30115-shpfy-customer-events/) `OnAfterCreateCustomer`

## DoCreateCustomer

[Line 48](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L48), local.

- [57](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L57) calls `FindCustomerTemplate`
- [61](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L61) calls `CreateCustomerFromTemplate`

## CreateCustomerFromTemplate

[Line 64](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L64), local.

- [71](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L71) calls [Codeunit 1381 Customer Templ. Mgt.](https://jonas-paprotka.de/ref/codeunit/1381-customer-templ-mgt/) `CreateCustomerFromTemplate`
- [72](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L72) calls [Codeunit 30124 Shpfy Update Customer](https://jonas-paprotka.de/ref/codeunit/30124-shpfy-update-customer/) `FillInCustomerFields`
- [73](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L73) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify
- [75](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L75) writes [Table 30106 Shpfy Customer Address](https://jonas-paprotka.de/ref/table/30106-shpfy-customer-address/) Modify
- [78](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L78) writes [Table 30105 Shpfy Customer](https://jonas-paprotka.de/ref/table/30105-shpfy-customer/) Modify
- [80](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L80) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnModify`

## FindCustomerTemplate

[Line 89](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L89), local.

- [94](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L94) calls [Codeunit 30115 Shpfy Customer Events](https://jonas-paprotka.de/ref/codeunit/30115-shpfy-customer-events/) `OnBeforeFindCustomerTemplate`
- [103](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L103) writes [Table 30107 Shpfy Customer Template](https://jonas-paprotka.de/ref/table/30107-shpfy-customer-template/) Insert
- [110](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L110) calls [Codeunit 30115 Shpfy Customer Events](https://jonas-paprotka.de/ref/codeunit/30115-shpfy-customer-events/) `OnAfterFindCustomerTemplate`

## CreateCustomerFromCompany

[Line 114](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L114), internal.

- [131](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L131) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Delete
- [143](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L143) calls `FindCustomerTemplate`
- [147](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L147) calls [Codeunit 1381 Customer Templ. Mgt.](https://jonas-paprotka.de/ref/codeunit/1381-customer-templ-mgt/) `CreateCustomerFromTemplate`
- [148](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L148) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Name`
- [149](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L149) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `E-Mail`
- [150](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L150) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Address`
- [151](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L151) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Address 2`
- [152](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L152) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Country/Region Code`
- [153](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L153) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `City`
- [154](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L154) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Post Code`
- [157](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L157) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `County`
- [160](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L160) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Phone No.`
- [164](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L164) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Tax Area Code`
- [165](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L165) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Tax Liable`
- [168](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L168) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `VAT Bus. Posting Group`
- [172](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L172) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Terms Code`
- [172](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L172) calls [Codeunit 30124 Shpfy Update Customer](https://jonas-paprotka.de/ref/codeunit/30124-shpfy-update-customer/) `GetPaymentTermsCodeFromShopifyPaymentTermsId`
- [177](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L177) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify
- [182](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L182) writes [Table 30105 Shpfy Customer](https://jonas-paprotka.de/ref/table/30105-shpfy-customer/) Insert
- [187](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L187) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Modify
- [189](https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/#L189) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnModify`

## Source

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

JOP-AL, 2026-11-20.
