---
title: "Codeunit 30167 Shpfy Process Orders, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/points/
object: https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/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/"
---

# Codeunit 30167 Shpfy Process Orders, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/points/

4 procedures and triggers with a step in src/Apps/W1/Shopify/App/src/Order handling/Codeunits/ShpfyProcessOrders.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 21](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L21), trigger.

- [25](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L25) calls `SetShop`
- [32](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L32) calls `ProcessShopifyOrders`
- [33](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L33) calls `ProcessShopifyRefunds`

## ProcessShopifyOrder

[Line 49](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L49), internal.

- [54](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L54) runs [Codeunit 30166 Shpfy Process Order](https://jonas-paprotka.de/ref/codeunit/30166-shpfy-process-order/)
- [60](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L60) calls [Codeunit 30166 Shpfy Process Order](https://jonas-paprotka.de/ref/codeunit/30166-shpfy-process-order/) `CleanUpLastCreatedDocument`
- [69](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L69) writes [Table 30118 Shpfy Order Header](https://jonas-paprotka.de/ref/table/30118-shpfy-order-header/) Modify(true)

## ProcessShopifyOrders

[Line 78](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L78), internal.

- [83](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L83) calls `ProcessShopifyOrder`

## ClearProcessedDocuments

[Line 87](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L87), internal.

- [92](https://jonas-paprotka.de/ref/codeunit/30167-shpfy-process-orders/source/#L92) writes [Table 30118 Shpfy Order Header](https://jonas-paprotka.de/ref/table/30118-shpfy-order-header/) Modify

## Source

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

JOP-AL, 2026-11-20.
