Skip to content

Commit

Permalink
Quick fix of problem in FillEmptyExtensionObjectsID() installation me…
Browse files Browse the repository at this point in the history
…thod
  • Loading branch information
TKapitan committed Jul 25, 2021
1 parent d28e6b2 commit 14ced1d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions App/Src/Setup/ALRMUpgrade.Codeunit.al
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ codeunit 80006 "C4BC ALRM Upgrade"
begin
if C4BCExtensionHeader.FindSet() then
repeat
if C4BCExtensionObject."Extension ID" = EmptyGuid then begin
C4BCExtensionObject."Extension ID" := C4BCExtensionHeader.ID;
C4BCExtensionObject.Modify(false);
end;
C4BCExtensionObject.SetRange("Extension Code", C4BCExtensionHeader.Code);
if C4BCExtensionObject.FindSet() then
repeat
if C4BCExtensionObject."Extension ID" = EmptyGuid then begin
C4BCExtensionObject."Extension ID" := C4BCExtensionHeader.ID;
C4BCExtensionObject.Modify(false);
end;
until C4BCExtensionObject.Next() < 1;
until C4BCExtensionHeader.Next() < 1;
end;
}

0 comments on commit 14ced1d

Please sign in to comment.