---
schema_version: "1"
id: 33ee00503dd84a129d07393f6a40bd6dc5e20db65fc8eb69d15c29a1f0ba1c88
title: Add System Number Segments
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_task_admin_system_number_seg.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_system_number_seg.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8ff60680f05d8bc78661ed19e54065e48b3beed5a68819c86300dbcb8ecf06ae
description: Define individual segments, such as prefixes, counters, and device identifiers, to construct the system number format.
products:
  - Consumer Goods
release: "264"
---
# Add System Number Segments

Define individual segments, such as prefixes, counters, and device identifiers, to construct the system number format.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d26893e60">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e60 ">To add system number segments:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e60 ">
              <p>CGCloud Business Admin</p>
              <p style="margin-bottom:0;">OR</p>
              <p style="margin-bottom:0;">CGCloud Retail Business Admin</p>
            </td>

          </tr>
        </tbody>
      </table>

1. From the App Launcher, select **System Numbers** and open a system number record.
2. In the System Number Segments related list, click **New**.
3. Provide these details:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d26893e122">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d26893e125">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Segment Type</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">
                  <p>Type of segment. Options are: </p>
                  <ul>
                    <li>Constant</li>

                    <li>Device (LU)</li>

                    <li>Init Counter</li>

                    <li>Counter</li>

                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Sort</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">Numeric sorting definition to sort the list of segments within the final system
                  number.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Segment Length</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">Fixed width of the segment. Values are padded with leading zeros or truncated to
                  fit.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Pre Delimiter</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">Fixed text placed before the segment value, such as OE.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Post Delimiter</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">Fixed text placed after the segment value, such as -.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Numerical System</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">
                  <p>Counting system for Counter segments. Options are: </p>
                  <ul>
                    <li>Decimal</li>

                    <li>Hexadecimal</li>

                    <li>Alphanumeric</li>

                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Initial Value</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">Starting value for a Counter segment or static text for a Constant segment.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e122 ">Max Value</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d26893e125 ">Highest value allowed for a Counter segment before triggering a fallback
                  definition.</td>

              </tr>
            </tbody>
          </table>
4. Save your changes.
    
    Each segment type fills the number from a different source.
    
      
    | Segment type | Fills with | Where the value comes from |
    | --- | --- | --- |
    | Constant | A fixed value you enter | The segment's own initial value, configured on the segment |
    | Device (LU) | The first 3 characters of the device identifier | The device, assigned when you set up the device |
    | Init counter | The 4th character of the device identifier | The device, assigned when you set up the device |
    | Counter | The running sequence number | Maintained per device. Starts from a configured starting value |
    
    The app builds each segment as the pre-delimiter, then the value, then the post-delimiter, and then fits the result to the segment length by padding with leading zeros or trimming. That's why a prefix such as OE is the first segment's pre-delimiter rather than a separate segment.
    
    The app doesn't insert the device identifier as a whole. When the identifier is longer than 3 characters, the Device (LU) segment contributes its first 3 characters, and the Init counter segment contributes the 4th. For a short identifier of 3 characters or fewer, the Device (LU) segment uses the whole value.
    
    The counter counts in one of three systems, which changes how many records a segment of a given length holds. Decimal uses digits 0–9. Hexadecimal uses 0–9 and A–F. Alphanumeric uses 0–9 and A–Z, which fits the most numbers per character.
    
    **Important:** To set a system number definition as Active, it must contain exactly one Device (LU) segment, one Counter segment, and one Init counter segment. Each of these types can appear only once. You can add other segments, such as a Constant, around them. Together, these three types guarantee uniqueness. The device identifier distinguishes devices, and the counter distinguishes records on the same device.