microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
768 stars 611 forks source link

[Event Request] Codeunit "Create Reserv. Entry" - OnTransferReservEntryOnAfterTransferFields() #24419

Closed greexw closed 1 year ago

greexw commented 1 year ago

Hi there,

I would like to ask you to add the following publisher to the procedure TransferReservEntry() to Codeunit 99000830 "Create Reserv. Entry":


NewReservEntry.TransferFields(OldReservEntry, false);
NewReservEntry."Entry No." := OldReservEntry."Entry No.";
// NEW CODE - START
OnTransferReservEntryOnAfterTransferFields(NewReservEntry, OldReservEntry, UseQtyToHandle, UseQtyToInvoice, CurrSignFactor)
// NEW CODE - STOP
NewReservEntry.Positive := OldReservEntry.Positive;
[IntegrationEvent(false, false)]
local procedure OnTransferReservEntryOnAfterTransferFields(var NewReservationEntry: Record "Reservation Entry"; var OldReservationEntry: Record "Reservation Entry"; var UseQtyToHandle: Boolean; var UseQtyToInvoice: Boolean; var CurrSignFactor: Integer)
begin
end;
JesperSchulz commented 1 year 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: 11863.