---
title: "Page 30172 Shpfy Order Totals FactBox, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/points/
object: https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/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/"
---

# Page 30172 Shpfy Order Totals FactBox, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/points/

7 procedures and triggers with a step in src/Apps/W1/Shopify/App/src/Order handling/Pages/ShpfyOrderTotalsFactBox.Page.al, in source order, read from the text, not from a run.

## Shopify Order No..OnDrillDown

[Line 36](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L36), trigger.

- [38](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L38) runs [Page 30113 Shpfy Order](https://jonas-paprotka.de/ref/page/30113-shpfy-order/)

## NumberOfLines.OnDrillDown

[Line 220](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L220), trigger.

- [231](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L231) calls `GetSalesDocumentType`
- [233](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L233) runs [Page 516 Sales Lines](https://jonas-paprotka.de/ref/page/516-sales-lines/)
- [238](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L238) runs [Page 526 Posted Sales Invoice Lines](https://jonas-paprotka.de/ref/page/526-posted-sales-invoice-lines/)

## CurrencyCode.OnAfterGetRecord

[Line 253](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L253), trigger.

- [255](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L255) calls [Table 30118 Shpfy Order Header](https://jonas-paprotka.de/ref/table/30118-shpfy-order-header/) `IsPresentmentCurrencyOrder`
- [256](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L256) calls `CalcShopifyTotalsExcludingExchange`
- [257](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L257) calls `UpdateSalesDocumentInfo`

## UpdateSalesDocumentInfo

[Line 260](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L260), local.

- [262](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L262) calls `ClearSalesDocumentInfo`
- [263](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L263) calls `ResolveSalesDocument`
- [271](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L271) calls `UpdateOpenSalesDocumentTotals`
- [273](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L273) calls `UpdatePostedSalesInvoiceTotals`

## ResolveSalesDocument

[Line 308](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L308), local.

- [310](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L310) calls `FindLinkedDocument`
- [314](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L314) calls `FindLinkedDocument`
- [318](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L318) calls `FindLinkedDocument`

## UpdateOpenSalesDocumentTotals

[Line 351](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L351), local.

- [357](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L357) calls `GetSalesDocumentType`
- [358](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L358) calls `ClearSalesDocumentInfo`
- [363](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L363) calls `GetCurrencyCode`
- [369](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L369) calls [Codeunit 57 Document Totals](https://jonas-paprotka.de/ref/codeunit/57-document-totals/) `CalculateSalesTotals`

## UpdatePostedSalesInvoiceTotals

[Line 375](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L375), local.

- [381](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L381) calls `ClearSalesDocumentInfo`
- [386](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L386) calls `GetCurrencyCode`
- [391](https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/#L391) calls [Codeunit 57 Document Totals](https://jonas-paprotka.de/ref/codeunit/57-document-totals/) `CalculatePostedSalesInvoiceTotals`

## Source

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

JOP-AL, 2026-11-20.
