Table 6082 Service Price Adjustment Group

App
Base Application
Namespace
Microsoft.Service.Pricing
Versions
17-28

Fields, 2Keys, 1

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Service/Pricing/ServicePriceAdjustmentGroup.Table.al50 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 6082 "Service Price Adjustment Group"
{
    Caption = 'Service Price Adjustment Group';
    LookupPageID = "Serv. Price Adjmt. Group";
    DataClassification = CustomerContent;

    fields
    {
        field(1; "Code"; Code[10])
        {
            Caption = 'Code';
            ToolTip = 'Specifies a code for the service price adjustment group.';
            NotBlank = true;
        }
        field(2; Description; Text[100])
        {
            Caption = 'Description';
            ToolTip = 'Specifies a description of the service price adjustment group.';
        }
    }

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

    fieldgroups
    {
    }

    trigger OnDelete()
    var
        ServPriceAdjmtDetail: Record "Serv. Price Adjustment Detail";
    begin
        ServPriceAdjmtDetail.SetRange("Serv. Price Adjmt. Gr. Code", Code);
        if ServPriceAdjmtDetail.FindFirst() then
            ServPriceAdjmtDetail.DeleteAll();
    end;
}