microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
768 stars 610 forks source link

New events in codeunit 132 "Release Incoming Document" #26921

Open iCutura opened 1 month ago

iCutura commented 1 month ago

Describe the request

Add same events that codeunit 414 "Release Sales Document" has to codeunit 132 "Release Incoming Document"

Additional context

For example there is no way to implement our own Incoming Document Release logic. We need something like this:

    IsHandled := false;
    OnBeforeReleaseIncomingDoc(IncomingDocument, PreviewMode, IsHandled, SkipCheckReleaseRestrictions);
    if IsHandled then
        exit;

[IntegrationEvent(false, false)]
local procedure OnBeforeReleaseIncomingDoc(var IncomingDocument: Record "Incoming Document"; PreviewMode: Boolean; var IsHandled: Boolean; var SkipCheckReleaseRestrictions: Boolean)
begin
end;

Internal work item: AB#542995

azure-boards[bot] commented 1 month ago

✅ Successfully linked to Azure Boards work item(s):