diff --git a/src/Layers/DE/BaseApp/Finance/VAT/Reporting/ECSLReport.Page.al b/src/Layers/DE/BaseApp/Finance/VAT/Reporting/ECSLReport.Page.al index 286e4132ef5..b2d1833e0ab 100644 --- a/src/Layers/DE/BaseApp/Finance/VAT/Reporting/ECSLReport.Page.al +++ b/src/Layers/DE/BaseApp/Finance/VAT/Reporting/ECSLReport.Page.al @@ -213,6 +213,8 @@ page 321 "ECSL Report" Message(CancelReportSentMsg); end; } +#if not CLEAN29 +#pragma warning disable AA0194 action("Log Entries") { ApplicationArea = BasicEU; @@ -220,6 +222,9 @@ page 321 "ECSL Report" Image = ErrorLog; ToolTip = 'View a history of communications with the tax authority.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; trigger OnAction() begin @@ -233,6 +238,9 @@ page 321 "ECSL Report" Image = ReleaseDoc; ToolTip = 'Verify that the report includes all of the required information, and prepare it for submission.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; trigger OnAction() begin @@ -246,12 +254,17 @@ page 321 "ECSL Report" Image = ReOpen; ToolTip = 'Open the report again to make changes.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; trigger OnAction() begin // MESSAGE('Reopen'); end; } +#pragma warning restore AA0194 +#endif } action(Print) { @@ -284,24 +297,40 @@ page 321 "ECSL Report" actionref(SuggestLines_Promoted; SuggestLines) { } +#if not CLEAN29 group(Category_Release) { Caption = 'Release'; ShowAs = SplitButton; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; actionref(Release_Promoted; Release) { + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } actionref(Reopen_Promoted; Reopen) { + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } } +#endif actionref(Submit_Promoted; Submit) { } +#if not CLEAN29 actionref("Log Entries_Promoted"; "Log Entries") { + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#endif actionref("Mark as Submitted_Promoted"; "Mark as Submitted") { } diff --git a/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al b/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al index 5057cea3f6e..5c087056eef 100644 --- a/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al +++ b/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al @@ -48,6 +48,8 @@ page 738 "VAT Return Period Card" { area(processing) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Receive Submitted VAT Returns") { ApplicationArea = Basic, Suite; @@ -55,6 +57,9 @@ page 738 "VAT Return Period Card" Image = RefreshLines; ToolTip = 'Receive the VAT returns that have been submitted.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } action("Create VAT Return") { @@ -64,10 +69,17 @@ page 738 "VAT Return Period Card" Image = RefreshLines; ToolTip = 'Create a new VAT return from this VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(navigation) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Open VAT Return Card") { ApplicationArea = Basic, Suite; @@ -76,7 +88,12 @@ page 738 "VAT Return Period Card" Image = ShowList; ToolTip = 'Open the VAT return card for this VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(Promoted) { @@ -84,14 +101,22 @@ page 738 "VAT Return Period Card" { Caption = 'Process'; +#if not CLEAN29 actionref("Receive Submitted VAT Returns_Promoted"; "Receive Submitted VAT Returns") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } actionref("Create VAT Return_Promoted"; "Create VAT Return") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#endif } } } diff --git a/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al b/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al index f01c62c7513..0edf98d3e6b 100644 --- a/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al +++ b/src/Layers/DE/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al @@ -63,6 +63,8 @@ page 737 "VAT Return Period List" { area(processing) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Get VAT Return Periods") { ApplicationArea = Basic, Suite; @@ -70,6 +72,9 @@ page 737 "VAT Return Period List" Image = GetLines; ToolTip = 'Load the VAT return periods that are set up in the system.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } action("Create VAT Return") { @@ -79,10 +84,17 @@ page 737 "VAT Return Period List" Image = RefreshLines; ToolTip = 'Create a new VAT return from the selected VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(navigation) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Open VAT Return Card") { ApplicationArea = Basic, Suite; @@ -91,7 +103,12 @@ page 737 "VAT Return Period List" Image = ShowList; ToolTip = 'Open the VAT return card for the selected VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(Promoted) { @@ -99,14 +116,22 @@ page 737 "VAT Return Period List" { Caption = 'Process'; +#if not CLEAN29 actionref("Get VAT Return Periods_Promoted"; "Get VAT Return Periods") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } actionref("Create VAT Return_Promoted"; "Create VAT Return") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#endif } } } diff --git a/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al b/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al index 5057cea3f6e..5c087056eef 100644 --- a/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al +++ b/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodCard.Page.al @@ -48,6 +48,8 @@ page 738 "VAT Return Period Card" { area(processing) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Receive Submitted VAT Returns") { ApplicationArea = Basic, Suite; @@ -55,6 +57,9 @@ page 738 "VAT Return Period Card" Image = RefreshLines; ToolTip = 'Receive the VAT returns that have been submitted.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } action("Create VAT Return") { @@ -64,10 +69,17 @@ page 738 "VAT Return Period Card" Image = RefreshLines; ToolTip = 'Create a new VAT return from this VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(navigation) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Open VAT Return Card") { ApplicationArea = Basic, Suite; @@ -76,7 +88,12 @@ page 738 "VAT Return Period Card" Image = ShowList; ToolTip = 'Open the VAT return card for this VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(Promoted) { @@ -84,14 +101,22 @@ page 738 "VAT Return Period Card" { Caption = 'Process'; +#if not CLEAN29 actionref("Receive Submitted VAT Returns_Promoted"; "Receive Submitted VAT Returns") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } actionref("Create VAT Return_Promoted"; "Create VAT Return") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#endif } } } diff --git a/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al b/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al index 1bb6fb3915a..d5d966d7c4c 100644 --- a/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al +++ b/src/Layers/IT/BaseApp/Finance/VAT/Reporting/VATReturnPeriodList.Page.al @@ -63,6 +63,8 @@ page 737 "VAT Return Period List" { area(processing) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Get VAT Return Periods") { ApplicationArea = Basic, Suite; @@ -70,6 +72,9 @@ page 737 "VAT Return Period List" Image = GetLines; ToolTip = 'Load the VAT return periods that are set up in the system.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } action("Create VAT Return") { @@ -79,10 +84,17 @@ page 737 "VAT Return Period List" Image = RefreshLines; ToolTip = 'Create a new VAT return from the selected VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(navigation) { +#if not CLEAN29 +#pragma warning disable AA0194 action("Open VAT Return Card") { ApplicationArea = Basic, Suite; @@ -91,7 +103,12 @@ page 737 "VAT Return Period List" Image = ShowList; ToolTip = 'Open the VAT return card for the selected VAT return period.'; Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#pragma warning restore AA0194 +#endif } area(Promoted) { @@ -99,14 +116,22 @@ page 737 "VAT Return Period List" { Caption = 'Process'; +#if not CLEAN29 actionref("Get VAT Return Periods_Promoted"; "Get VAT Return Periods") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } actionref("Create VAT Return_Promoted"; "Create VAT Return") { Visible = false; + ObsoleteReason = 'This action is not used in this localization and is pending removal.'; + ObsoleteState = Pending; + ObsoleteTag = '29.0'; } +#endif } } } diff --git a/src/Layers/RU/BaseApp/Local/PostedFAWriteoffAct.Page.al b/src/Layers/RU/BaseApp/Local/PostedFAWriteoffAct.Page.al index e5d7ca2e943..427064dd09d 100644 --- a/src/Layers/RU/BaseApp/Local/PostedFAWriteoffAct.Page.al +++ b/src/Layers/RU/BaseApp/Local/PostedFAWriteoffAct.Page.al @@ -148,6 +148,7 @@ page 12472 "Posted FA Writeoff Act" { Caption = '&Line'; Image = Line; +#pragma warning disable AA0194 action(Action1210035) { ApplicationArea = Suite; @@ -171,6 +172,7 @@ page 12472 "Posted FA Writeoff Act" // CurrPage.WriteoffLines.PAGE.ShowComments; end; } +#pragma warning restore AA0194 } } area(processing) diff --git a/src/Layers/W1/BaseApp/Modules/System/PageDesigner/PageFields.Page.al b/src/Layers/W1/BaseApp/Modules/System/PageDesigner/PageFields.Page.al index c6e00da3d04..f6f9aa123f0 100644 --- a/src/Layers/W1/BaseApp/Modules/System/PageDesigner/PageFields.Page.al +++ b/src/Layers/W1/BaseApp/Modules/System/PageDesigner/PageFields.Page.al @@ -86,6 +86,7 @@ page 9620 "Page Fields" { area(processing) { +#pragma warning disable AA0194 action(View) { ApplicationArea = Basic, Suite; @@ -100,6 +101,7 @@ page 9620 "Page Fields" // which is not desired in this case. end; } +#pragma warning restore AA0194 } area(Promoted) diff --git a/src/rulesets/base.ruleset.json b/src/rulesets/base.ruleset.json index 53991f9c1d1..d1b469322e7 100644 --- a/src/rulesets/base.ruleset.json +++ b/src/rulesets/base.ruleset.json @@ -259,11 +259,6 @@ "id": "AA0189", "action": "Warning" }, - { - "id": "AA0194", - "action": "Warning", - "justification": "Remember to specify either the 'OnAction' trigger or the 'RunObject' property on an action." - }, { "id": "AA0198", "action": "Warning",