Codeunit 5359 Int. Coupling Job Runner
src/Layers/W1/BaseApp/Integration/SynchEngine/IntCouplingJobRunner.Codeunit.al27 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.SyncEngine;using System.Threading;codeunit 5359 "Int. Coupling Job Runner"{ TableNo = "Job Queue Entry"; trigger OnRun() var IntegrationTableMapping: Record "Integration Table Mapping"; begin IntegrationTableMapping.Get(Rec."Record ID to Process"); RunIntegrationTableCouple(IntegrationTableMapping, Rec.GetLastLogEntryNo()); end; procedure RunIntegrationTableCouple(IntegrationTableMapping: Record "Integration Table Mapping"; JobLogEntryNo: Integer) begin IntegrationTableMapping.SetJobLogEntryNo(JobLogEntryNo); Codeunit.Run(IntegrationTableMapping."Coupling Codeunit ID", IntegrationTableMapping); end;}