> Imported from Azure DevOps wiki (Products/Custodian/How-to-determine-if-a-custody-record-can-be-viewed-by-a-Solicitor.md). Generated 2026-05-05T21:22:35Z from clone /Users/ck/Sites/asp-azure-tenant/vendor/StrategicDigitalServices.wiki. > > Attachment links may still point at paths in the wiki repository; open the clone under .attachments/ if previews break.
- Check each offence for the given custody record
- If any of the offence has the following disposal status, the custody record is still live and the solicitor can view the custody record. The up to date list is stored in the DisposalStatuses table in the Custodian database – the value stored in this table must be the Niche Title for the disposal (the value the users see in the Niche UI may be slightly different from the values below as each record is effectively a key/value pair).
- Released From Bail – Under Investigation
- Released Under Investigation
- Police Bail – S37(7)(a) Charging decision – Conditional (CPS)
- Police Bail – S37(7)(a) Charging decision – Unconditional (CPS)
- Police Bail – Court Extension – Unconditional
- Police Bail – Court Extension – Conditional
- Police Bail – Designated Cases – Conditional
- Police Bail – Designated Cases – Unconditional
- Police Bail – Initial Bail – Conditional
- Police Bail – Initial Bail – Unconditional
- Police Bail – Extension – Conditional
- Police Bail – Extension – Unconditional
- Pending
- If none of the offences has the above disposal status, it means the record has been finalised and the solicitor cannot view the custody record after 28 days.
- If a record does not exist in the database there is an audit log in Application Insights. To access the data run a query in this general format:
traces | where cloud_RoleName == 'aspolice-custodian-app' and message contains "CU230004252"