{"title":"Codeunit 30304 Shpfy Comp. By Email/Phone, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/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":30304,"name":"Shpfy Comp. By Email/Phone","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30304-shpfy-comp-by-email-phone/source/","path":"src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfyCompByEmailPhone.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":{"table:30150":{"name":"Shpfy Company","url":"https://jonas-paprotka.de/ref/table/30150-shpfy-company/"},"codeunit:30301":{"name":"Shpfy Company Import","url":"https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/"},"table:30105":{"name":"Shpfy Customer","url":"https://jonas-paprotka.de/ref/table/30105-shpfy-customer/"},"codeunit:30118":{"name":"Shpfy Customer Mapping","url":"https://jonas-paprotka.de/ref/codeunit/30118-shpfy-customer-mapping/"}},"procs":[{"name":"DoMapping","line":17,"kind":"procedure","access":"internal","params":4,"steps":[[27,"write",30150,"Modify",1],[31,"call","CreateCompany",4],[33,"call","CreateCompany",4]]},{"name":"FindMapping","line":37,"kind":"procedure","access":"internal","params":2,"steps":[[46,"write",30150,"Modify",1],[51,"call","FindByEmail",2],[54,"call","FindByPhoneNo",2]]},{"name":"CreateCompany","line":58,"kind":"procedure","access":"local","params":4,"steps":[[64,"ext","codeunit",30301,"SetShop",1],[65,"ext","codeunit",30301,"SetAllowCreate",1],[66,"ext","codeunit",30301,"SetTemplateCode",1],[68,"write",30150,"Insert"],[70,"run","codeunit",30301],[71,"ext","codeunit",30301,"GetCompany",1]]},{"name":"FindByEmail","line":78,"kind":"procedure","access":"local","params":2,"steps":[[90,"write",30105,"Insert",1],[94,"write",30150,"Modify",1]]},{"name":"FindByPhoneNo","line":99,"kind":"procedure","access":"local","params":2,"steps":[[106,"ext","codeunit",30118,"CreatePhoneFilter",1],[116,"write",30105,"Insert",1],[120,"write",30150,"Modify",1]]}]}