Page 5645 Insurance List, source in 29
Source29
src/Layers/W1/BaseApp/FixedAssets/Insurance/InsuranceList.Page.al255 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.Insurance;
using Microsoft.Finance.Dimension;
using Microsoft.Foundation.Comment;
page 5645 "Insurance List"
{
ApplicationArea = FixedAssets;
Caption = 'Insurance Policies';
CardPageID = "Insurance Card";
Editable = false;
PageType = List;
SourceTable = Insurance;
UsageCategory = Lists;
layout
{
area(content)
{
repeater(Control1)
{
ShowCaption = false;
field("No."; Rec."No.")
{
ApplicationArea = FixedAssets;
}
field(Description; Rec.Description)
{
ApplicationArea = FixedAssets;
}
field("Insurance Type"; Rec."Insurance Type")
{
ApplicationArea = FixedAssets;
}
field("Insurance Vendor No."; Rec."Insurance Vendor No.")
{
ApplicationArea = FixedAssets;
}
field("FA Class Code"; Rec."FA Class Code")
{
ApplicationArea = FixedAssets;
Visible = false;
}
field("FA Subclass Code"; Rec."FA Subclass Code")
{
ApplicationArea = FixedAssets;
Visible = false;
}
field("FA Location Code"; Rec."FA Location Code")
{
ApplicationArea = Basic, Suite;
Visible = false;
}
field("Search Description"; Rec."Search Description")
{
ApplicationArea = Comments;
}
}
}
area(factboxes)
{
systempart(Control1900383207; Links)
{
ApplicationArea = RecordLinks;
Visible = false;
}
systempart(Control1905767507; Notes)
{
ApplicationArea = Notes;
Visible = true;
}
}
}
actions
{
area(navigation)
{
group("Ins&urance")
{
Caption = 'Ins&urance';
Image = Insurance;
action("Coverage Ledger E&ntries")
{
ApplicationArea = FixedAssets;
Caption = 'Coverage Ledger E&ntries';
Image = GeneralLedger;
RunObject = Page "Ins. Coverage Ledger Entries";
RunPageLink = "Insurance No." = field("No.");
RunPageView = sorting("Insurance No.", "Disposed FA", "Posting Date")
where("Disposed FA" = filter(false | true));
ShortCutKey = 'Ctrl+F7';
ToolTip = 'View insurance ledger entries that were created when you post to an insurance account from a purchase invoice, credit memo or journal line.';
}
action("Co&mments")
{
ApplicationArea = Comments;
Caption = 'Co&mments';
Image = ViewComments;
RunObject = Page "Comment Sheet";
RunPageLink = "Table Name" = const(Insurance),
"No." = field("No.");
ToolTip = 'View or add comments for the record.';
}
group(Dimensions)
{
Caption = 'Dimensions';
Image = Dimensions;
action("Dimensions-Single")
{
ApplicationArea = Dimensions;
Caption = 'Dimensions-Single';
Image = Dimensions;
RunObject = Page "Default Dimensions";
RunPageLink = "Table ID" = const(5628),
"No." = field("No.");
ShortCutKey = 'Alt+D';
ToolTip = 'View or edit the single set of dimensions that are set up for the selected record.';
}
action("Dimensions-&Multiple")
{
AccessByPermission = TableData Dimension = R;
ApplicationArea = Dimensions;
Caption = 'Dimensions-&Multiple';
Image = DimensionSets;
ToolTip = 'View or edit dimensions for a group of records. You can assign dimension codes to transactions to distribute costs and analyze historical information.';
trigger OnAction()
var
Insurance: Record Insurance;
DefaultDimMultiple: Page "Default Dimensions-Multiple";
begin
CurrPage.SetSelectionFilter(Insurance);
DefaultDimMultiple.SetMultiRecord(Insurance, Rec.FieldNo("No."));
DefaultDimMultiple.RunModal();
end;
}
}
separator(Action34)
{
}
action(Statistics)
{
ApplicationArea = FixedAssets;
Caption = 'Statistics';
Image = Statistics;
RunObject = Page "Insurance Statistics";
RunPageLink = "No." = field("No.");
ShortCutKey = 'F7';
ToolTip = 'View detailed historical information about the fixed asset.';
}
action("Total Value Ins&ured per FA")
{
ApplicationArea = FixedAssets;
Caption = 'Total Value Ins&ured per FA';
Image = TotalValueInsuredperFA;
RunObject = Page "Total Value Insured per FA";
ToolTip = 'View, in a matrix window, the amount of insurance registered with each insurance policy. These are the insurance-related amounts that you posted from a journal.';
}
}
}
area(reporting)
{
action(List)
{
ApplicationArea = FixedAssets;
Caption = 'List';
Image = OpportunitiesList;
RunObject = Report "Insurance - List";
ToolTip = 'View or edit the list of insurance policies in the system.';
}
action("Uninsured FAs")
{
ApplicationArea = FixedAssets;
Caption = 'Uninsured FAs';
Image = "Report";
RunObject = Report "Insurance - Uninsured FAs";
ToolTip = 'View the individual fixed assets for which amounts have not been posted to an insurance policy. For each fixed asset, the report shows the asset''s acquisition cost, accumulated depreciation, and book value.';
}
action("Tot. Value Insured")
{
ApplicationArea = FixedAssets;
Caption = 'Tot. Value Insured';
Image = "Report";
//The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'
//PromotedCategory = "Report";
RunObject = Report "Insurance - Tot. Value Insured";
ToolTip = 'View each fixed asset with the amounts that you posted to each insurance policy. The entries in this report correspond to all of the entries in the Ins. Coverage Ledger Entry table. The amounts shown for each asset can be more or less than the actual insurance policy''s coverage. The amounts shown can differ from the actual book value of the asset.';
}
action("Coverage Details")
{
ApplicationArea = FixedAssets;
Caption = 'Coverage Details';
Image = "Report";
//The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'
//PromotedCategory = "Report";
RunObject = Report "Insurance - Coverage Details";
ToolTip = 'View the individual fixed assets that are linked to each insurance policy. For each insurance policy, the report shows one or more amounts for each asset. These are the amounts that need insurance coverage. These amounts can differ from the actual insurance policy''s coverage.';
}
action(Register)
{
ApplicationArea = FixedAssets;
Caption = 'Register';
Image = Confirm;
RunObject = Report "Insurance Register";
ToolTip = 'View registers containing all the fixed asset entries that are created. Every register shows the first and last entry number of its entries.';
}
action(Analysis)
{
ApplicationArea = FixedAssets;
Caption = 'Analysis';
Image = "Report";
RunObject = Report "Insurance - Analysis";
ToolTip = 'View an analysis of your fixed assets with various types of data for both individual assets and groups of assets.';
}
}
area(Promoted)
{
group(Category_Process)
{
Caption = 'Process';
actionref(Statistics_Promoted; Statistics)
{
}
actionref("Total Value Ins&ured per FA_Promoted"; "Total Value Ins&ured per FA")
{
}
}
group(Category_Report)
{
Caption = 'Reports';
actionref(List_Promoted; List)
{
}
actionref("Uninsured FAs_Promoted"; "Uninsured FAs")
{
}
actionref(Register_Promoted; Register)
{
}
actionref(Analysis_Promoted; Analysis)
{
}
}
}
}
}