ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] OnBeforeIsSignedXX T37 Sales Line

Open BWilczewski opened this issue 6 years ago • 1 comments

Hello, would it be possible to add event

local procedure OnBeforeSignedXX(SalesLine: Record "Sales Line"; var IsHandled: Boolean; var Value: Decimal)
    begin
    end;

in SignedXX procedure, like:

procedure SignedXX(Value: Decimal): Decimal
   vae
        IsHandled: Boolean;
    begin
        OnBeforeSignedXX(Rec, IsHandled, Value);
        if IsHandled then
            exit(Value);
        case "Document Type" of  
            "Document Type"::Quote,
          "Document Type"::Order,
          "Document Type"::Invoice,
          "Document Type"::"Blanket Order":
                exit(-Value);
            "Document Type"::"Return Order",
          "Document Type"::"Credit Memo":
                exit(Value);
        end;
    end;

to handle custom Sales Document Type?

Thanks, Bartek

BWilczewski avatar Jul 27 '20 07:07 BWilczewski

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. We will update this issue with information about availability.

bc-ghost avatar Aug 05 '20 08:08 bc-ghost