Codeunit 5355 CRM Notes Synch Job

Base Application, Microsoft.Integration.D365Sales

src/Layers/W1/BaseApp/Integration/D365Sales/CRMNotesSynchJob.Codeunit.al14 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 18, trigger

  1. 20callsUpdateOrders

UpdateOrders line 29, local

  1. 36callsCodeunit 5344 CRM Product Name FULL
  2. 39callsTable 5330 CRM Connection Setup RegisterConnectionWithName
  3. 41callsTable 5330 CRM Connection Setup GetDefaultCRMConnection
  4. 43callsUpdateSalesOrderNotes
  5. 45callsTable 5330 CRM Connection Setup UnregisterConnectionWithName

UpdateSalesOrderNotes line 48, local

  1. 63callsCodeunit 5335 Integration Table Synch. BeginIntegrationSynchJob
  2. 65callsCodeunit 5335 Integration Table Synch. BeginIntegrationSynchJobLoging
  3. 74callsCreateAnnotationsForCreatedNotes
  4. 75callsCreateNotesForCreatedAnnotations
  5. 76callsModifyNotesForModifiedAnnotations
  6. 78callsCodeunit 5335 Integration Table Synch. UpdateSynchJobCounters
  7. 79callsCodeunit 5335 Integration Table Synch. UpdateSynchJobCounters
  8. 80callsCodeunit 5335 Integration Table Synch. EndIntegrationSynchJobWithMsg
  9. 80callsGetOrderNotesUpdateFinalMessage

CreateCRMAnnotation line 109, local

  1. 120callsCodeunit 447 Record Link Management ReadNote
  2. 130writesTable 5385 CRM Annotation Insert
  3. 133callsTable 5392 CRM Annotation Coupling CoupleRecordLinkToCRMAnnotation

FindCoupledCRMSalesOrder line 141, local

  1. 146callsCodeunit 5330 CRM Integration Management IsCRMIntegrationEnabled
  2. 149callsTable 5331 CRM Integration Record FindIDFromRecordID

CreateAnnotationsForCreatedNotes line 159

  1. 170writesTable 5391 CRM Annotation Buffer Insert
  2. 175callsProcessCRMAnnotationBufferEntry

CreateNotesForCreatedAnnotations line 180

  1. 189callsCreateAndCoupleNote

ModifyNotesForModifiedAnnotations line 194

  1. 203callsModifyNote

CreateAndCoupleNote line 207, local

  1. 216callsTable 5331 CRM Integration Record FindRecordIDFromID
  2. 225callsTable 5392 CRM Annotation Coupling FindByCRMId
  3. 228callsCodeunit 5343 CRM Sales Order to Sales Order CreateNote
  4. 229callsTable 5392 CRM Annotation Coupling CoupleRecordLinkToCRMAnnotation

ModifyNote line 233, local

  1. 243callsTable 5331 CRM Integration Record FindRecordIDFromID
  2. 246callsTable 5392 CRM Annotation Coupling FindByCRMId
  3. 258callsTable 5392 CRM Annotation Coupling ExtractNoteText
  4. 259callsCodeunit 447 Record Link Management ReadNote
  5. 260callsCodeunit 447 Record Link Management WriteNote
  6. 261writesTable 2000000068 Record Link Modify(true)
  7. 264writesTable 5392 CRM Annotation Coupling Modify

ProcessCRMAnnotationBufferEntry line 271, local

  1. 281callsDeleteCRMAnnotationBufferEntry
  2. 288callsFindCoupledCRMSalesOrder
  3. 289callsDeleteCRMAnnotationBufferEntry
  4. 294callsDeleteCRMAnnotationBufferEntry
  5. 299callsDeleteCRMAnnotationBufferEntry
  6. 303callsCreateCRMAnnotation
  7. 304callsDeleteCRMAnnotationBufferEntry

DeleteCRMAnnotationBufferEntry line 308, local

  1. 313writesTable 5391 CRM Annotation Buffer Delete

CreateCRMAnnotationBufferEntry line 353, local

  1. 362writesTable 5391 CRM Annotation Buffer Insert(true)