Codeunit 5366 CRM Archived Sales Orders Job

Base Application, Microsoft.Integration.D365Sales

Source AL, 271 lines

src/Layers/W1/BaseApp/Integration/D365Sales/CRMArchivedSalesOrdersJob.Codeunit.allines 16 to 31 of 271, Copyright (c) Microsoft Corporation. MIT

codeunit 5366 "CRM Archived Sales Orders 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';        BidirectionalSyncNotEnabledErr: Label 'Bidirectional sales order synchronization is not enabled.';        ArchivedOrdersUpdatedMsg: Label 'Archived sales orders have been synchronized.';    local procedure UpdateOrders(JobLogEntryNo: Integer)

All 271 lines

Events 1 in 29

[IntegrationEvent] OnUpdateCRMSalesorderdetailOnBeforeModify(var CRMSalesorderdetail: Record "CRM Salesorderdetail"; SalesLineArchive: Record "Sales Line Archive")new in 24

Changes 1 in 24

List17181920212223242526272829
Events1
[IntegrationEvent] OnUpdateCRMSalesorderdetailOnBeforeModify(var CRMSalesorderdetail: Record "CRM Salesorderdetail"; SalesLineArchive: Record "Sales Line Archive")new in 24
added

All 1 changes in 21-29