AL icon indicating copy to clipboard operation
AL copied to clipboard

[Event Request] Report 795 Adjust Cost - Item Entries, OnAfterPreReport

Open finn777 opened this issue 8 years ago • 0 comments

OnAfterPreReport - Report 795 Adjust Cost - Item Entries

Requesting pair for event OnBeforePreReport (https://github.com/Microsoft/AL/issues/3285)

Event [Integration(DEFAULT,TRUE)] LOCAL [IntegrationEvent] OnAfterPreReport()

Code OnPreReport … BEGIN OnBeforePreReport;

              ItemApplnEntry.LOCKTABLE;

<…> InvtAdjmt.SetProperties(FALSE,PostToGL); InvtAdjmt.SetFilterItem(Item); InvtAdjmt.MakeMultiLevelAdjmt;

              UpdateItemAnalysisView.UpdateAll(0,TRUE);
              >>>>> New Code
              OnAfterPreReport;
              <<<<< New Code End
            END;

finn777 avatar Sep 13 '18 08:09 finn777