Codeunit 459 Remove Orphaned Record Links in 26
- App
- System Application
- Namespace
- System.Utilities
Versions171819202122232425262728latest
Source in 26
src/System Application/App/Record Link Management/src/RemoveOrphanedRecordLinks.Codeunit.al23 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.Utilities;
/// <summary>
/// This codeunit is created so that record links that have obsolete record ids can be deleted in a scheduled task.
/// </summary>
codeunit 459 "Remove Orphaned Record Links"
{
Access = Public;
trigger OnRun()
var
RecordLinkImpl: Codeunit "Record Link Impl.";
begin
RecordLinkImpl.RemoveOrphanedLinks();
end;
}