Table 6080 Service Price Group

Base Application, Microsoft.Service.Pricing

src/Layers/W1/BaseApp/Service/Pricing/ServicePriceGroup.Table.al53 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.Service.Pricing;table 6080 "Service Price Group"{    Caption = 'Service Price Group';    LookupPageID = "Service Price Groups";    DataClassification = CustomerContent;    fields    {        field(1; "Code"; Code[10])        {            Caption = 'Code';            ToolTip = 'Specifies a code for the service price group.';            NotBlank = true;        }        field(2; Description; Text[100])        {            Caption = 'Description';            ToolTip = 'Specifies a description of the service price group.';        }    }    keys    {        key(Key1; "Code")        {            Clustered = true;        }        key(Key2; Description)        {        }    }    fieldgroups    {    }    trigger OnDelete()    var        ServPriceGrpSetup: Record "Serv. Price Group Setup";    begin        ServPriceGrpSetup.SetRange("Service Price Group Code", Code);        if ServPriceGrpSetup.FindFirst() then            ServPriceGrpSetup.DeleteAll();    end;}