Table of Contents

KVSMEDProcessReplaceLib

Events

OnBeforeFinishProcess(Record KVSMEDProcessPeriod, Record KVSMEDProcessPeriod, Boolean) :

Summary: Raised before the old process is finished during process replacement. Use this event to run custom logic between creating/updating the new process period and finishing the original process.

[IntegrationEvent(false, false)]
local procedure OnBeforeFinishProcess(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var KVSMEDProcessPeriodEdit: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean): 

Parameters:

  • KVSMEDProcessPeriod: Current process period that will be finished.
  • KVSMEDProcessPeriodEdit: Newly created replacement process period.
  • IsHandled: Set to true to skip the standard finish logic after this event.