---
schema_version: "1"
id: bf139aff87e484e09e5c43ac2942f81356107003c51355b523feb657f5d5568b
title: cgcloud__System_Number_Segment__c
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_cgcloud__system_number_segment__c.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_cgcloud__system_number_segment__c.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: db2b7f9e9f97321e5ac3462b00895104ffef5d4dc4e0caf6f552561cc2cee282
description: Segment of the number definition. This object is available in API version 54.0 and later.
---
# cgcloud\_\_System\_Number\_Segment\_\_c

Segment of the number definition. This object is available in API version 54.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: Unique identification of the record.

### cgcloud\_\_Initial\_Value\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Value used if there was no previous number for this number definition.

### cgcloud\_\_Max\_Value\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Maximum value of the number definition.

### cgcloud\_\_Numerical\_System\_\_c

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Numerical system.
- **Possible values**:
    - Alpha
    - Binary
    - Decimal
    - Hex

### cgcloud\_\_Post\_Delimiter\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Optional postfix of the segment.

### cgcloud\_\_Pre\_Delimiter\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Optional prefix of the segment.

### cgcloud\_\_Record\_Link\_\_c

- **Type**: string
- **Properties**: Filter, Nillable, Sort
- **Description**: Required for technical reasons.
    
    This is a calculated field.
- **Formula**:
    
    HYPERLINK("/" &Id, $Label.cgcloud\_\_record\_link, "\_top")

### cgcloud\_\_Segment\_Length\_\_c

- **Type**: double
- **Properties**: Create, Filter, Sort, Update
- **Description**: Number of characters of this segment including delimiters.

### cgcloud\_\_Segment\_Type\_\_c

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Type of the segment.
- **Possible values**:
    - Constant
    - Counter
    - InitCounter
    - LU
    - Year

### cgcloud\_\_Sort\_Validation\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Used for validation, not for Layout.

### cgcloud\_\_Sort\_\_c

- **Type**: double
- **Properties**: Create, Filter, Sort, Update
- **Description**: Position of this segment in the segment sequence of this number definition.

### cgcloud\_\_System\_Number\_\_c

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Reference to the System Number.
    
    This is a relationship field.
- **Relationship Name**: cgcloud\_\_System\_Number\_\_r
- **Relationship Type**: Master-detail
- **Refers To**: cgcloud\_\_System\_Number\_\_c (the master object)

### cgcloud\_\_Type\_Unique\_Validation\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Segment Type is a unique field for Number Definition. It's a hidden field for Validation.

### cgcloud\_\_Type\_Validation\_\_c

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Required for technical reasons.
    
    This is a calculated field.
- **Formula**:
    
    CASE( cgcloud\_\_Segment\_Type\_\_c , 'LU', 19, 'Counter', 20, 'InitCounter',22,0)

## Associated Objects

### Associated Objects

This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.

- **[cgcloud\_\_System\_Number\_Segment\_\_cChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")**: Change events are available for the object.
- **[cgcloud\_\_System\_Number\_Segment\_\_cFeed](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")**: Feed tracking is available for the object.
- **[cgcloud\_\_System\_Number\_Segment\_\_cHistory](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")**: History is available for the tracked fields of the object.
- **[cgcloud\_\_System\_Number\_Segment\_\_cOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")**: Sharing rules are available for the object.
- **[cgcloud\_\_System\_Number\_Segment\_\_cShare](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")**: Sharing is available for the object.