Table 1180 Data Privacy Entities, source in 28

Source242526272829metadata in 28

src/System Application/App/Data Classification/src/DataPrivacyEntities.Table.al121 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 System.Privacy;

using System.Reflection;

/// <summary>
/// Displays a list of data privacy entities.
/// </summary>
table 1180 "Data Privacy Entities"
{
    Access = Public;
    Caption = 'Data Subjects';
    InherentEntitlements = X;
    InherentPermissions = X;

    fields
    {
        field(1; "Table No."; Integer)
        {
            Caption = 'Table No.';
            DataClassification = SystemMetadata;
        }
        field(2; "Table Caption"; Text[80])
        {
            CalcFormula = lookup("Table Metadata".Caption where(ID = field("Table No.")));
            Caption = 'Table Caption';
            FieldClass = FlowField;
        }
        field(3; "Key Field No."; Integer)
        {
            Caption = 'Key Field No.';
            DataClassification = SystemMetadata;
        }
        field(4; "Key Field Name"; Text[30])
        {
            CalcFormula = lookup(Field.FieldName where(TableNo = field("Table No."),
                                                        "No." = field("Key Field No.")));
            Caption = 'Key Field Name';
            FieldClass = FlowField;
        }
        field(5; "Entity Filter"; Blob)
        {
            Caption = 'Entity Filter';
            DataClassification = SystemMetadata;
        }
        field(6; Include; Boolean)
        {
            DataClassification = CustomerContent;
            Caption = 'Include';
        }
        field(7; "Fields"; Integer)
        {
            CalcFormula = count(Field where(TableNo = field("Table No."),
                                             Enabled = const(true),
                                             Class = const(Normal)));
            Caption = 'Fields';
            FieldClass = FlowField;
        }
        field(8; Status; Option)
        {
            DataClassification = CustomerContent;
            Caption = 'Status';
            OptionCaption = 'Review Needed,Reviewed';
            OptionMembers = "Review Needed",Reviewed;
        }
        field(9; Reviewed; Boolean)
        {
            DataClassification = CustomerContent;
            Caption = 'Reviewed';
        }
        field(10; "Status 2"; Option)
        {
            DataClassification = CustomerContent;
            Caption = 'Status 2';
            OptionCaption = 'Review Needed,Reviewed';
            OptionMembers = "Review Needed",Reviewed;
        }
        field(11; "Page No."; Integer)
        {
            Caption = 'Page No.';
            DataClassification = SystemMetadata;
        }
        field(12; "Similar Fields Reviewed"; Boolean)
        {
            DataClassification = CustomerContent;
            Caption = 'Similar Fields Reviewed';
        }
        field(13; "Similar Fields Label"; Text[120])
        {
            DataClassification = CustomerContent;
            Caption = 'Similar Fields Label';
        }
        field(14; "Default Data Sensitivity"; Option)
        {
            DataClassification = CustomerContent;
            Caption = 'Default Data Sensitivity';
            OptionCaption = 'Unclassified,Sensitive,Personal,Company Confidential,Normal';
            OptionMembers = Unclassified,Sensitive,Personal,"Company Confidential",Normal;
        }
        field(15; "Privacy Blocked Field No."; Integer)
        {
            Caption = 'Privacy Blocked Field No.';
            DataClassification = SystemMetadata;
        }
    }

    keys
    {
        key(Key1; "Table No.")
        {
            Clustered = true;
        }
    }

}