> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enum CheckoutState

> Enum listing the possible checkout states of a document, as seen from outside the document plugin

Enum listing the possible checkout states of a document, as seen from outside the document plugin

## Syntax

```crmscript theme={null}
CheckoutState
```

## Fields

| Name                | Description                                                                                                                                                                                                 |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| NotCheckedOut       | Document is not checked out                                                                                                                                                                                 |
| CheckedOutOwn       | Document is checked out, to the user making the query                                                                                                                                                       |
| CheckedOutOther     | Document is checked out, to a user different from the one making the query                                                                                                                                  |
| LockingNotSupported | Locking is not supported or selected for this document. The document is always 'writeable' in the sense of not being protected by any locks. The document may still be read-only due to Sentry constraints. |


## Related topics

- [SuperOffice.WebApi.Data.CheckoutState](/en/api/reference/webapi/SuperOffice.WebApi.Data.CheckoutState.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [NSCheckoutInfo](/en/automation/crmscript/reference/CRMScript.NetServer.NSCheckoutInfo.md)
- [SuperOffice.WebApi.Data.CheckoutInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.CheckoutInfo.md)
- [Get Checkout State](/en/api/reference/restful/rest/document/get-checkout-state.md)
