{"title":"Codeunit 30213 Shpfy Translation API, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30213-shpfy-translation-api/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":30213,"name":"Shpfy Translation API","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30213-shpfy-translation-api/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30213-shpfy-translation-api/source/","path":"src/Apps/W1/Shopify/App/src/Translations/Codeunits/ShpfyTranslationApi.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:30156":{"name":"Shpfy Language","url":"https://jonas-paprotka.de/ref/table/30156-shpfy-language/"},"table:30157":{"name":"Shpfy Translation","url":"https://jonas-paprotka.de/ref/table/30157-shpfy-translation/"}},"procs":[{"name":"PullLanguages","line":18,"kind":"procedure","access":"internal","params":1,"steps":[[33,"ext","codeunit",30103,"SetShop",1],[36,"ext","codeunit",30103,"ExecuteGraphQL",1],[38,"call","CollectLocales",1],[40,"ext","codeunit",30157,"GetJsonArray",3],[43,"ext","codeunit",30157,"GetValueAsText",2],[44,"ext","codeunit",30157,"GetValueAsBoolean",2],[48,"ext","table",30156,"AddLanguage",2],[53,"write",30156,"Delete",1]]},{"name":"CreateOrUpdateTranslations","line":75,"kind":"procedure","access":"internal","params":1,"steps":[[81,"call","CreateTranslationGraphQuery",2],[84,"call","UpdateTranslations",3],[84,"call","GetResourceTypeName",1]]},{"name":"CreateTranslationGraphQuery","line":88,"kind":"procedure","access":"local","params":2,"steps":[[98,"call","EscapeGrapQLData",1],[98,"ext","table",30157,"GetValue",0]]},{"name":"UpdateTranslations","line":116,"kind":"procedure","access":"local","params":3,"steps":[[127,"ext","codeunit",30103,"ExecuteGraphQL",2]]},{"name":"RetrieveTranslatableContentDigests","line":139,"kind":"procedure","access":"internal","params":2,"steps":[[149,"call","GetResourceTypeName",1],[153,"ext","codeunit",30103,"ExecuteGraphQL",2],[155,"ext","codeunit",30157,"IsNull",2],[156,"ext","codeunit",30157,"GetJsonArray",3],[158,"ext","codeunit",30157,"GetValueAsText",2],[158,"ext","codeunit",30157,"GetValueAsText",2]]}]}