{"title":"Codeunit 5333 CRM Integration Telemetry, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5333-crm-integration-telemetry/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":5333,"name":"CRM Integration Telemetry","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5333-crm-integration-telemetry/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5333-crm-integration-telemetry/source/","path":"src/Layers/W1/BaseApp/Integration/Dataverse/CRMIntegrationTelemetry.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:5330":{"name":"CRM Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/"},"codeunit:5344":{"name":"CRM Product Name","url":"https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[16,"call","SendIntegrationStatsTelemetry",0]]},{"name":"GetEnabledConnectionTelemetryData","line":32,"kind":"procedure","access":"local","params":1,"steps":[[39,"ext","codeunit",5330,"IsItemAvailabilityEnabled",0]]},{"name":"GetIntegrationStatsTelemetryData","line":50,"kind":"procedure","access":"local","params":0,"steps":[[71,"call","GetSyncJobsTotal",1],[71,"call","GetTotalRecords",1],[72,"call","GetCoupledRecords",1],[72,"call","GetCoupledErrors",1]]},{"name":"SendConnectionTelemetry","line":122,"kind":"procedure","access":"local","params":1,"steps":[[125,"call","GetEnabledConnectionTelemetryData",1],[127,"call","GetDisabledConnectionTelemetryData",1]]},{"name":"SendIntegrationStatsTelemetry","line":130,"kind":"procedure","access":"local","params":0,"steps":[[132,"call","GetIntegrationStatsTelemetryData",0]]},{"name":"OnAfterInsertConnectionSetup","line":136,"kind":"procedure","access":"local","params":2,"steps":[[139,"call","SendConnectionTelemetry",1]]},{"name":"OnAfterModifyConnectionSetup","line":143,"kind":"procedure","access":"local","params":3,"steps":[[146,"call","SendConnectionTelemetry",1]]},{"name":"LogTelemetryWhenConnectionDisabled","line":156,"kind":"procedure","params":0,"steps":[[160,"ext","codeunit",5344,"SHORT",0]]}]}