SuiteScript and Custom Segments
Scripting is supported for custom segment values and for custom segments as fields. The following are supported:
-
On record types that are exposed to SuiteScript, you can use SuiteScript to set values for custom segments that exist as fields.
-
You can use SuiteScript to create values for existing custom segments.
Scripting is not supported for custom segment definitions, and the segment definition type is not shown in the Applies To list on script deployments. However, each custom segment you create is associated with a custom record type that has the same name. These segment-managed record types are similar to other custom record types and are fully scriptable. The name of a custom segment in the scripting area refers to the custom record type or one of the custom segment fields. It does not refer to the custom segment definition itself.
Related Topics
- Custom Segments
- Benefits of Custom Segments
- Custom Segments Overview
- Permissions for Managing Custom Segments and Values
- Custom Segment Creation
- Editing Custom Segments
- Custom Segment Values
- Using the Script ID to Access Custom Segment Body, Line, and Filter By Fields
- Custom Segments in Record Searches
- Customizing a Report by Using Custom Segments
- Using Custom Segments in Workflows
- SOAP Web Services and Custom Segments
- CSV Import and Custom Segments