Table 5370 CRM Synch. Job Status Cue

App
Base Application
Namespace
Microsoft.Integration.Dataverse
Versions
17-28

Fields, 5Keys, 1

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Integration/D365Sales/CRMSynchJobStatusCue.Table.al59 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.Dataverse;

using System.Threading;

table 5370 "CRM Synch. Job Status Cue"
{
    Caption = 'CRM Synch. Job Status Cue';
    DataClassification = CustomerContent;

    fields
    {
        field(1; "Code"; Code[10])
        {
            Caption = 'Code';
        }
        field(2; "Failed Synch. Jobs"; Integer)
        {
            CalcFormula = count("Job Queue Entry" where("Object ID to Run" = field("Object ID to Run"),
                                                         Status = const(Error),
                                                         "Last Ready State" = field("Date Filter")));
            Caption = 'Failed Synch. Jobs';
            ToolTip = 'Specifies the number of failed Dynamics 365 Sales synchronization jobs in the job queue.';
            FieldClass = FlowField;
        }
        field(6; "Date Filter"; DateTime)
        {
            Caption = 'Date Filter';
            Editable = false;
            FieldClass = FlowFilter;
        }
        field(7; "Reset Date"; DateTime)
        {
            Caption = 'Reset Date';
        }
        field(8; "Object ID to Run"; Integer)
        {
            Caption = 'Object ID to Run';
            FieldClass = FlowFilter;
        }
    }

    keys
    {
        key(Key1; "Code")
        {
            Clustered = true;
        }
    }

    fieldgroups
    {
    }
}