Page 5601 Fixed Asset List
- App
- Base Application
- Namespace
- Microsoft.FixedAssets.FixedAsset
- Versions
- 17-28
- Source table
- 5600
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FixedAssetList.Page.al524 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.FixedAsset;
using Microsoft.Finance.Dimension;
using Microsoft.FixedAssets.Depreciation;
using Microsoft.FixedAssets.Journal;
using Microsoft.FixedAssets.Ledger;
using Microsoft.FixedAssets.Maintenance;
using Microsoft.FixedAssets.Posting;
using Microsoft.FixedAssets.Reports;
using Microsoft.Foundation.Attachment;
using Microsoft.Foundation.Comment;
using System.Telemetry;
using System.Text;
page 5601 "Fixed Asset List"
{
AdditionalSearchTerms = 'FA List, Asset Profile, Property Details, Tangible Asset Info, Asset Data, Capital Good Info, Asset Detail, Ownership Info, Property Data, Asset Log';
ApplicationArea = FixedAssets;
Caption = 'Fixed Assets';
CardPageID = "Fixed Asset Card";
Editable = false;
PageType = List;
SourceTable = "Fixed Asset";
UsageCategory = Lists;
AboutTitle = 'About Fixed Asset';
AboutText = 'Here you overview all registered fixed assets with their statistics, class, subclass, location code and acquired status.';
layout
{
area(content)
{
repeater(Control1)
{
ShowCaption = false;
field("No."; Rec."No.")
{
ApplicationArea = FixedAssets;
}
field(Description; Rec.Description)
{
ApplicationArea = FixedAssets;
}
field("Vendor No."; Rec."Vendor No.")
{
ApplicationArea = FixedAssets;
Visible = false;
}
field("Maintenance Vendor No."; Rec."Maintenance Vendor No.")
{
ApplicationArea = FixedAssets;
Visible = false;
}
field("Responsible Employee"; Rec."Responsible Employee")
{
ApplicationArea = FixedAssets;
}
field("FA Class Code"; Rec."FA Class Code")
{
ApplicationArea = FixedAssets;
}
field("FA Subclass Code"; Rec."FA Subclass Code")
{
ApplicationArea = FixedAssets;
}
field("FA Location Code"; Rec."FA Location Code")
{
ApplicationArea = FixedAssets;
}
field("Budgeted Asset"; Rec."Budgeted Asset")
{
ApplicationArea = Suite;
Visible = false;
}
field("Search Description"; Rec."Search Description")
{
ApplicationArea = Advanced;
}
field(Acquired; Rec.Acquired)
{
ApplicationArea = FixedAssets;
ToolTip = 'Specifies that the fixed asset has been acquired.';
}
}
}
area(factboxes)
{
part("Attached Documents List"; "Doc. Attachment List Factbox")
{
ApplicationArea = All;
Caption = 'Documents';
UpdatePropagation = Both;
SubPageLink = "Table ID" = const(Database::"Fixed Asset"), "No." = field("No.");
}
systempart(Control1900383207; Links)
{
ApplicationArea = RecordLinks;
Visible = false;
}
systempart(Control1905767507; Notes)
{
ApplicationArea = Notes;
}
}
}
actions
{
area(navigation)
{
group("Fixed &Asset")
{
Caption = 'Fixed &Asset';
Image = FixedAssets;
action("Depreciation &Books")
{
ApplicationArea = FixedAssets;
Caption = 'Depreciation &Books';
Image = DepreciationBooks;
RunObject = Page "FA Depreciation Books";
RunPageLink = "FA No." = field("No.");
ToolTip = 'View or edit the depreciation book or books that must be used for each of the fixed assets. Here you also specify the way depreciation must be calculated.';
}
action(Statistics)
{
ApplicationArea = FixedAssets;
Caption = 'Statistics';
Image = Statistics;
RunObject = Page "Fixed Asset Statistics";
RunPageLink = "FA No." = field("No.");
ShortCutKey = 'F7';
ToolTip = 'View detailed historical information about the fixed asset.';
}
group(Dimensions)
{
Caption = 'Dimensions';
Image = Dimensions;
action("Dimensions-Single")
{
ApplicationArea = Dimensions;
Caption = 'Dimensions-Single';
Image = Dimensions;
RunObject = Page "Default Dimensions";
RunPageLink = "Table ID" = const(5600),
"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
FA: Record "Fixed Asset";
DefaultDimMultiple: Page "Default Dimensions-Multiple";
begin
CurrPage.SetSelectionFilter(FA);
DefaultDimMultiple.SetMultiRecord(FA, Rec.FieldNo("No."));
DefaultDimMultiple.RunModal();
end;
}
}
action("Main&tenance Ledger Entries")
{
ApplicationArea = FixedAssets;
Caption = 'Main&tenance Ledger Entries';
Image = MaintenanceLedgerEntries;
RunObject = Page "Maintenance Ledger Entries";
RunPageLink = "FA No." = field("No.");
RunPageView = sorting("FA No.");
ToolTip = 'View all the maintenance ledger entries for a fixed asset. ';
}
action(Picture)
{
ApplicationArea = FixedAssets;
Caption = 'Picture';
Image = Picture;
RunObject = Page "Fixed Asset Picture";
RunPageLink = "No." = field("No.");
ToolTip = 'Add or view a picture of the fixed asset.';
}
action("FA Posting Types Overview")
{
ApplicationArea = FixedAssets;
Caption = 'FA Posting Types Overview';
Image = ShowMatrix;
RunObject = Page "FA Posting Types Overview";
ToolTip = 'View accumulated amounts for each field, such as book value, acquisition cost, and depreciation, and for each fixed asset. For every fixed asset, a separate line is shown for each depreciation book linked to the asset.';
}
action("Co&mments")
{
ApplicationArea = Comments;
Caption = 'Co&mments';
Image = ViewComments;
RunObject = Page "Comment Sheet";
RunPageLink = "Table Name" = const("Fixed Asset"),
"No." = field("No.");
ToolTip = 'View or add comments for the record.';
}
}
group("Main Asset")
{
Caption = 'Main Asset';
Image = Components;
action("M&ain Asset Components")
{
ApplicationArea = FixedAssets;
Caption = 'M&ain Asset Components';
Image = Components;
RunObject = Page "Main Asset Components";
RunPageLink = "Main Asset No." = field("No.");
ToolTip = 'View or edit fixed asset components of the main fixed asset that is represented by the fixed asset card.';
}
action("Ma&in Asset Statistics")
{
ApplicationArea = FixedAssets;
Caption = 'Ma&in Asset Statistics';
Image = StatisticsDocument;
RunObject = Page "Main Asset Statistics";
RunPageLink = "FA No." = field("No.");
ToolTip = 'View detailed historical information about all the components that make up the main asset.';
}
separator(Action45)
{
Caption = '';
}
}
group(History)
{
Caption = 'History';
Image = History;
action("Ledger E&ntries")
{
ApplicationArea = FixedAssets;
Caption = 'Ledger E&ntries';
Image = FixedAssetLedger;
RunObject = Page "FA Ledger Entries";
RunPageLink = "FA No." = field("No.");
RunPageView = sorting("FA No.")
order(descending);
ShortCutKey = 'Ctrl+F7';
ToolTip = 'View the history of transactions that have been posted for the selected record.';
}
action("Error Ledger Entries")
{
ApplicationArea = FixedAssets;
Caption = 'Error Ledger Entries';
Image = ErrorFALedgerEntries;
RunObject = Page "FA Error Ledger Entries";
RunPageLink = "Canceled from FA No." = field("No.");
RunPageView = sorting("Canceled from FA No.")
order(descending);
ToolTip = 'View the entries that have been posted as a result of you using the Cancel function to cancel an entry.';
}
action("Maintenance &Registration")
{
ApplicationArea = FixedAssets;
Caption = 'Maintenance &Registration';
Image = MaintenanceRegistrations;
RunObject = Page "Maintenance Registration";
RunPageLink = "FA No." = field("No.");
ToolTip = 'View or edit maintenance codes for the various types of maintenance, repairs, and services performed on your fixed assets. You can then enter the code in the Maintenance Code field on journals.';
}
}
}
area(processing)
{
action("Fixed Asset Journal")
{
ApplicationArea = FixedAssets;
Caption = 'Fixed Asset Journal';
Image = Journal;
RunObject = Page "Fixed Asset Journal";
ToolTip = 'Post fixed asset transactions with a depreciation book that is not integrated with the general ledger, for internal management. Only fixed asset ledger entries are created. ';
}
action("Fixed Asset G/L Journal")
{
ApplicationArea = FixedAssets;
Caption = 'Fixed Asset G/L Journal';
Image = Journal;
RunObject = Page "Fixed Asset G/L Journal";
ToolTip = 'Post fixed asset transactions with a depreciation book that is integrated with the general ledger for financial reporting. Both fixed asset ledger entries and general ledger entries are created. ';
}
action("Fixed Asset Reclassification Journal")
{
ApplicationArea = FixedAssets;
Caption = 'Fixed Asset Reclassification Journal';
Image = Journal;
RunObject = Page "FA Reclass. Journal";
ToolTip = 'Transfer, split, or combine fixed assets.';
}
action("Recurring Fixed Asset Journal")
{
ApplicationArea = FixedAssets;
Caption = 'Recurring Fixed Asset Journal';
Image = Journal;
RunObject = Page "Recurring Fixed Asset Journal";
ToolTip = 'Post recurring entries to a depreciation book without integration with general ledger.';
}
action(CalculateDepreciation)
{
ApplicationArea = FixedAssets;
Caption = 'Calculate Depreciation';
Ellipsis = true;
Image = CalculateDepreciation;
ToolTip = 'Calculate depreciation according to conditions that you specify. If the related depreciation book is set up to integrate with the general ledger, then the calculated entries are transferred to the fixed asset general ledger journal. Otherwise, the calculated entries are transferred to the fixed asset journal. You can then review the entries and post the journal.';
trigger OnAction()
begin
REPORT.RunModal(REPORT::"Calculate Depreciation", true, false, Rec);
end;
}
action("C&opy Fixed Asset")
{
ApplicationArea = FixedAssets;
Caption = 'C&opy Fixed Asset';
Ellipsis = true;
Image = CopyFixedAssets;
ToolTip = 'Create one or more new fixed assets by copying from an existing fixed asset that has similar information.';
trigger OnAction()
var
CopyFA: Report "Copy Fixed Asset";
begin
CopyFA.SetFANo(Rec."No.");
CopyFA.RunModal();
end;
}
}
area(reporting)
{
action("FixedAssetsAnalysis")
{
ApplicationArea = FixedAssets;
Caption = 'Analyze Fixed Assets';
Image = NonStockItem;
RunObject = Query "Fixed Assets Analysis";
ToolTip = 'Analyze (group, summarize, pivot) your Fixed Asset Ledger Entries with related Fixed Asset master data such as Fixed Asset, Asset Class/Subclass, and Posting Date.';
}
action("Fixed Assets List")
{
ApplicationArea = FixedAssets;
Caption = 'Fixed Assets List';
Image = "Report";
RunObject = Report "Fixed Asset - List";
ToolTip = 'View the list of fixed assets that exist in the system .';
}
action("Acquisition List")
{
ApplicationArea = FixedAssets;
Caption = 'Acquisition List';
Image = "Report";
RunObject = Report "Fixed Asset - Acquisition List";
ToolTip = 'View the related acquisitions.';
}
#if not CLEAN28
action(Details)
{
ApplicationArea = FixedAssets;
Caption = 'Details (Obsolete)';
Image = View;
RunObject = Report "Fixed Asset - Details";
ToolTip = 'View detailed information about the fixed asset ledger entries that have been posted to a specified depreciation book for each fixed asset.';
ObsoleteState = Pending;
ObsoleteReason = 'This report has been replaced by the report Fixed Asset Details (Excel). This report will be removed in a future release.';
ObsoleteTag = '28.0';
}
#endif
action("FA Book Value")
{
ApplicationArea = FixedAssets;
Caption = 'FA Book Value';
Image = "Report";
RunObject = Report "Fixed Asset - Book Value 01";
ToolTip = 'View detailed information about acquisition cost, depreciation and book value for both individual assets and groups of assets. For each of these three amount types, amounts are calculated at the beginning and at the end of a specified period as well as for the period itself.';
}
action("FA Book Val. - Appr. & Write-D")
{
ApplicationArea = FixedAssets;
Caption = 'FA Book Val. - Appr. & Write-D';
Image = "Report";
RunObject = Report "Fixed Asset - Book Value 02";
ToolTip = 'View detailed information about acquisition cost, depreciation, appreciation, write-down and book value for both individual assets and groups of assets. For each of these categories, amounts are calculated at the beginning and at the end of a specified period, as well as for the period itself.';
}
#if not CLEAN28
action(Analysis)
{
ApplicationArea = FixedAssets;
Caption = 'Analysis (Obsolete)';
Image = "Report";
RunObject = Report "Fixed Asset - Analysis";
ToolTip = 'View an analysis of your fixed assets with various types of data for both individual assets and groups of fixed assets.';
ObsoleteState = Pending;
ObsoleteReason = 'This report has been replaced by the report Fixed Asset Analysis (Excel). This report will be removed in a future release.';
ObsoleteTag = '28.0';
}
action("Projected Value")
{
ApplicationArea = FixedAssets;
Caption = 'Projected Value (Obsolete)';
Image = "Report";
RunObject = Report "Fixed Asset - Projected Value";
ToolTip = 'View the calculated future depreciation and book value. You can print the report for one depreciation book at a time.';
ObsoleteState = Pending;
ObsoleteReason = 'This report has been replaced by the report Fixed Asset Projected Value (Excel). This report will be removed in a future release.';
ObsoleteTag = '28.0';
}
#endif
action("G/L Analysis")
{
ApplicationArea = FixedAssets;
Caption = 'G/L Analysis';
Image = "Report";
RunObject = Report "Fixed Asset - G/L Analysis";
ToolTip = 'View an analysis of your fixed assets with various types of data for individual assets and/or groups of fixed assets.';
}
action(Register)
{
ApplicationArea = FixedAssets;
Caption = 'Register';
Image = Confirm;
RunObject = Report "Fixed Asset Register";
ToolTip = 'View registers containing all the fixed asset entries that are created. Each register shows the first and last entry number of its entries.';
}
}
area(Promoted)
{
group(Category_Process)
{
Caption = 'Process', Comment = 'Generated from the PromotedActionCategories property index 1.';
actionref(CalculateDepreciation_Promoted; CalculateDepreciation)
{
}
actionref("C&opy Fixed Asset_Promoted"; "C&opy Fixed Asset")
{
}
}
group("Category_Fixed Asset")
{
Caption = 'Fixed Asset';
group(Category_Dimensions)
{
Caption = 'Dimensions';
ShowAs = SplitButton;
actionref("Dimensions-&Multiple_Promoted"; "Dimensions-&Multiple")
{
}
actionref("Dimensions-Single_Promoted"; "Dimensions-Single")
{
}
}
actionref(Statistics_Promoted; Statistics)
{
}
actionref("Co&mments_Promoted"; "Co&mments")
{
}
}
group(Category_Report)
{
Caption = 'Report', Comment = 'Generated from the PromotedActionCategories property index 2.';
actionref(FixedAssetsAnalysis_Promoted; FixedAssetsAnalysis)
{
}
#if not CLEAN28
actionref(Analysis_Promoted; Analysis)
{
ObsoleteState = Pending;
ObsoleteReason = 'This report has been replaced by the report Fixed Asset Analysis (Excel). This report will be removed in a future release.';
ObsoleteTag = '28.0';
}
actionref("Projected Value_Promoted"; "Projected Value")
{
ObsoleteState = Pending;
ObsoleteReason = 'This report has been replaced by the report Fixed Asset Projected Value (Excel). This report will be removed in a future release.';
ObsoleteTag = '28.0';
}
#endif
actionref("Fixed Assets List_Promoted"; "Fixed Assets List")
{
}
actionref("Acquisition List_Promoted"; "Acquisition List")
{
}
#if not CLEAN28
actionref(Details_Promoted; Details)
{
ObsoleteState = Pending;
ObsoleteReason = 'This report has been replaced by the report Fixed Asset Details (Excel). This report will be removed in a future release.';
ObsoleteTag = '28.0';
}
#endif
}
}
}
trigger OnOpenPage()
var
FeatureTelemetry: Codeunit "Feature Telemetry";
begin
FeatureTelemetry.LogUptake('0000H4D', 'Fixed Asset', Enum::"Feature Uptake Status"::Discovered);
end;
procedure GetSelectionFilter(): Text
var
FixedAsset: Record "Fixed Asset";
SelectionFilterManagement: Codeunit SelectionFilterManagement;
begin
CurrPage.SetSelectionFilter(FixedAsset);
exit(SelectionFilterManagement.GetSelectionFilterForFixedAsset(FixedAsset));
end;
}