Table 5903 Service Order Type
- App
- Base Application
- Namespace
- Microsoft.Service.Setup
- Versions
- 17-28
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Service/Setup/ServiceOrderType.Table.al57 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.Setup;
using Microsoft.Finance.Dimension;
table 5903 "Service Order Type"
{
Caption = 'Service Order Type';
LookupPageID = "Service Order Types";
DataClassification = CustomerContent;
fields
{
field(1; "Code"; Code[10])
{
Caption = 'Code';
ToolTip = 'Specifies a code for the service order type.';
NotBlank = true;
}
field(2; Description; Text[100])
{
Caption = 'Description';
ToolTip = 'Specifies a description of the service order type.';
}
}
keys
{
key(Key1; "Code")
{
Clustered = true;
}
}
fieldgroups
{
}
trigger OnDelete()
var
DimMgt: Codeunit DimensionManagement;
begin
DimMgt.DeleteDefaultDim(DATABASE::"Service Order Type", Code);
end;
trigger OnRename()
var
DimMgt: Codeunit DimensionManagement;
begin
DimMgt.RenameDefaultDim(DATABASE::"Service Order Type", xRec.Code, Code);
end;
}