- Find records in prm.legal_entities entitities for which flag nhs_verified = false or edr_verified = false and and it was set 3 months 90 (config) days ago.
- set legal_entities.is_suspended = trueentitities.status = Suspended, set legal_entitities.status_reason = 'auto_suspend_legal_entity'
- find contracts by contractor_legal_entity_id=$legal_entity_id and legal_entities.id and status='VERIFIED', set ops.contracts.is_suspended=true, ops.contracts.status_reason='auto_suspend_legal_entity'
Page Comparison
General
Content
Integrations