{"title":"Codeunit 6704 Booking Customer Sync., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6704-booking-customer-sync/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":6704,"name":"Booking Customer Sync.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6704-booking-customer-sync/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6704-booking-customer-sync/source/","path":"src/Layers/W1/BaseApp/OtherCapabilities/Booking/BookingCustomerSync.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:6700":{"name":"O365 Sync. Management","url":"https://jonas-paprotka.de/ref/codeunit/6700-o365-sync-management/"},"table:6702":{"name":"Booking Sync","url":"https://jonas-paprotka.de/ref/table/6702-booking-sync/"},"codeunit:6702":{"name":"O365 Contact Sync. Helper","url":"https://jonas-paprotka.de/ref/codeunit/6702-o365-contact-sync-helper/"},"table:5050":{"name":"Contact","url":"https://jonas-paprotka.de/ref/table/5050-contact/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[21,"ext","codeunit",6700,"SyncBookingCustomers",1]]},{"name":"GetRequestParameters","line":32,"kind":"procedure","params":1,"steps":[[39,"ext","table",6702,"GetCustomerFilter",0],[59,"ext","table",6702,"SaveCustomerFilter",1],[60,"write",6702,"Modify",1]]},{"name":"SyncRecords","line":66,"kind":"procedure","params":1,"steps":[[71,"ext","codeunit",6702,"GetO365Contacts",2],[72,"ext","codeunit",6700,"TraceCategory",0],[74,"ext","codeunit",6700,"ShowProgress",1],[75,"call","ProcessNavContacts",1],[77,"ext","codeunit",6700,"ShowProgress",1],[78,"call","ProcessExchangeContacts",1],[80,"ext","codeunit",6700,"CloseProgress",0],[82,"write",6702,"Modify",1]]},{"name":"ProcessExchangeContacts","line":85,"kind":"procedure","access":"local","params":1,"steps":[[88,"ext","table",5050,"SetLastDateTimeFilter",1],[90,"call","ProcessExchangeContactRecordSet",2]]},{"name":"ProcessExchangeContactRecordSet","line":93,"kind":"procedure","access":"local","params":2,"steps":[[109,"write",5050,"Insert",1],[112,"ext","codeunit",6702,"TransferBookingContactToNavContact",2],[114,"write",5050,"Modify",1],[116,"validate",5050,"Type"],[117,"ext","table",5050,"TypeChange",0],[118,"write",5050,"Modify",1],[119,"ext","table",5050,"SetHideValidationDialog",1],[120,"ext","table",5050,"CreateCustomerFromTemplate",1]]},{"name":"ProcessNavContacts","line":126,"kind":"procedure","access":"local","params":1,"steps":[[130,"call","BuildNavContactFilter",2],[133,"ext","table",5050,"SetLastDateTimeFilter",1],[134,"call","ProcessNavContactRecordSet",1]]},{"name":"ProcessNavContactRecordSet","line":138,"kind":"procedure","access":"local","params":1,"steps":[[144,"ext","codeunit",6702,"ProcessNavContactRecordSet",3]]},{"name":"BuildNavContactFilter","line":147,"kind":"procedure","access":"local","params":2,"steps":[[154,"ext","table",6702,"GetCustomerFilter",0]]}]}