ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Event Request - Workflow Management

Open JacopoMuzziCapBS opened this issue 5 years ago • 3 comments

We need to perform some actions before standard code in Workflow management in Codeunit "Approvals Mgt." (1535), Function DelegateSelectedApprovalRequest

if ApprovalEntry.Status <> ApprovalEntry.Status::Open then Error(DelegateOnlyOpenRequestsErr);

// Added isHandled := false; OnBeforeNoPermissionToDelegateErr(ApprovalEntry, CheckCurrentUser, isHandled); if not isHandled then // Added if CheckCurrentUser and (not ApprovalEntry.CanCurrentUserEdit) then Error(NoPermissionToDelegateErr);

image

JacopoMuzziCapBS avatar Apr 23 '21 12:04 JacopoMuzziCapBS

You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

StanPesotskiy avatar Apr 23 '21 15:04 StanPesotskiy

[IntegrationEvent(false, false)] local procedure OnBeforeNoPermissionToDelegateErr(var ApprovalEntry: Record "Approval Entry"; CheckCurrentUser: Boolean; var IsHandled: Boolean) begin end;

JacopoMuzziCapBS avatar Apr 26 '21 08:04 JacopoMuzziCapBS

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

JesperSchulz avatar Apr 30 '21 05:04 JesperSchulz