Table 51 User Time Register
- App
- Base Application
- Namespace
- Microsoft.Projects.TimeSheet
- Versions
- 17-28
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Projects/TimeSheet/UserTimeRegister.Table.al62 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.Projects.TimeSheet;
using System.Security.AccessControl;
using System.Security.User;
table 51 "User Time Register"
{
Caption = 'User Time Register';
LookupPageID = "User Time Registers";
DataClassification = CustomerContent;
fields
{
field(1; "User ID"; Code[50])
{
Caption = 'User ID';
ToolTip = 'Specifies the ID of the user who posted the entry, to be used, for example, in the change log.';
DataClassification = EndUserIdentifiableInformation;
NotBlank = true;
TableRelation = User."User Name";
ValidateTableRelation = false;
trigger OnValidate()
var
UserSelection: Codeunit "User Selection";
begin
UserSelection.ValidateUserName("User ID");
end;
}
field(2; Date; Date)
{
Caption = 'Date';
ToolTip = 'Specifies the date.';
}
field(3; Minutes; Decimal)
{
AutoFormatType = 0;
Caption = 'Minutes';
ToolTip = 'Specifies how many minutes an individual user works on the accounts.';
DecimalPlaces = 0 : 0;
MinValue = 0;
}
}
keys
{
key(Key1; "User ID", Date)
{
Clustered = true;
}
}
fieldgroups
{
}
}