{"title":"Codeunit 30191 Shpfy Shipping Charges, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30191-shpfy-shipping-charges/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":"codeunit","id":30191,"name":"Shpfy Shipping Charges","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30191-shpfy-shipping-charges/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30191-shpfy-shipping-charges/source/","path":"src/Apps/W1/Shopify/App/src/Shipping/Codeunits/ShpfyShippingCharges.Codeunit.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":{"codeunit:30103":{"name":"Shpfy Communication Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/"},"codeunit:30157":{"name":"Shpfy Json Helper","url":"https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/"},"table:30130":{"name":"Shpfy Order Shipping Charges","url":"https://jonas-paprotka.de/ref/table/30130-shpfy-order-shipping-charges/"},"table:30122":{"name":"Shpfy Order Tax Line","url":"https://jonas-paprotka.de/ref/table/30122-shpfy-order-tax-line/"},"table:30114":{"name":"Shpfy Data Capture","url":"https://jonas-paprotka.de/ref/table/30114-shpfy-data-capture/"},"table:30131":{"name":"Shpfy Shipment Method Mapping","url":"https://jonas-paprotka.de/ref/table/30131-shpfy-shipment-method-mapping/"}},"procs":[{"name":"UpdateShippingCostInfos","line":23,"kind":"procedure","access":"internal","params":1,"steps":[[31,"ext","codeunit",30103,"SetShop",1],[34,"ext","codeunit",30103,"ExecuteGraphQL",2],[35,"ext","codeunit",30157,"GetJsonObject",3],[38,"ext","codeunit",30157,"GetJsonArray",2],[41,"ext","codeunit",30157,"GetValueAsText",2],[42,"ext","codeunit",30157,"GetValueAsBoolean",2]]},{"name":"UpdateShippingCostInfos","line":51,"kind":"procedure","access":"internal","params":2,"steps":[[64,"ext","codeunit",30103,"GetIdOfGId",1],[64,"ext","codeunit",30157,"GetValueAsText",2],[73,"ext","codeunit",30157,"GetValueIntoField",4],[74,"ext","codeunit",30157,"GetValueIntoField",4],[75,"ext","codeunit",30157,"GetValueIntoField",4],[76,"ext","codeunit",30157,"GetValueIntoField",4],[77,"ext","codeunit",30157,"GetValueIntoField",4],[78,"ext","codeunit",30157,"GetValueIntoField",4],[80,"call","GetShippingDiscountAmount",2],[80,"ext","codeunit",30157,"GetJsonArray",2],[81,"call","GetShippingDiscountAmount",2],[81,"ext","codeunit",30157,"GetJsonArray",2],[83,"write",30130,"Insert"],[85,"write",30130,"Modify"],[87,"ext","table",30122,"ImportFromJson",2],[87,"ext","codeunit",30157,"GetJsonArray",2],[88,"ext","table",30114,"Add",3],[93,"write",30131,"Insert"],[98,"call","DeleteRemovedShippingLines",2]]},{"name":"DeleteRemovedShippingLines","line":101,"kind":"procedure","access":"local","params":2,"steps":[[111,"write",30130,"Delete",1]]},{"name":"GetShippingDiscountAmount","line":116,"kind":"procedure","access":"local","params":2,"steps":[[123,"ext","codeunit",30157,"GetValueAsDecimal",2]]}]}