ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 410 - Function UpdateAll

Open BGarkusha opened this issue 7 years ago • 1 comments

Could you create an Integration event in Codeunit 410 Update Analysis View, in Function UpdateAll?

[External] UpdateAll(Which : 'Ledger Entries,Budget Entries,Both';DirectlyFromPosting : Boolean)
>>>
OnBeforeUpdateAll(Which,DirectlyFromPosting,AnalysisView2);
<<<
AnalysisView2.SETRANGE(Blocked,FALSE);
IF DirectlyFromPosting THEN
  AnalysisView2.SETRANGE("Update on Posting",TRUE);

IF AnalysisView2.ISEMPTY THEN
  EXIT;
....
END;

Event signature:

LOCAL [IntegrationEvent] OnBeforeUpdateAll(Which : 'Ledger Entries,Budget Entries,Both';DirectlyFromPosting : Boolean;VAR AnalysisView2 : Record "Analysis View")`

For our extension, we need to do extra filtering.

BGarkusha avatar May 03 '19 13:05 BGarkusha

Could you please add another parameter to the event? We need VAR IsHandled : Boolean.

kwettermann avatar May 15 '19 07:05 kwettermann