ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] codeunit 444 "Purchase-Post Prepayments" - OnCodeOnBeforeWindowOpen

Open iltererdogan opened this issue 4 years ago • 2 comments

Hi,

Is it possible to add OnCodeOnBeforeWindowOpen publisher to "Purchase-Post Prepayments" codeunit?

    local procedure "Code"(var PurchHeader2: Record "Purchase Header"; DocumentType: Option Invoice,"Credit Memo")
            .
            .
            .
            .
            .

            // <<new
           OnCodeOnBeforeWindowOpen(PurchHeader, DocumentType);
           // >>new

            Window.Open(
              '#1#################################\\' +
              Text002 +
              Text004 +
              Text005 +
              Text006);
            Window.Update(1, StrSubstNo('%1 %2', SelectStr(1 + DocumentType, text019), "No."));
            .
            .
            .
            .
    end;

    // <<new
    [IntegrationEvent(false, false)]
    local procedure OnCodeOnBeforeWindowOpen(var PurchHeader: Record "Purchase Header"; DocumentType: Option Invoice,"Credit Memo")
    begin
    end;
    // >>new

iltererdogan avatar Jun 24 '22 10:06 iltererdogan

Hi, any update on this request?

iltererdogan avatar Sep 05 '22 11:09 iltererdogan

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.

Build ID: .

JesperSchulz avatar Sep 22 '22 11:09 JesperSchulz