ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1



Purpose 

This process is done for actualizing contractor_owner data.


Process 

  1. On Approve employee request find all employees related to  employee.party_id. For each employee check whether employee_id=contractor_owner_id and  contract.status='VERIFIED'. Check if at least one of next fields was changed:
  • first_name
  • second_name
  • last_name

    In case there is such match find contracts with contractor_owner_id=$employee_id and status='VERIFIED'. Set ops.contracts.is_suspended=true.  

2. On Dismiss employee check whether employee_id=contractor_owner_id and  contract.status='VERIFIED'. In case there is such match set ops.contracts.is_suspended=true


Statements 

  1. if is_suspeneded = true such contract must be updated via 2 signed content. (Create Contract request with same contract_number as for suspended contract)
  2. if is_suspeneded = true then declarations which belongs to such contract won't be included in capitation report.
  • No labels