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

[Event Change Request] TAB39 Purchase Line - procedure UpdateLineAmount - Event OnBeforeUpdateLineAmount #26945

Closed MH1612 closed 1 month ago

MH1612 commented 1 month ago

Describe the request

We would like add sender to the following events.

Original:

TAB39 Purchase Line - procedure UpdateLineAmount - Event OnBeforeUpdateLineAmount

OnBeforeUpdateLineAmount(Rec, xRec, Currency, LineAmountChanged, NonDeductibleVAT, IsHandled);

    [IntegrationEvent(false, false)]
    local procedure OnBeforeUpdateLineAmount(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; Currency: Record Currency; var LineAmountChanged: Boolean; var NonDeductibleVAT : Codeunit "Non-Deductible VAT" ; var IsHandled: Boolean)
    begin
    end;

Change:

TAB39 Purchase Line - procedure UpdateLineAmount - Event OnBeforeUpdateLineAmount

OnBeforeUpdateLineAmount(Rec, xRec, Currency, LineAmountChanged, NonDeductibleVAT, IsHandled);

    [IntegrationEvent(true, false)]
    local procedure OnBeforeUpdateLineAmount(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; Currency: Record Currency; var LineAmountChanged: Boolean; var NonDeductibleVAT : Codeunit "Non-Deductible VAT" ; var IsHandled: Boolean)
    begin
    end;

Additional context

Duplicated the source code and get the global variable Internal work item: AB#543566

azure-boards[bot] commented 1 month ago

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

JesperSchulz commented 1 month ago

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