{"title":"Codeunit 30110 Shpfy Create Customer, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/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":30110,"name":"Shpfy Create Customer","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/source/","path":"src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfyCreateCustomer.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:30115":{"name":"Shpfy Customer Events","url":"https://jonas-paprotka.de/ref/codeunit/30115-shpfy-customer-events/"},"codeunit:1381":{"name":"Customer Templ. Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1381-customer-templ-mgt/"},"codeunit:30124":{"name":"Shpfy Update Customer","url":"https://jonas-paprotka.de/ref/codeunit/30124-shpfy-update-customer/"},"table:18":{"name":"Customer","url":"https://jonas-paprotka.de/ref/table/18-customer/"},"table:30106":{"name":"Shpfy Customer Address","url":"https://jonas-paprotka.de/ref/table/30106-shpfy-customer-address/"},"table:30105":{"name":"Shpfy Customer","url":"https://jonas-paprotka.de/ref/table/30105-shpfy-customer/"},"codeunit:5056":{"name":"CustCont-Update","url":"https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/"},"table:30107":{"name":"Shpfy Customer Template","url":"https://jonas-paprotka.de/ref/table/30107-shpfy-customer-template/"},"table:30150":{"name":"Shpfy Company","url":"https://jonas-paprotka.de/ref/table/30150-shpfy-company/"}},"procs":[{"name":"OnRun","line":31,"kind":"trigger","steps":[[36,"ext","codeunit",30115,"OnBeforeCreateCustomer",4],[38,"call","DoCreateCustomer",3],[39,"ext","codeunit",30115,"OnAfterCreateCustomer",3]]},{"name":"DoCreateCustomer","line":48,"kind":"procedure","access":"local","params":3,"steps":[[57,"call","FindCustomerTemplate",2],[61,"call","CreateCustomerFromTemplate",4]]},{"name":"CreateCustomerFromTemplate","line":64,"kind":"procedure","access":"local","params":4,"steps":[[71,"ext","codeunit",1381,"CreateCustomerFromTemplate",3],[72,"ext","codeunit",30124,"FillInCustomerFields",4],[73,"write",18,"Modify"],[75,"write",30106,"Modify"],[78,"write",30105,"Modify"],[80,"ext","codeunit",5056,"OnModify",1]]},{"name":"FindCustomerTemplate","line":89,"kind":"procedure","access":"local","params":2,"steps":[[94,"ext","codeunit",30115,"OnBeforeFindCustomerTemplate",4],[103,"write",30107,"Insert"],[110,"ext","codeunit",30115,"OnAfterFindCustomerTemplate",3]]},{"name":"CreateCustomerFromCompany","line":114,"kind":"procedure","access":"internal","params":2,"steps":[[131,"write",30150,"Delete"],[143,"call","FindCustomerTemplate",2],[147,"ext","codeunit",1381,"CreateCustomerFromTemplate",3],[148,"validate",18,"Name"],[149,"validate",18,"E-Mail"],[150,"validate",18,"Address"],[151,"validate",18,"Address 2"],[152,"validate",18,"Country/Region Code"],[153,"validate",18,"City"],[154,"validate",18,"Post Code"],[157,"validate",18,"County"],[160,"validate",18,"Phone No."],[164,"validate",18,"Tax Area Code"],[165,"validate",18,"Tax Liable"],[168,"validate",18,"VAT Bus. Posting Group"],[172,"validate",18,"Payment Terms Code"],[172,"ext","codeunit",30124,"GetPaymentTermsCodeFromShopifyPaymentTermsId",1],[177,"write",18,"Modify"],[182,"write",30105,"Insert"],[187,"write",30150,"Modify"],[189,"ext","codeunit",5056,"OnModify",1]]}]}