Share via


ObsoleteState Property

Marks whether the table, field, or key is or will become obsolete (deprecated).

Applies To

  • Table objects
  • Table fields
  • Table keys

Property Value

The following table describes the property values.

Value Description
No Not obsolete. This is the normal/default setting.
Pending Will be obsolete in a future release. This setting has no effect on the current use of the table, field, or key in code.
Removed Is obsolete. The element is not deleted from the database; however, references to the the element in code are only allowed in upgrade codeunits. References from other objects will result in a runtime error. Note: You do not get an error when you compile other objects that reference table objects, fields, or keys that are marked as obsolete.

Remarks

By coding against this property, you can use this property as a way to communicate through code to other developers which tables and fields will become obsolete over time and those which are already obsolete, enabling them to adjust there application code accordingly.

See Also

ObsoleteReason Property
Properties
Upgrade Codeunits