# ObsoleteState Property
> Version: _Available or changed with runtime version 10.0._
Marks whether the object will be deprecated.
## Applies to
 Page Action Ref
 Page Custom Action
 Page File Upload Action
 Report Layout
 Page User Control
 Table
 Table field
 Table key
 Codeunit
 Enum Type
 Enum Value
 Page Action
 Page Action Group
 Page Action Separator
 Page Part
 Page System Part
 Page Chart Part
 Page Group
 Page Label
 Query
 Query Column
 Query Filter
 Report
 Report Data Item
 Report Column
 Request Page
 Xml Port
 Page Field
 Page Action Area
 Page Area
 Page
 Page View
 Profile
 Interface
 Control Add In
 Permission Set
 Field Group
## Property value
Value|Available or changed with|Description
No|runtime version 10.0|Not obsolete. This is the normal/default setting.
Pending|runtime version 10.0|Will become obsolete in a future version.
## Syntax
```al
ObsoleteState = Pending;
```
## Remarks
> NOTE
> The list of available options depends on the element, you're working with. For some elements, the options may be more limited, for other elements you have a wider range of options. The full list of options is: Moved, No, Pending, PendingMove, and Removed. Some of these settings are used when moving tables and fields between extensions<../devenv-move-table-fields-between-extensions>.
By coding against this property, you can use this property as a way to communicate through code to other developers which objects and elements will become obsolete over time and those which are already obsolete, enabling them to adjust their application code accordingly.
> NOTE
> For all elements, except for Tables and Table fields, setting `ObsoleteState = Removed` will throw Compiler Error AL0169<../diagnostics/diagnostic-al169> because after an appropriate warning state of Pending, these elements can be deleted.
> NOTE
> When developing using Dynamics NAV Development Environment (C/SIDE), you do not get warnings or errors when you compile objects that reference table objects, fields, or keys that are marked as Pending or Removed. ObsoleteState property is only detected by the AL compiler, which will return warnings for references to elements marked as Pending and errors for references to elements marked as Removed.
Learn more about obsoletion in Obsolete objects, methods, and symbols in AL<../devenv-obsolete-objects>.
## Related information
devenv-obsoletereason-property
devenv-properties
../devenv-methodtype-property-upgrade-codeunits
../attributes/devenv-obsolete-attribute

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-obsoletestate-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-obsoletestate-property/
