From 82c68e53e7763d83133f02b696d4c4057d008ee1 Mon Sep 17 00:00:00 2001 From: Thomas Tarp Date: Mon, 16 Jan 2023 15:17:16 +0100 Subject: [PATCH] Converted promoted properties to actionrefs --- businessCentral/src/ADLSESetup.Page.al | 43 ++++++++++++++------------ 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/businessCentral/src/ADLSESetup.Page.al b/businessCentral/src/ADLSESetup.Page.al index 7231b71..d562103 100644 --- a/businessCentral/src/ADLSESetup.Page.al +++ b/businessCentral/src/ADLSESetup.Page.al @@ -123,10 +123,6 @@ page 82560 "ADLSE Setup" ApplicationArea = All; Caption = 'Export'; Tooltip = 'Starts the export process by spawning different sessions for each table. The action is disabled in case there are export processes currently running, also in other companies.'; - Promoted = true; - PromotedIsBig = true; - PromotedCategory = Process; - PromotedOnly = true; Image = Start; Enabled = not ExportInProgress; @@ -144,10 +140,6 @@ page 82560 "ADLSE Setup" ApplicationArea = All; Caption = 'Stop export'; Tooltip = 'Tries to stop all sessions that are exporting data, including those that are running in other companies.'; - Promoted = true; - PromotedIsBig = true; - PromotedCategory = Process; - PromotedOnly = true; Image = Stop; trigger OnAction() @@ -164,10 +156,6 @@ page 82560 "ADLSE Setup" ApplicationArea = All; Caption = 'Schedule export'; Tooltip = 'Schedules the export process as a job queue entry.'; - Promoted = true; - PromotedIsBig = true; - PromotedCategory = Process; - PromotedOnly = true; Image = Timesheet; trigger OnAction() @@ -183,10 +171,6 @@ page 82560 "ADLSE Setup" ApplicationArea = All; Caption = 'Clear tracked deleted records'; Tooltip = 'Removes the entries in the deleted record list that have already been exported. This should be done periodically to free up storage space. The codeunit ADLSE Clear Tracked Deletions may be invoked using a job queue entry for the same end.'; - Promoted = true; - PromotedIsBig = true; - PromotedCategory = Process; - PromotedOnly = true; Image = ClearLog; Enabled = TrackedDeletedRecordsExist; @@ -202,10 +186,6 @@ page 82560 "ADLSE Setup" ApplicationArea = All; Caption = 'Clear execution log'; Tooltip = 'Removes the history of the export executions. This should be done periodically to free up storage space.'; - Promoted = true; - PromotedIsBig = true; - PromotedCategory = Process; - PromotedOnly = true; Image = History; Enabled = OldLogsExist; @@ -218,6 +198,29 @@ page 82560 "ADLSE Setup" end; } } + area(Promoted) + { + group(Category_Process) + { + Caption = 'Process'; + + actionref(ExportNow_Promoted; ExportNow) + { + } + actionref(StopExport_Promoted; StopExport) + { + } + actionref(Schedule_Promoted; Schedule) + { + } + actionref(ClearDeletedRecordsList_Promoted; ClearDeletedRecordsList) + { + } + actionref(DeleteOldRuns_Promoted; DeleteOldRuns) + { + } + } + } } trigger OnInit()