{"title":"Codeunit 30180 Shpfy Product Import, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30180-shpfy-product-import/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":30180,"name":"Shpfy Product Import","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30180-shpfy-product-import/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30180-shpfy-product-import/source/","path":"src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyProductImport.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:30181":{"name":"Shpfy Product Mapping","url":"https://jonas-paprotka.de/ref/codeunit/30181-shpfy-product-mapping/"},"codeunit:30188":{"name":"Shpfy Update Item","url":"https://jonas-paprotka.de/ref/codeunit/30188-shpfy-update-item/"},"codeunit:30171":{"name":"Shpfy Create Item","url":"https://jonas-paprotka.de/ref/codeunit/30171-shpfy-create-item/"},"table:30127":{"name":"Shpfy Product","url":"https://jonas-paprotka.de/ref/table/30127-shpfy-product/"},"codeunit:30176":{"name":"Shpfy Product API","url":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/"},"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/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[29,"ext","codeunit",30181,"FindMapping",2],[31,"ext","codeunit",30188,"SetShop",1],[32,"run","codeunit",30188],[36,"ext","codeunit",30171,"SetShop",1],[43,"run","codeunit",30171],[44,"call","SetProductConflict",2],[48,"call","SetProductConflict",3]]},{"name":"SetProduct","line":75,"kind":"procedure","access":"internal","params":1,"steps":[[86,"write",30127,"Insert"],[91,"write",30127,"Modify",1],[94,"ext","codeunit",30176,"RetrieveShopifyProduct",1],[95,"ext","codeunit",30189,"RetrieveShopifyProductVariantIds",2],[103,"write",30129,"Insert"],[108,"ext","codeunit",30189,"RetrieveShopifyVariant",3],[109,"write",30129,"Delete"],[112,"write",30127,"Delete"]]},{"name":"SetShop","line":140,"kind":"procedure","access":"internal","params":1,"steps":[[143,"ext","codeunit",30176,"SetShop",1],[144,"ext","codeunit",30189,"SetShop",1]]},{"name":"SetProductConflict","line":152,"kind":"procedure","access":"local","params":3,"steps":[[161,"validate",30127,"Has Error"],[165,"validate",30127,"Error Message"],[167,"validate",30127,"Has Error"],[168,"validate",30127,"Error Message"],[170,"write",30127,"Modify",1]]}]}