{"title":"Codeunit 5055 CustVendBank-Update, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5055-custvendbank-update/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":5055,"name":"CustVendBank-Update","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5055-custvendbank-update/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5055-custvendbank-update/source/","path":"src/Layers/W1/BaseApp/CRM/BusinessRelation/CustVendBankUpdate.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:18":{"name":"Customer","url":"https://jonas-paprotka.de/ref/table/18-customer/"},"codeunit:249":{"name":"VAT Registration Log Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/"},"table:23":{"name":"Vendor","url":"https://jonas-paprotka.de/ref/table/23-vendor/"},"table:270":{"name":"Bank Account","url":"https://jonas-paprotka.de/ref/table/270-bank-account/"},"table:5200":{"name":"Employee","url":"https://jonas-paprotka.de/ref/table/5200-employee/"}},"procs":[{"name":"OnRun","line":23,"kind":"trigger","steps":[[29,"event","OnBeforeOnRun",1],[40,"call","UpdateCustomer",2],[42,"call","UpdateVendor",2],[44,"call","UpdateBankAccount",2],[46,"call","UpdateEmployee",2],[48,"event","OnRunCustVendBankUpdateCaseElse",0]]},{"name":"UpdateCustomer","line":61,"kind":"procedure","params":2,"steps":[[68,"event","OnBeforeUpdateCustomer",1],[71,"event","OnUpdateCustomerOnAfterGetCust",0],[74,"call","CustCopyFieldsFromCont",1],[79,"event","OnAfterUpdateCustomer",0],[80,"write",18,"Modify"],[82,"ext","codeunit",249,"LogCustomer",1],[85,"event","OnAfterUpdateCustomerProcedure",0]]},{"name":"CustCopyFieldsFromCont","line":88,"kind":"procedure","access":"local","params":1,"steps":[[93,"event","OnBeforeCustCopyFieldsFromCont",1]]},{"name":"UpdateVendor","line":100,"kind":"procedure","params":2,"steps":[[107,"event","OnBeforeUpdateVendor",1],[110,"event","OnUpdateVendorOnAfterGetVend",0],[114,"call","VendCopyFieldsFromCont",1],[120,"event","OnAfterUpdateVendor",0],[121,"write",23,"Modify"],[123,"ext","codeunit",249,"LogVendor",1],[126,"event","OnAfterUpdateVendorProcedure",0]]},{"name":"VendCopyFieldsFromCont","line":129,"kind":"procedure","access":"local","params":1,"steps":[[134,"event","OnBeforeVendCopyFieldsFromCont",1]]},{"name":"UpdateBankAccount","line":141,"kind":"procedure","params":2,"steps":[[146,"event","OnBeforeUpdateBankAccount",1],[151,"validate",270,"Currency Code"],[152,"call","BankAccountCopyFieldsFromCont",1],[157,"event","OnAfterUpdateBankAccount",0],[158,"write",270,"Modify"],[161,"event","OnAfterUpdateBankAccountProcedure",0]]},{"name":"BankAccountCopyFieldsFromCont","line":164,"kind":"procedure","access":"local","params":1,"steps":[[169,"event","OnBeforeBankAccountCopyFieldsFromCont",1]]},{"name":"UpdateEmployee","line":177,"kind":"procedure","params":2,"steps":[[182,"event","OnBeforeUpdateEmployee",1],[203,"write",5200,"Modify",1],[206,"event","OnAfterUpdateEmployee",0]]}]}