diff --git a/AppSourcePublishing/appsource-requirements.md b/AppSourcePublishing/appsource-requirements.md index b19ceb9..60abffd 100644 --- a/AppSourcePublishing/appsource-requirements.md +++ b/AppSourcePublishing/appsource-requirements.md @@ -242,19 +242,7 @@ table 50100 "ABC Customer Rating" { Caption = 'Comments'; DataClassification = CustomerContent; - } - field(7; "Created By"; Code[50]) - { - Caption = 'Created By'; - DataClassification = EndUserIdentifiableInformation; - Editable = false; - } - field(8; "Created Date Time"; DateTime) - { - Caption = 'Created Date Time'; - DataClassification = CustomerContent; - Editable = false; - } + } } keys @@ -278,10 +266,7 @@ table 50100 "ABC Customer Rating" trigger OnInsert() begin if "No." = '' then - NoSeriesMgt.InitSeries(GetNoSeriesCode(), xRec."No. Series", 0D, "No.", "No. Series"); - - "Created By" := CopyStr(UserId(), 1, MaxStrLen("Created By")); - "Created Date Time" := CurrentDateTime; + NoSeriesMgt.InitSeries(GetNoSeriesCode(), xRec."No. Series", 0D, "No.", "No. Series"); if "Rating Date" = 0D then "Rating Date" := Today; @@ -424,22 +409,6 @@ page 50100 "ABC Customer Rating Card" MultiLine = true; } } - group(Administration) - { - Caption = 'Administration'; - field("Created By"; Rec."Created By") - { - ApplicationArea = All; - ToolTip = 'Specifies who created this rating.'; - Editable = false; - } - field("Created Date Time"; Rec."Created Date Time") - { - ApplicationArea = All; - ToolTip = 'Specifies when this rating was created.'; - Editable = false; - } - } } area(FactBoxes) { diff --git a/SharedGuidelines/Utilities/page-template.al b/SharedGuidelines/Utilities/page-template.al index 8e0f159..72c8024 100644 --- a/SharedGuidelines/Utilities/page-template.al +++ b/SharedGuidelines/Utilities/page-template.al @@ -46,21 +46,6 @@ page [ObjectID] "[Prefix] [EntityName] Card" end; } } - group(Details) - { - Caption = 'Details'; - field("Created Date"; Rec."Created Date") - { - ApplicationArea = All; - Editable = false; - } - field("Created By"; Rec."Created By") - { - ApplicationArea = All; - Editable = false; - } - // Add additional detail fields as needed - } group(Statistics) { Caption = 'Statistics'; @@ -250,15 +235,6 @@ page [ObjectID] "[Prefix] [EntityName] List" ApplicationArea = All; StyleExpr = StatusStyleExpr; } - field("Created Date"; Rec."Created Date") - { - ApplicationArea = All; - } - field("Created By"; Rec."Created By") - { - ApplicationArea = All; - Visible = false; - } field("Related Records Count"; Rec."Related Records Count") { ApplicationArea = All; diff --git a/SharedGuidelines/Utilities/table-template.al b/SharedGuidelines/Utilities/table-template.al index 09e0907..f9b7a75 100644 --- a/SharedGuidelines/Utilities/table-template.al +++ b/SharedGuidelines/Utilities/table-template.al @@ -31,21 +31,6 @@ table [ObjectID] "[Prefix] [EntityName]" DataClassification = CustomerContent; NotBlank = true; } - field(3; "Created Date"; Date) - { - Caption = 'Created Date'; - Tooltip = 'Specifies when the [entity] was created.'; - DataClassification = CustomerContent; - Editable = false; - } - field(4; "Created By"; Code[50]) - { - Caption = 'Created By'; - Tooltip = 'Specifies who created the [entity].'; - DataClassification = EndUserIdentifiableInformation; - TableRelation = User."User Name"; - Editable = false; - } field(5; Status; Enum "[Prefix] [EntityName] Status") { Caption = 'Status'; @@ -85,7 +70,7 @@ table [ObjectID] "[Prefix] [EntityName]" { // Secondary key for sorting and filtering } - key(Status; Status, "Created Date") + key(Status; Status) { // Composite key for status-based queries } @@ -94,7 +79,7 @@ table [ObjectID] "[Prefix] [EntityName]" fieldgroups { fieldgroup(DropDown; "No.", Description, Status) { } - fieldgroup(Brick; "No.", Description, Status, "Created Date") { } + fieldgroup(Brick; "No.", Description, Status") { } } trigger OnInsert() @@ -102,9 +87,6 @@ table [ObjectID] "[Prefix] [EntityName]" if "No." = '' then NoSeriesMgt.InitSeries('[NoSeriesCode]', xRec."No. Series", 0D, "No.", "No. Series"); - "Created Date" := Today; - "Created By" := CopyStr(UserId(), 1, MaxStrLen("Created By")); - if Status = Status::" " then Status := Status::Active; end;