---
title: "Report 30104 Shpfy Sync Orders from Shopify, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/points/
object: https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/
checked: 2026-11-20
changed: 2026-10-28
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/"
---

# Report 30104 Shpfy Sync Orders from Shopify, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/points/

6 procedures and triggers with a step in src/Apps/W1/Shopify/App/src/Order handling/Reports/ShpfySyncOrdersfromShopify.Report.al, in source order, read from the text, not from a run.

## OrdersToImport.OnPreDataItem

[Line 32](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L32), trigger.

- [39](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L39) writes [Table 30121 Shpfy Orders to Import](https://jonas-paprotka.de/ref/table/30121-shpfy-orders-to-import/) ModifyAll

## OrdersToImport.OnAfterGetRecord

[Line 49](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L49), trigger.

- [58](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L58) runs [Codeunit 30161 Shpfy Import Order](https://jonas-paprotka.de/ref/codeunit/30161-shpfy-import-order/)
- [71](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L71) calls [Codeunit 30163 Shpfy Order Mapping](https://jonas-paprotka.de/ref/codeunit/30163-shpfy-order-mapping/) `DoMapping`
- [73](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L73) calls `CreateSalesDocumentForOrders`

## OrdersToImport.OnPostDataItem

[Line 82](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L82), trigger.

- [87](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L87) calls `ProcessShopifyRefunds`

## OrdersToImport.OnAfterGetRecord

[Line 91](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L91), trigger.

- [96](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L96) calls [Codeunit 30165 Shpfy Orders API](https://jonas-paprotka.de/ref/codeunit/30165-shpfy-orders-api/) `GetOrdersToImport`

## OnPreReport

[Line 109](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L109), trigger.

- [113](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L113) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`

## CreateSalesDocumentForOrders

[Line 121](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L121), local.

- [128](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L128) runs [Codeunit 30166 Shpfy Process Order](https://jonas-paprotka.de/ref/codeunit/30166-shpfy-process-order/)
- [135](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L135) calls [Codeunit 30166 Shpfy Process Order](https://jonas-paprotka.de/ref/codeunit/30166-shpfy-process-order/) `CleanUpLastCreatedDocument`
- [145](https://jonas-paprotka.de/ref/report/30104-shpfy-sync-orders-from-shopify/source/#L145) writes [Table 30118 Shpfy Order Header](https://jonas-paprotka.de/ref/table/30118-shpfy-order-header/) Modify(true)

## Source

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

JOP-AL, 2026-11-20.
