ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Change Event] report 840 "Suggest Worksheet Lines" - publisher OnInsertTempCFWorksheetLineOnBeforeCalculateCFAmountAndCFDate

Open Sameer-Utekar opened this issue 2 years ago • 1 comments

Describe the request

Hello Colleagues,

Could we adjust the parameter labeled "TempCashFlowWorksheetLine: Record "Cash Flow Worksheet Line" temporary" in the publisher OnBeforeSalesCheckNumberOfLinesLimit of report 840 "Suggest Worksheet Lines" so that it is passed by reference?

Before change:

 [IntegrationEvent(false, false)]
    local procedure OnInsertTempCFWorksheetLineOnBeforeCalculateCFAmountAndCFDate(TempCashFlowWorksheetLine: Record "Cash Flow Worksheet Line" temporary; var IsHandled: Boolean);
    begin
    end;

Requested change:

[IntegrationEvent(false, false)]
   local procedure OnInsertTempCFWorksheetLineOnBeforeCalculateCFAmountAndCFDate(var TempCashFlowWorksheetLine: Record "Cash Flow Worksheet Line" temporary; var IsHandled: Boolean);
   begin
   end;

Thanks in advance, Sameer

Additional context

The reason is that we aim to update the TempCashFlowWorksheetLine within the subscription. Internal work item: AB#502630

Sameer-Utekar avatar Feb 27 '24 13:02 Sameer-Utekar

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

JesperSchulz avatar Mar 12 '24 20:03 JesperSchulz