Table 99000803 Routing Personnel
- App
- Base Application
- Namespace
- Microsoft.Manufacturing.Routing
- Versions
- 17-28
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Manufacturing/Routing/RoutingPersonnel.Table.al78 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.Manufacturing.Routing;
table 99000803 "Routing Personnel"
{
Caption = 'Routing Personnel';
DataClassification = CustomerContent;
fields
{
field(1; "Routing No."; Code[20])
{
Caption = 'Routing No.';
NotBlank = true;
TableRelation = "Routing Header";
}
field(2; "Line No."; Integer)
{
Caption = 'Line No.';
}
field(4; "No."; Code[20])
{
Caption = 'No.';
ToolTip = 'Specifies the number of the involved entry or record, according to the specified number series.';
}
field(5; Description; Text[100])
{
Caption = 'Description';
ToolTip = 'Specifies the description of the personnel, such as the names or the professions.';
}
field(20; "Version Code"; Code[20])
{
Caption = 'Version Code';
TableRelation = "Routing Version"."Version Code" where("Routing No." = field("Routing No."));
}
field(21; "Operation No."; Code[10])
{
Caption = 'Operation No.';
NotBlank = true;
TableRelation = "Routing Line"."Operation No." where("Routing No." = field("Routing No."),
"Version Code" = field("Version Code"));
}
}
keys
{
key(Key1; "Routing No.", "Version Code", "Operation No.", "Line No.")
{
Clustered = true;
}
}
fieldgroups
{
}
procedure Caption(): Text
var
RtngHeader: Record "Routing Header";
begin
if GetFilters = '' then
exit('');
if "Routing No." = '' then
exit('');
RtngHeader.Get("Routing No.");
exit(
StrSubstNo('%1 %2 %3',
"Routing No.", RtngHeader.Description, "Operation No."));
end;
}