Table 308 No. Series in 28
- App
- Business Foundation
- Namespace
- Microsoft.Foundation.NoSeries
Versions171819202122232425262728latest
Source in 28
src/Business Foundation/App/NoSeries/src/Setup/NoSeries.Table.al85 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.Foundation.NoSeries;
/// <summary>
/// Table that contains the available No. Series and their properties.
/// </summary>
table 308 "No. Series"
{
Caption = 'No. Series';
DataCaptionFields = "Code", Description;
DataClassification = CustomerContent;
DrillDownPageId = "No. Series";
LookupPageId = "No. Series";
#if not CLEANSCHEMA27
MovedFrom = '437dbf0e-84ff-417a-965d-ed2bb9650972';
#endif
InherentEntitlements = rX;
InherentPermissions = rX;
fields
{
field(1; "Code"; Code[20])
{
Caption = 'Code';
NotBlank = true;
}
field(2; Description; Text[100])
{
Caption = 'Description';
}
field(3; "Default Nos."; Boolean)
{
Caption = 'Default Nos.';
trigger OnValidate()
var
NoSeriesSetupImpl: Codeunit "No. Series - Setup Impl.";
begin
NoSeriesSetupImpl.ValidateDefaultNos(Rec, xRec);
end;
}
field(4; "Manual Nos."; Boolean)
{
Caption = 'Manual Nos.';
trigger OnValidate()
var
NoSeriesSetupImpl: Codeunit "No. Series - Setup Impl.";
begin
NoSeriesSetupImpl.ValidateManualNos(Rec, xRec);
end;
}
field(5; "Date Order"; Boolean)
{
Caption = 'Date Order';
}
}
keys
{
key(Key1; "Code")
{
Clustered = true;
}
}
fieldgroups
{
fieldgroup(DropDown; Code, Description)
{
}
}
trigger OnDelete()
var
NoSeriesSetupImpl: Codeunit "No. Series - Setup Impl.";
begin
NoSeriesSetupImpl.DeleteNoSeries(Rec);
end;
}
Fields, 5
| Id | Name | Type | Obsolete |
|---|---|---|---|
| 1 | Code | Code[20] | - |
| 2 | Description | Text[100] | - |
| 3 | Default Nos. | Boolean | - |
| 4 | Manual Nos. | Boolean | - |
| 5 | Date Order | Boolean | - |
Keys, 1
| Name | Fields | Obsolete |
|---|---|---|
| Key1, clustered | Code | - |