{"title":"Codeunit 30184 Shpfy Sync Product Image, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30184-shpfy-sync-product-image/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":30184,"name":"Shpfy Sync Product Image","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30184-shpfy-sync-product-image/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30184-shpfy-sync-product-image/source/","path":"src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfySyncProductImage.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:30179":{"name":"Shpfy Product Image Export","url":"https://jonas-paprotka.de/ref/codeunit/30179-shpfy-product-image-export/"},"codeunit:30270":{"name":"Shpfy Bulk Operation Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30270-shpfy-bulk-operation-mgt/"},"codeunit:30176":{"name":"Shpfy Product API","url":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/"},"codeunit:30456":{"name":"Shpfy Variant Image Export","url":"https://jonas-paprotka.de/ref/codeunit/30456-shpfy-variant-image-export/"},"table:30127":{"name":"Shpfy Product","url":"https://jonas-paprotka.de/ref/table/30127-shpfy-product/"},"codeunit:30189":{"name":"Shpfy Variant API","url":"https://jonas-paprotka.de/ref/codeunit/30189-shpfy-variant-api/"},"table:30129":{"name":"Shpfy Variant","url":"https://jonas-paprotka.de/ref/table/30129-shpfy-variant/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"},"codeunit:30177":{"name":"Shpfy Product Events","url":"https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/"},"table:5401":{"name":"Item Variant","url":"https://jonas-paprotka.de/ref/table/5401-item-variant/"}},"procs":[{"name":"OnRun","line":18,"kind":"trigger","steps":[[20,"call","SetShop",1],[23,"call","ExportImages",0],[25,"call","ImportImages",0]]},{"name":"ExportImages","line":39,"kind":"procedure","access":"local","params":0,"steps":[[53,"ext","codeunit",30179,"SetRecordCount",1],[57,"run","codeunit",30179],[58,"call","ExportVariantsImages",1],[60,"ext","codeunit",30179,"GetBulkOperationInput",0],[61,"ext","codeunit",30179,"GetRequestData",0],[63,"ext","codeunit",30270,"SendBulkMutation",4],[64,"ext","codeunit",30179,"GetParametersList",0],[66,"ext","codeunit",30176,"UpdateProductImage",1],[67,"call","RevertProductImageChanges",2]]},{"name":"ExportVariantsImages","line":71,"kind":"procedure","access":"local","params":1,"steps":[[79,"run","codeunit",30456]]},{"name":"ImportImages","line":86,"kind":"procedure","access":"local","params":0,"steps":[[102,"ext","codeunit",30176,"SetShop",1],[103,"ext","codeunit",30176,"RetrieveShopifyProductImages",1],[109,"call","UpdateItemImage",2],[112,"write",30127,"Modify"],[116,"ext","codeunit",30189,"SetShop",1],[117,"ext","codeunit",30189,"RetrieveShopifyProductVariantImages",1],[125,"call","UpdateItemVariantImage",2],[127,"write",30129,"Modify"],[135,"call","UpdateItemImage",2],[137,"write",30129,"Modify"],[146,"call","UpdateItemImage",2],[148,"write",30129,"Modify"]]},{"name":"SetShop","line":158,"kind":"procedure","access":"internal","params":1,"steps":[[161,"ext","codeunit",30179,"SetShop",1],[162,"ext","codeunit",30456,"SetShop",1]]},{"name":"UpdateItemImage","line":171,"kind":"procedure","access":"local","params":2,"steps":[[181,"write",27,"Modify",1],[182,"ext","codeunit",30177,"OnAfterUpdateItemPicture",3]]},{"name":"UpdateItemVariantImage","line":187,"kind":"procedure","access":"local","params":2,"steps":[[197,"write",5401,"Modify",1],[198,"ext","codeunit",30177,"OnAfterUpdateItemVariantPicture",3]]},{"name":"RevertProductImageChanges","line":208,"kind":"procedure","access":"local","params":2,"steps":[[219,"write",30127,"Modify"]]}]}