Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Find records in prm.legal_entitity_types entitities for which flag nhs_verified = false and it was set 90 (config) days ago.
    1. set legal_entitity_typesentitities.status = Suspended
    2. find contracts by contractor_legal_entity_id=legal_entitity_types.edr_legal_entity_entitities.id and legal_entity_type = legal_entitity_types.id and status='VERIFIED', set ops.contracts.is_suspended=true