Converting the Field Type of a Custom Field

NetSuite supports field type conversions for some custom field types. After you've created a custom field, you can edit the type definition to change the Type field to another supported field type. Whenever possible, you should avoid changing a field type. For more information, see Creating a Custom Field.

Note:

Converting an unsupported field type will result in data loss. For a list of supported field types, see Supported Field Type Conversions.

Warning:

Custom field filters are type-sensitive. Changing the type of a custom field can make its filters incompatible. This incompatibility causes unexpected errors when a form using the field is displayed. Before changing a custom field's type, review it's existing filters and remove or change these filters to avoid errors. For information about field filtering, see Setting Filtering Criteria.

You can't change the custom field type if the Type is used in duplicate detection criteria. For more information about duplicate detection, see Setting Up Duplicate Detection.

Before you convert the field type of a custom field, confirm that you need to change the field type. You may not need to convert the field type if:

When large numbers of records are affected, converting a field type can take a significant amount of time to run. During the time that the conversion is running, the system is unusable. Therefore, you should consider running the conversion during off-peak hours. Before running the conversion, you should also verify the number of affected records to decide if you want to continue with the field type conversion. For information, see Verifying the Amount of Data for Conversion.

When large numbers of records are affected, a timeout can occur during the conversion process. If a timeout occurs, all data changes revert to the state they were in prior to the conversion. Field customizations made prior to clicking Save are lost, but the data itself remains in its reverted state. You can try to run the conversion again during off-peak hours.

Alternately, you can convert the field types by performing a mass update or running a mass update script.

For more information, see Converting Field Types for Custom Fields Using Mass Update (SuiteAnswers article: 98734 ).

See the following Topics:

Related Topics

General Notices