trigger OnAction()
var
varDoc: Record "Document Attachment";
begin
varDoc.SetRange("File Name", Rec.FileName);
if varDoc.FindSet() then
repeat
varDoc.OpenInOneDrive("Document Sharing Intent"::Open)
until varDoc.Next() = 0;
end;
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,802 Super User 2024 Season 2
Martin Dráb 229,129 Most Valuable Professional
nmaenpaa 101,154