{"title":"ObsoleteReason Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-obsoletereason-property/","by":"JOP-AL","license":"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-obsoletereason-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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-obsoletereason-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Specifies why the object has been marked as Pending in the ObsoleteState property.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":144,"chars":522},{"level":2,"title":"Syntax","slug":"syntax","at":666,"chars":51},{"level":2,"title":"Remarks","slug":"remarks","at":717,"chars":353},{"level":2,"title":"Related information","slug":"related-information","at":1070,"chars":186}],"text":"> Version: _Available or changed with runtime version 10.0._\nSpecifies why the object has been marked as Pending in the ObsoleteState property.\n## Applies to\n Page Action Ref\n Page Custom Action\n Page File Upload Action\n Report Layout\n Page User Control\n Table\n Table field\n Table key\n Codeunit\n Enum Type\n Enum Value\n Page Action\n Page Action Group\n Page Action Separator\n Page Part\n Page System Part\n Page Chart Part\n Page Group\n Page Label\n Query\n Query Column\n Query Filter\n Report\n Report Data Item\n Report Column\n Request Page\n Xml Port\n Page Field\n Page Action Area\n Page Area\n Page\n Page View\n Profile\n Interface\n Control Add In\n Permission Set\n Field Group\n## Syntax\n```al\nObsoleteReason = 'Not Needed';\n```\n## Remarks\nUse this property to inform developers about an object or element that will become obsolete in time or is already obsolete. Use the devenv-obsoletetag-property to specify additional information which can be valuable to other developers.\nLearn more about obsoletion in Obsolete objects, methods, and symbols in AL<../devenv-obsolete-objects>.\n## Related information\ndevenv-obsoletestate-property\ndevenv-obsoletetag-property\ndevenv-properties\n../devenv-methodtype-property-upgrade-codeunits\n../attributes/devenv-obsolete-attribute"}