---
title: "Codeunit 30304 Shpfy Comp. By Email/Phone, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/points/
object: https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/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 30304 Shpfy Comp. By Email/Phone, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/points/

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

## DoMapping

[Line 17](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L17), internal.

- [27](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L27) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Modify(true)
- [31](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L31) calls `CreateCompany`
- [33](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L33) calls `CreateCompany`

## FindMapping

[Line 37](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L37), internal.

- [46](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L46) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Modify(true)
- [51](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L51) calls `FindByEmail`
- [54](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L54) calls `FindByPhoneNo`

## CreateCompany

[Line 58](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L58), local.

- [64](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L64) calls [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/) `SetShop`
- [65](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L65) calls [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/) `SetAllowCreate`
- [66](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L66) calls [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/) `SetTemplateCode`
- [68](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L68) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Insert
- [70](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L70) runs [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/)
- [71](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L71) calls [Codeunit 30301 Shpfy Company Import](https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/) `GetCompany`

## FindByEmail

[Line 78](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L78), local.

- [90](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L90) writes [Table 30105 Shpfy Customer](https://jonas-paprotka.de/ref/table/30105-shpfy-customer/) Insert(true)
- [94](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L94) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Modify(true)

## FindByPhoneNo

[Line 99](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L99), local.

- [106](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L106) calls [Codeunit 30118 Shpfy Customer Mapping](https://jonas-paprotka.de/ref/codeunit/30118-shpfy-customer-mapping/) `CreatePhoneFilter`
- [116](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L116) writes [Table 30105 Shpfy Customer](https://jonas-paprotka.de/ref/table/30105-shpfy-customer/) Insert(true)
- [120](https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/#L120) writes [Table 30150 Shpfy Company](https://jonas-paprotka.de/ref/table/30150-shpfy-company/) Modify(true)

## Source

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

JOP-AL, 2026-11-20.
