Codeunit 6700 O365 Sync. Management

Base Application

src/Layers/W1/BaseApp/O365SyncManagement.Codeunit.al24 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 13, trigger

  1. 17raisesOnBeforeOnRunIsHandled
  2. 21runsCodeunit 6703 Exchange Contact Sync.
  3. 22runsCodeunit 6704 Booking Customer Sync.
  4. 23runsCodeunit 6705 Booking Service Sync.

GetBookingMailboxes line 47

  1. 52callsRegisterBookingsConnection
  2. 54writesTable 6704 Booking Mailbox DeleteAll
  3. 59writesTable 6704 Booking Mailbox Insert

CreateExchangeConnection line 64

  1. 69callsIsO365Setup
  2. 70callsGetUser
  3. 72callsValidateExchangeConnection

IsO365Setup line 77

  1. 85callsGetUser
  2. 89callsGetPasswordOrToken
  3. 92callsOpenSetupWindow

SetupContactSyncJobQueue line 109, local

  1. 119callsTable 472 Job Queue Entry InitRecurringJob
  2. 123runsCodeunit 453 Job Queue - Enqueue

SyncBookingCustomers line 130

  1. 134callsTraceCategory
  2. 135callsCheckUserAccess
  3. 136callsShowProgress
  4. 137callsRegisterBookingsConnection
  5. 138callsCloseProgress
  6. 139callsCodeunit 6704 Booking Customer Sync. SyncRecords

SyncBookingServices line 143

  1. 147callsTraceCategory
  2. 148callsCheckUserAccess
  3. 149callsShowProgress
  4. 150callsRegisterBookingsConnection
  5. 151callsCloseProgress
  6. 152callsCodeunit 6705 Booking Service Sync. SyncRecords

SyncExchangeContacts line 156

  1. 160callsTraceCategory
  2. 161callsShowProgress
  3. 162callsRegisterExchangeConnection
  4. 163callsCloseProgress
  5. 164callsCodeunit 6703 Exchange Contact Sync. SyncRecords

LogActivityFailed line 167

  1. 174callsTable 710 Activity Log LogActivityForUser

BuildBookingsConnectionStringAsSecretText line 180

  1. 190callsGetUser
  2. 192callsGetPasswordOrToken
  3. 205callsTable 6700 Exchange Sync GetExchangeEndpoint

BuildExchangeConnectionStringAsSecretText line 210

  1. 218callsGetUser
  2. 220callsGetPasswordOrToken
  3. 233callsTable 6700 Exchange Sync GetExchangeEndpoint

RegisterBookingsConnection line 237

  1. 242callsUnregisterConnection
  2. 244callsBookingsConnectionReady
  3. 248callsUnregisterConnection
  4. 253callsRegisterConnection
  5. 254callsSetConnection

RegisterExchangeConnection line 258

  1. 261callsUnregisterConnection
  2. 263callsExchangeConnectionReady
  3. 267callsUnregisterConnection
  4. 270callsRegisterConnection
  5. 271callsSetConnection

RegisterConnection line 287, local

  1. 289callsTryRegisterConnection
  2. 291callsConnectionFailure

SetConnection line 301, local

  1. 303callsTrySetConnection
  2. 305callsConnectionFailure

ConnectionFailure line 315, local

  1. 317callsLogActivityFailed
  2. 320callsCloseProgress

ValidateExchangeConnection line 326

  1. 332callsCreateExchangeAccountCredentials
  2. 334callsCodeunit 5321 Exchange Web Services Server InitializeAndValidate
  3. 336validatesTable 6700 Exchange Sync Exchange Service URI
  4. 337writesTable 6700 Exchange Sync Modify

CreateExchangeAccountCredentials line 342, local

  1. 351callsGetUser
  2. 355callsGetPasswordOrToken

ShowProgress line 370

  1. 373callsCloseProgress

CloseProgress line 378

  1. 381callsTryCloseProgress

BookingsConnectionReady line 396, local

  1. 400callsBuildBookingsConnectionStringAsSecretText
  2. 401callsConnectionStringChanged

ExchangeConnectionReady line 405, local

  1. 409callsBuildExchangeConnectionStringAsSecretText
  2. 410callsConnectionStringChanged

GetPasswordOrToken line 415, local

  1. 420callsCodeunit 6300 Azure AD Mgt. GetAccessTokenAsSecretText
  2. 420callsCodeunit 6300 Azure AD Mgt. GetO365Resource
  3. 420callsCodeunit 6300 Azure AD Mgt. GetO365ResourceName
  4. 422callsCodeunit 1293 Isolated Storage Management Get

CheckUserAccess line 428, local

  1. 437callsCreateExchangeAccountCredentials
  2. 439callsTable 6700 Exchange Sync GetExchangeEndpoint