{"title":"Codeunit 7102 Contact Sync Processor, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7102-contact-sync-processor/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":7102,"name":"Contact Sync Processor","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7102-contact-sync-processor/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7102-contact-sync-processor/source/","path":"src/Layers/W1/BaseApp/CRM/Outlook/ContactSyncProcessor.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:7013":{"name":"Contact Sync Queue","url":"https://jonas-paprotka.de/ref/table/7013-contact-sync-queue/"},"table:5050":{"name":"Contact","url":"https://jonas-paprotka.de/ref/table/5050-contact/"}},"procs":[{"name":"ProcessBidirectionalSync","line":63,"kind":"procedure","params":4,"steps":[[87,"call","SyncContactToBC",1],[95,"write",7013,"Modify"],[102,"write",7013,"Insert"],[106,"call","ProcessBatchToO365",4],[107,"write",7013,"DeleteAll"],[116,"call","ProcessBatchToO365",4]]},{"name":"ProcessBatchToO365","line":129,"kind":"procedure","access":"local","params":4,"steps":[[153,"call","BuildBatchRequestItem",3],[176,"write",7013,"Modify"],[195,"call","GetBatchResponseStatus",3],[205,"write",7013,"Modify"]]},{"name":"BuildBatchRequestItem","line":215,"kind":"procedure","access":"local","params":3,"steps":[[222,"call","BuildContactJsonBody",2]]},{"name":"SyncContactToBC","line":271,"kind":"procedure","access":"local","params":1,"steps":[[304,"write",5050,"Insert",1]]},{"name":"BuildContactJsonBody","line":311,"kind":"procedure","access":"local","params":2,"steps":[[326,"call","BuildCategoriesArray",0],[331,"call","BuildPrimaryEmailArray",1],[333,"call","BuildEmailArray",1],[336,"call","BuildPhoneArray",1],[337,"call","BuildAddressObject",1]]}]}