Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion businessCentral/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publisher": "The bc2adls team, Microsoft Denmark",
"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": "1.3.15.0",
"version": "1.3.16.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",
Expand Down
8 changes: 1 addition & 7 deletions businessCentral/src/ADLSECommunication.Codeunit.al
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,7 @@ codeunit 82562 "ADLSE Communication"
end;
end;

[TryFunction]
procedure TryUpdateCdmJsons(EntityJsonNeedsUpdate: Boolean; ManifestJsonsNeedsUpdate: Boolean)
begin
UpdateCdmJsons(EntityJsonNeedsUpdate, ManifestJsonsNeedsUpdate);
end;

local procedure UpdateCdmJsons(EntityJsonNeedsUpdate: Boolean; ManifestJsonsNeedsUpdate: Boolean)
procedure UpdateCdmJsons(EntityJsonNeedsUpdate: Boolean; ManifestJsonsNeedsUpdate: Boolean)
var
ADLSESetup: Record "ADLSE Setup";
ADLSEGen2Util: Codeunit "ADLSE Gen 2 Util";
Expand Down
5 changes: 1 addition & 4 deletions businessCentral/src/ADLSEExecute.Codeunit.al
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ codeunit 82561 "ADLSE Execute"
end;

// update Jsons
if not ADLSECommunication.TryUpdateCdmJsons(EntityJsonNeedsUpdate, ManifestJsonsNeedsUpdate) then begin
SetStateFinished(Rec, TableCaption);
exit;
end;
ADLSECommunication.UpdateCdmJsons(EntityJsonNeedsUpdate, ManifestJsonsNeedsUpdate);
if EmitTelemetry then
ADLSEExecution.Log('ADLSE-007', 'Jsons have been updated', Verbosity::Normal, CustomDimensions);

Expand Down