ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] table 753 "Standard Item Journal Line" - OnBeforeApplyPrice

Open ReneZiel opened this issue 3 years ago • 3 comments

Hello, can we get the following new event in table 753 "Standard Item Journal Line"?


    local procedure ApplyPrice(PriceType: Enum "Price Type"; CalledByFieldNo: Integer)
    var
        PriceCalculation: Interface "Price Calculation";
        Line: Variant;
    begin
        OnBeforeApplyPrice();
        GetPriceCalculationHandler(PriceType, PriceCalculation);
        PriceCalculation.ApplyPrice(CalledByFieldNo);
        PriceCalculation.GetLine(Line);
        Rec := Line;
    end;
    [IntegrationEvent(false, false)]
    local procedure OnBeforeApplyPrice()
    begin
    end;

ReneZiel avatar Mar 21 '23 07:03 ReneZiel

Hello,

Thank you on your suggestion. Can you explain in more detail the need for this publisher?

MarkoTrn avatar May 25 '23 11:05 MarkoTrn

Hello, we don't want to use the "Standard Item Journal line". In this case we use the event to throw an error "The standard item journal is not supported by newsystem".

ReneZiel avatar May 30 '23 05:05 ReneZiel

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: 11137.

JesperSchulz avatar Jun 15 '23 15:06 JesperSchulz