ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Page 232 Apply Customer Entries - OnBeforePostDirectApplication2

Open alapenas opened this issue 5 years ago • 1 comments

Hello, would it be possible to add OnBeforePostDirectApplication2 event to Page 232 Apply Customer Entries, like this:

local procedure PostDirectApplication(PreviewMode: Boolean)
var
   CustEntryApplyPostedEntries: Codeunit "CustEntry-Apply Posted Entries";
   PostApplication: Page "Post Application";
   Applied: Boolean;
   ApplicationDate: Date;
   NewApplicationDate: Date;
   NewDocumentNo: Code[20];
   IsHandled: Boolean;
begin
   IsHandled := false;
   OnBeforePostDirectApplication(Rec, PreviewMode, IsHandled);
   //new event begin
   OnBeforePostDirectApplication2(ApplyingCustLedgEntry);
   //new event end
   if IsHandled then
       exit;
   ...
end; 
[IntegrationEvent(false, false)]
local procedure OnBeforePostDirectApplication2(ApplyingCustLedgEntry: Record "Cust. Ledger Entry")
begin
end; 

alapenas avatar Oct 25 '21 11:10 alapenas

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.

JesperSchulz avatar Oct 27 '21 11:10 JesperSchulz