Project

General

Profile

Actions

Task #1539

open

Run SelectCurrentContractSliceTaskExecutor after synchronization of slices, before HR processes

Added by Alena Peterová about 5 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Synchronization
Target version:
-
Start date:
03/05/2019
Due date:
% Done:

0%

Estimated time:
Owner:

Description

Version 9.4:

If synchronization of slices uses "After end, start the HR processes", then it starts:
  1. ClearDirtyStateForContractSliceTaskExecutor
  2. HrEnableContractProcess
  3. HrEndContractProcess
  4. HrContractExclusionProcess

In addition, it should start SelectCurrentContractSliceTaskExecutor just after clearing dirty stats of slices. Otherwise HR processes could run with old data.

Note: If the synchronization is reconcilation, ClearDirtyStateForContractSliceTaskExecutor recalculates all slices from the source, so SelectCurrentContractSliceTaskExecutor has nothing to do. But if the synchronization is synchronization by timestamp, there may be some waiting slices for SelectCurrentContractSliceTaskExecutor.

This was already implemented in #1291#note-6, but it's not in current develop.

Actions

Also available in: Atom PDF