Page 5625 Maintenance Registration

Base Application, Microsoft.FixedAssets.Maintenance

src/Layers/W1/BaseApp/FixedAssets/Maintenance/MaintenanceRegistration.Page.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.FixedAssets.Maintenance;using Microsoft.FixedAssets.FixedAsset;page 5625 "Maintenance Registration"{    AutoSplitKey = true;    Caption = 'Maintenance Registration';    DataCaptionFields = "FA No.";    PageType = List;    SourceTable = "Maintenance Registration";    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("FA No."; Rec."FA No.")                {                    ApplicationArea = FixedAssets;                    ToolTip = 'Specifies the number of the related fixed asset. ';                    Visible = false;                }                field("Service Date"; Rec."Service Date")                {                    ApplicationArea = FixedAssets;                }                field("Maintenance Vendor No."; Rec."Maintenance Vendor No.")                {                    ApplicationArea = FixedAssets;                }                field(Comment; Rec.Comment)                {                    ApplicationArea = Comments;                }                field("Service Agent Name"; Rec."Service Agent Name")                {                    ApplicationArea = FixedAssets;                }                field("Service Agent Phone No."; Rec."Service Agent Phone No.")                {                    ApplicationArea = FixedAssets;                }                field("Service Agent Mobile Phone"; Rec."Service Agent Mobile Phone")                {                    ApplicationArea = FixedAssets;                    Visible = false;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = true;            }        }    }    actions    {    }    trigger OnInsertRecord(BelowxRec: Boolean): Boolean    var        FixedAsset: Record "Fixed Asset";    begin        FixedAsset.Get(Rec."FA No.");        Rec."Maintenance Vendor No." := FixedAsset."Maintenance Vendor No.";    end;}