{"title":"Codeunit 30170 Shpfy Order Risks, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/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":30170,"name":"Shpfy Order Risks","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30170-shpfy-order-risks/source/","path":"src/Apps/W1/Shopify/App/src/Order Risks/Codeunits/ShpfyOrderRisks.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:30123":{"name":"Shpfy Order Risk","url":"https://jonas-paprotka.de/ref/table/30123-shpfy-order-risk/"}},"procs":[{"name":"UpdateOrderRisks","line":35,"kind":"procedure","access":"internal","params":1,"steps":[[42,"ext","codeunit",30103,"SetShop",1],[44,"ext","codeunit",30103,"ExecuteGraphQL",2],[45,"ext","codeunit",30157,"GetJsonArray",3]]},{"name":"UpdateOrderRisks","line":54,"kind":"procedure","access":"internal","params":2,"steps":[[67,"write",30123,"DeleteAll"],[69,"ext","codeunit",30157,"GetJsonObject",3],[70,"ext","codeunit",30157,"GetValueAsText",2],[73,"call","ConvertToRiskLevel",1],[73,"ext","codeunit",30157,"GetValueAsText",2],[74,"ext","codeunit",30157,"GetJsonArray",3],[82,"call","ConvertToSentiment",1],[82,"ext","codeunit",30157,"GetValueAsText",2],[84,"ext","codeunit",30157,"GetValueIntoField",4]]},{"name":"ConvertToRiskLevel","line":91,"kind":"procedure","access":"internal","params":1,"steps":[[93,"ext","codeunit",30103,"ConvertToCleanOptionValue",1]]},{"name":"ConvertToSentiment","line":100,"kind":"procedure","access":"local","params":1,"steps":[[102,"ext","codeunit",30103,"ConvertToCleanOptionValue",1]]}]}