Deleting Fields From a Record Definition

To delete a field from a record definition:

  1. Select the field that you want to remove and press the Delete key.

    This action deletes the field completely and does not copy it to the clipboard, unlike a cut operation, which does copy it to the clipboard.

  2. When the system prompts you to confirm the deletion, click Yes.

    If you already created the underlying table for the record definition from which you are deleting the field, recreate the table or use the SQL Alter function to alter the table.

    Important:

    If you delete a field from a record definition, you must also delete it from any pages on which it appears. When you delete a field, the system does not automatically delete references to the field in PeopleCode, so you must do this manually. To determine where the field is referenced in PeopleCode, use the Find Object References feature.

    You can also reference the following two reports: "Fields and Records" (XRFFLRC) shows which records contain the field; "Fields Referenced by PeopleCode Programs" (XRFFLPC) shows PeopleCode that refers to the field in the record.

Modify or remove PeopleCode when you find references to the deleted field.