# AssignmentCompatibility Property
> Version: _Available or changed with runtime version 5.0._
Sets whether an Enum can be assigned to from another Enum type. This is intended for backwards compatibility when splitting existing Options into multiple Enums.
## Applies to
 Enum Type
The default value of this property is false.
> IMPORTANT
> This property provides backwards compatibility in certain cases when converting from options to enums. It should not be used for enums that are not converted from options.
> Because the assignment is done by ordinal value without validation, there is no guarantee that the target will have a corresponding value. Special attention should be made if either source or target is marked as extensible.
## Syntax
```al
AssignmentCompatibility = true;
```
## Related information
../devenv-extensible-enums

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-assignmentcompatibility-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-assignmentcompatibility-property/
