microsoft / ALAppExtensions

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

[Event Request] codeunit 6724 "Booking Appointment - Modify": Event before Modify in HandlePosted #18515

Closed matthias-planzer closed 2 years ago

matthias-planzer commented 2 years ago

Could you please implement the following Event?

index 1084115..5e3f187 100644
--- a/src/BookingAppointmentModify.Codeunit.al
+++ b/src/BookingAppointmentModify.Codeunit.al
@@ -65,7 +65,14 @@ codeunit 6724 "Booking Appointment - Modify"
             InvoicedBookingItem.Delete();
         end;

+        OnHandleUnpostedOnBeforeModifyBookingItem(BookingItem, SalesHeader);
+
         BookingItem.Modify();
     end;
+
+    [IntegrationEvent(false, false)]
+    local procedure OnHandleUnpostedOnBeforeModifyBookingItem(var BookingItem: Record "Booking Item"; SalesHeader: Record "Sales Header")
+    begin
+    end;
 }
JesperSchulz commented 2 years 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: 42323.