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

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

« Previous Version 4 Next »

Purpose 

These processes are performed to maintain the global budget contracts in the actual status depending on the statuses of related entities.

Process 

  1. Check that legal entity status from contractor_legal_entity_id is an ACTIVE status

    1. else set contract flag to is_suspended = false as below:

field

value

is_suspended

true

updated_at

now() timestamp

updated_by

eHealth user_id

b. Add info about this changes to audit log (trigger logic)

c. Add info about this changes to Event Manager as below:

field

value

event_type

StateChangeEvent

entity_type

Contract

entity_id

$.id

properties.status.new_value

$.is_suspended

event_time

$.updated_at

changed_by

$.updated_by


  • No labels