Table 9017 Plan Configuration in 26

App
System Application
Namespace
System.Azure.Identity

Fields, 4Keys, 2

Versions171819202122232425262728latest

Source242526272829

Source in 26

src/System Application/App/Azure AD Plan/src/Plan Configuration/PlanConfiguration.Table.al77 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.Azure.Identity;

table 9017 "Plan Configuration"
{
    Access = Internal;
    Extensible = false;
    DataPerCompany = false;
    ReplicateData = false;
    InherentEntitlements = rX;
    InherentPermissions = rX;

    fields
    {
        field(1; Id; Integer)
        {
            DataClassification = SystemMetadata;
            AutoIncrement = true;
        }
        field(2; "Plan ID"; Guid)
        {
            DataClassification = SystemMetadata;
            Caption = 'Plan ID';
            TableRelation = Plan."Plan ID";
        }
        field(3; Customized; Boolean)
        {
            DataClassification = SystemMetadata;
            Caption = 'Customized';
            InitValue = false;
        }
        field(4; "Plan Name"; Text[50])
        {
            Editable = false;
            CalcFormula = lookup(Plan.Name where("Plan ID" = field("Plan ID")));
            Caption = 'Plan Name';
            FieldClass = FlowField;
        }
    }

    keys
    {
        key(PrimaryKey; Id)
        {
            Clustered = true;
        }

        key(UniqueKey; "Plan ID")
        {
            Unique = true;
        }
    }
    trigger OnDelete()
    begin
        Session.LogAuditMessage(StrSubstNo(PlanConfigurationDeletedLbl, Rec.Id, UserSecurityId()), SecurityOperationResult::Success, AuditCategory::EntitlementManagement, 2, 0);
    end;

    trigger OnInsert()
    begin
        Session.LogAuditMessage(StrSubstNo(PlanConfigurationCreatedLbl, Rec.Id, UserSecurityId()), SecurityOperationResult::Success, AuditCategory::EntitlementManagement, 2, 0);
    end;

    trigger OnModify()
    begin
        Session.LogAuditMessage(StrSubstNo(PlanConfigurationModifiedLbl, Rec.Id, UserSecurityId()), SecurityOperationResult::Success, AuditCategory::EntitlementManagement, 2, 0);
    end;

    var
        PlanConfigurationDeletedLbl: Label 'The license configuration ID %1, has been deleted by the UserSecurityId %2.', Locked = true;
        PlanConfigurationModifiedLbl: Label 'The license configuration ID %1, has been modified by the UserSecurityId %2.', Locked = true;
        PlanConfigurationCreatedLbl: Label 'The license configuration ID %1, has been created by the UserSecurityId %2.', Locked = true;

}

Fields, 4

IdNameTypeObsolete
1IdInteger-
2Plan IDGuid-
3CustomizedBoolean-
4Plan NameText[50]-

Keys, 2

NameFieldsObsolete
PrimaryKey, clusteredId-
UniqueKeyPlan ID-