ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 36 Sales Header - TestQuantityShippedField - OnBeforeTestQuantityShippedField

Open DominikWidmann opened this issue 5 years ago • 1 comments

We need a new event in the procedure TestQuantityShippedField of Table "Sales Header" before the Testfield is done to do extended checks.

Suggested Code:

    procedure TestQuantityShippedField(SalesLine: Record "Sales Line")
    var
      IsHandled: Boolean; // New local variable
    begin
        // START 
        IsHandled := false;
        OnAfterTestQuantityShippedField(SalesLine, IsHandled);
        if IsHandled then
          exit;
        //END
        SalesLine.TESTFIELD("Quantity Shipped",0);
        OnAfterTestQuantityShippedField(SalesLine);
    end;

DominikWidmann avatar May 06 '21 12:05 DominikWidmann

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 May 14 '21 05:05 JesperSchulz