Codeunit 5355 CRM Notes Synch Job

Base Application, Microsoft.Integration.D365Sales

Source AL, 366 lines

src/Layers/W1/BaseApp/Integration/D365Sales/CRMNotesSynchJob.Codeunit.allines 14 to 29 of 366, Copyright (c) Microsoft Corporation. MIT

codeunit 5355 "CRM Notes Synch Job"{    TableNo = "Job Queue Entry";    trigger OnRun()    begin        UpdateOrders(Rec.GetLastLogEntryNo());    end;    var        CRMProductName: Codeunit "CRM Product Name";        ConnectionNotEnabledErr: Label 'The %1 connection is not enabled.', Comment = '%1 = CRM product name';        OrderNotesUpdatedMsg: Label 'The notes on coupled sales orders have been synchronized.';    local procedure UpdateOrders(JobLogEntryNo: Integer)

All 366 lines

Public procedures 4 in 29

GetOrderNotesUpdateFinalMessage(): Text17-29
CreateAnnotationsForCreatedNotes(): Integer17-29
CreateNotesForCreatedAnnotations(CreatedAfterDateTime: DateTime): Integer17-29
ModifyNotesForModifiedAnnotations(ModifiedAfterDateTime: DateTime): Integer17-29