AL
AL copied to clipboard
[Event Request] Report 795 Adjust Cost - Item Entries, OnAfterPreReport
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;