---
title: "Codeunit 30170 Shpfy Order Risks, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/points/
object: https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/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 30170 Shpfy Order Risks, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/points/

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

## UpdateOrderRisks

[Line 35](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L35), internal.

- [42](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L42) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `SetShop`
- [44](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L44) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `ExecuteGraphQL`
- [45](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L45) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonArray`

## UpdateOrderRisks

[Line 54](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L54), internal.

- [67](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L67) writes [Table 30123 Shpfy Order Risk](https://jonas-paprotka.de/ref/table/30123-shpfy-order-risk/) DeleteAll
- [69](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L69) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonObject`
- [70](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L70) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [73](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L73) calls `ConvertToRiskLevel`
- [73](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L73) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [74](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L74) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonArray`
- [82](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L82) calls `ConvertToSentiment`
- [82](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L82) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [84](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L84) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueIntoField`

## ConvertToRiskLevel

[Line 91](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L91), internal.

- [93](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L93) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `ConvertToCleanOptionValue`

## ConvertToSentiment

[Line 100](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L100), local.

- [102](https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/#L102) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `ConvertToCleanOptionValue`

## Source

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

JOP-AL, 2026-11-20.
