report 25 "Account Schedule" - OnAfteCheckIsLineSkipped
Please make variable LineSkipped protected, not private
And please add event on DataItem dataitem("Column Layout"; "Column Layout")
trigger OnAfterGetRecord()
var
ValueIsEmpty: Boolean;
begin
if Show = Show::Never then
CurrReport.Skip();
Header := "Column Header";
RoundingHeader := '';
if "Rounding Factor" in ["Rounding Factor"::"1000", "Rounding Factor"::"1000000"] then
case "Rounding Factor" of
"Rounding Factor"::"1000":
RoundingHeader := Text000;
"Rounding Factor"::"1000000":
RoundingHeader := Text001;
end;
ColumnValuesAsText := CalcColumnValueAsText("Acc. Schedule Line", "Column Layout", ValueIsEmpty);
ColumnValuesArrayIndex += 1;
if ColumnValuesArrayIndex <= ArrayLen(ColumnValuesArrayText) then
ColumnValuesArrayText[ColumnValuesArrayIndex] := ColumnValuesAsText;
if (not ValueIsEmpty) or (("Acc. Schedule Line".Show = "Acc. Schedule Line".Show::Yes) and not SkipEmptyLines) or
(("Acc. Schedule Line".Totaling = '') and ("Acc. Schedule Line".Show = "Acc. Schedule Line".Show::Yes))
then
LineSkipped := false;
// New event >>
OnAfteCheckIsLineSkipped("Acc. Schedule Line",ValueIsEmpty,LineSkipped);
// New event <<
end;
Hi @xtiche, Please make new request for the part "Please make variable LineSkipped protected, not private" This one will be used for new event request.
Done - https://github.com/microsoft/ALAppExtensions/issues/23659
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: 11004.