{"title":"Page 30172 Shpfy Order Totals FactBox, extension points 29","url":"https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":30172,"name":"Shpfy Order Totals FactBox","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/30172-shpfy-order-totals-factbox/source/","path":"src/Apps/W1/Shopify/App/src/Order handling/Pages/ShpfyOrderTotalsFactBox.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"page:30113":{"name":"Shpfy Order","url":"https://jonas-paprotka.de/ref/page/30113-shpfy-order/"},"page:516":{"name":"Sales Lines","url":"https://jonas-paprotka.de/ref/page/516-sales-lines/"},"page:526":{"name":"Posted Sales Invoice Lines","url":"https://jonas-paprotka.de/ref/page/526-posted-sales-invoice-lines/"},"table:30118":{"name":"Shpfy Order Header","url":"https://jonas-paprotka.de/ref/table/30118-shpfy-order-header/"},"codeunit:57":{"name":"Document Totals","url":"https://jonas-paprotka.de/ref/codeunit/57-document-totals/"}},"procs":[{"name":"Shopify Order No..OnDrillDown","line":36,"kind":"trigger","steps":[[38,"run","page",30113]]},{"name":"NumberOfLines.OnDrillDown","line":220,"kind":"trigger","steps":[[231,"call","GetSalesDocumentType",0],[233,"run","page",516],[238,"run","page",526]]},{"name":"CurrencyCode.OnAfterGetRecord","line":253,"kind":"trigger","steps":[[255,"ext","table",30118,"IsPresentmentCurrencyOrder",0],[256,"call","CalcShopifyTotalsExcludingExchange",0],[257,"call","UpdateSalesDocumentInfo",0]]},{"name":"UpdateSalesDocumentInfo","line":260,"kind":"procedure","access":"local","params":0,"steps":[[262,"call","ClearSalesDocumentInfo",0],[263,"call","ResolveSalesDocument",2],[271,"call","UpdateOpenSalesDocumentTotals",0],[273,"call","UpdatePostedSalesInvoiceTotals",0]]},{"name":"ResolveSalesDocument","line":308,"kind":"procedure","access":"local","params":2,"steps":[[310,"call","FindLinkedDocument",2],[314,"call","FindLinkedDocument",2],[318,"call","FindLinkedDocument",2]]},{"name":"UpdateOpenSalesDocumentTotals","line":351,"kind":"procedure","access":"local","params":0,"steps":[[357,"call","GetSalesDocumentType",0],[358,"call","ClearSalesDocumentInfo",0],[363,"call","GetCurrencyCode",1],[369,"ext","codeunit",57,"CalculateSalesTotals",3]]},{"name":"UpdatePostedSalesInvoiceTotals","line":375,"kind":"procedure","access":"local","params":0,"steps":[[381,"call","ClearSalesDocumentInfo",0],[386,"call","GetCurrencyCode",1],[391,"ext","codeunit",57,"CalculatePostedSalesInvoiceTotals",3]]}]}