From a3a3e4d558151e672be206559c46e2de33ee026d Mon Sep 17 00:00:00 2001 From: Bertverbeek4PS Date: Tue, 30 Apr 2024 09:08:38 +0000 Subject: [PATCH 1/2] New Version number 24.24 --- .AL-Go/settings.json | 2 +- businessCentral/app/app.json | 2 +- businessCentral/test/app.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.AL-Go/settings.json b/.AL-Go/settings.json index 978975c..7e84390 100644 --- a/.AL-Go/settings.json +++ b/.AL-Go/settings.json @@ -7,5 +7,5 @@ "businessCentral\\test" ], "bcptTestFolders": [], - "repoVersion": "24.23" + "repoVersion": "24.24" } diff --git a/businessCentral/app/app.json b/businessCentral/app/app.json index 0976e26..21557f9 100644 --- a/businessCentral/app/app.json +++ b/businessCentral/app/app.json @@ -4,7 +4,7 @@ "publisher": "The bc2adls team", "brief": "Sync data from Business Central to the Azure storage", "description": "Exports data in chosen tables to the Azure Data Lake and keeps it in sync by incremental updates. Before you use this tool, please read the SUPPORT.md file at https://github.com/microsoft/bc2adls.", - "version": "24.23.0.0", + "version": "24.24.0.0", "privacyStatement": "https://go.microsoft.com/fwlink/?LinkId=724009", "EULA": "https://go.microsoft.com/fwlink/?linkid=2009120", "help": "https://go.microsoft.com/fwlink/?LinkId=724011", diff --git a/businessCentral/test/app.json b/businessCentral/test/app.json index 0de1d93..bfa648c 100644 --- a/businessCentral/test/app.json +++ b/businessCentral/test/app.json @@ -2,7 +2,7 @@ "id": "03486619-1622-4261-ae0e-b366b3c96e3c", "name": "Azure Data Lake Storage Export Tests", "publisher": "The bc2adls team", - "version": "24.23.0.0", + "version": "24.24.0.0", "brief": "Tests for Azure Data Lake Storage Export", "description": "Tests for Azure Data Lake Storage Export", "privacyStatement": "", From 22acea13cbc0341f6e1657ccf7232914f919e77a Mon Sep 17 00:00:00 2001 From: Bert Verbeek Date: Wed, 1 May 2024 16:18:24 +0200 Subject: [PATCH 2/2] Add Enable method to FieldAPI.Page.al (#129) --- businessCentral/app/src/FieldAPI.Page.al | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/businessCentral/app/src/FieldAPI.Page.al b/businessCentral/app/src/FieldAPI.Page.al index eefb702..8da7dc2 100644 --- a/businessCentral/app/src/FieldAPI.Page.al +++ b/businessCentral/app/src/FieldAPI.Page.al @@ -50,6 +50,21 @@ page 82567 "ADLSE Field API" SetActionResponse(ActionContext, Rec.SystemId); end; + [ServiceEnabled] + procedure Enable(var ActionContext: WebServiceActionContext) + var + SelectedADLSEField: Record "ADLSE Field"; + begin + CurrPage.SetSelectionFilter(SelectedADLSEField); + if SelectedADLSEField.FindSet(true) then + repeat + SelectedADLSEField.Validate(Enabled, true); + SelectedADLSEField.Modify(true); + until SelectedADLSEField.Next() = 0; + SetActionResponse(ActionContext, Rec.SystemId); + end; + + local procedure SetActionResponse(var ActionContext: WebServiceActionContext; AdlsId: Guid) var begin