[Event Request] codeunit 5895 (Inventory Adjustment)
Dear ALAppExtensions team,
There are situations when we need to limit the execution time of the report 795 (Adjust Cost - Item Entries). To do this, please add an integration event to the MakeSingleLevelAdjmt function in codeunit 5895 (Inventory Adjustment) with the ability to pass additional parameter (for example, run duration or stop time).
In C/AL it looks like this:

Can you please be more specific and provide event definition, list of parameters and location in the code?
I see such implementation:
- In the codeunit 5895 add global variable StopTime (datetime)
- At the end of local procedure InitializeAdjmt (cu5895) add integration event OnAfterInitializeAdjmt(var StopTime :datetime) and we will be able to initialize new variable
- At the local procedure MakeSingleLevelAdjmt (cu5895) add integration event OnAfterItemAdjmt(var Item : Record «Item»)

In this way we can interrupt processing and not wait for processing all items.
Hi, i would suggest an additional parameter for the suggested event "OnAfterItemAdjmt" - please consider the Boolean "IsOnlineAdjmt".
Thanks
Hi, I think an additional parameter is always useful. Thank you for your response.