ALAppExtensions
ALAppExtensions copied to clipboard
[Event Change Request] Codeunit 8 "AccSchedManagement" OnBeforeCalcCellValue
Could you please change the event OnBeforeCalcCellValue in the function CalcCellValue? Add an IsHandled parameter.
procedure CalcCellValue(AccSchedLine: Record "Acc. Schedule Line"; ColumnLayout: Record "Column Layout"; CalcAddCurr: Boolean): Decimal
var
GLAcc: Record "G/L Account";
CostType: Record "Cost Type";
CFAccount: Record "Cash Flow Account";
Result: Decimal;
IsHandled: Boolean;
begin
Result := 0;
IsHandled := false;
OnBeforeCalcCellValue(AccSchedLine, ColumnLayout, CalcAddCurr, Result, IsHandled);
if IsHandled then
exit(Result);
if AccSchedLine.Totaling = '' then
exit(Result);
if AccSchedCellValue.Get(AccSchedLine."Line No.", ColumnLayout."Line No.") then begin
...
[IntegrationEvent(true, false)]
local procedure OnBeforeCalcCellValue(var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; CalcAddCurr: Boolean; var Result: Decimal; var IsHandled: Boolean)
begin
end;
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.