---
title: "Segment keys (CS202000)"
description: "You use this window to configure the segmented keys that Visma Net reserves for specific system objects created by users, such as General ledger accounts and subaccounts, customer and supplier accounts, warehouses, and locations."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/common-settings/common-settings-windows/segment-keys-cs202000/index.md
lastmod: 2026-02-19
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/help/common-settings/common-settings-windows/llms.txt


# Segment keys (CS202000)

Last modified February 19, 2026

> You use this window to configure the segmented keys that Visma Net reserves for specific system objects created by users, such as General ledger accounts and subaccounts, customer and supplier accounts, warehouses, and locations.


This topic provides information about the elements in this window in Visma Net, such as fields, field values, buttons, and check boxes.

A **segmented key** is a system entity that you use to define the structure of IDs for a certain type of objects. The segmented key then serves as a template when a user creates an ID for a new object of the type.

During initial system setup, for each segmented key, you define:

+ The number of segments the key has
+ The length of each segment
+ The type of each segment
+ The list of values for each segment

Users then create object IDs by selecting values for each segment of the
segmented key.
Also, users can create new segmented keys for use in a specific
workspace.

## The top part

In this area, you can select a segmented key and view or edit its settings.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Element</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Segmented key ID</td>
<td class="vismanet-table__cell"><p>The ID of the segmented key. Select the key from the list of available keys,
which can include the following:</p>
<dl>
<dt>ACCGROUP</dt>
<dd>Used for IDs of account groups in project management</dd>
<dt>ACCOUNT</dt>
<dd>Used for general ledger accounts</dd>
<dt>BIZACCT</dt>
<dd>Associated with the account used for your company&rsquo;s branches in the system; the parent key for the <strong>SUPPLIER</strong>, <strong>CUSTOMER</strong>, and <strong>EMPLOYEE</strong> segmented keys</dd>
<dt>CASHACCOUNT</dt>
<dd>Used for branch-specific cash accounts based on general ledger accounts</dd>
<dt>CONTRACT</dt>
<dd>Used for numbers of contracts; inherits its structure from the <strong>PROJECT</strong> segmented key</dd>
<dt>CONTRACTITEM</dt>
<dd>Used for contract items</dd>
<dt>CUSTOMER</dt>
<dd>Used for customer numbers; inherits its structure from the <strong>BIZACCT</strong> key</dd>
<dt>EMPLOYEE</dt>
<dd>Used for numbers of company employees; inherits its structure from the <strong>BIZACCT</strong> key</dd>
<dt>INLOCATION</dt>
<dd>Used for IDs of warehouse locations</dd>
<dt>INSITE</dt>
<dd>Used for IDs of warehouses</dd>
<dt>INVENTORY</dt>
<dd>Used for stock IDs of stock and non-stock items</dd>
<dt>LOCATION</dt>
<dd>Used for IDs of customer and supplier locations</dd>
<dt>MLISTCD</dt>
<dd>Used for mail lists</dd>
<dt>PROJECT</dt>
<dd>Used for IDs of projects and project templates</dd>
<dt>PROTASK</dt>
<dd>Used for IDs of project tasks</dd>
<dt>SALESPER</dt>
<dd>Used for salesperson IDs</dd>
<dt>SUBACCOUNT</dt>
<dd>Used for general ledger subaccounts</dd>
<dt>TMCONTRACT</dt>
<dd>Used for contract templates</dd>
<dt>VENDOR</dt>
<dd>Used for supplier numbers; inherits its structure from the <strong>BIZACCT</strong> key</dd>
</dl>
<p>The list of available segmented keys depends on the functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Parent</td>
<td class="vismanet-table__cell">The key that determines the <strong>Parent account</strong> values displayed for customers (in the <a href="/visma-net-erp/help/customer-ledger/customer-ledger-windows/customers-ar303000/index.md">Customers</a> window) and for suppliers (in the <a href="/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/suppliers-ap303000/index.md">Suppliers</a> window).</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Lookup mode</td>
<td class="vismanet-table__cell"><p>To help the system narrow the search and improve the speed on search, select the lookup mode that fits your search. The options are:</p>
<ul>
<li>By segment: All avail. segment values</li>
<li>By segment key</li>
</ul></td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Allow adding new values on the fly</td>
<td class="vismanet-table__cell"><p>This option affects only the INLOCATION and SUBACCOUNT keys.</p>
<p>A check box that (if
cleared) forces the users to specify objects on data entry windows only by selecting existing object IDs from the list.
The
list of subaccounts is created in the <a href="/visma-net-erp/help/general-ledger/general-ledger-windows/subaccounts-gl203000/index.md">Subaccounts</a> window.
The list of warehouse locations is created in
the <a href="/visma-net-erp/help/inventory/inventory-windows/warehouses-in204000/index.md">Warehouses</a> window.</p>
<p>Select the check box to give the users the ability to enter object IDs on data entry windows as combinations of available segment values—there will be no need to create all the allowed IDs on the dedicated windows before they can be used on data entry windows.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Specific workspace</td>
<td class="vismanet-table__cell">The workspace, by its abbreviation, where the user-defined segmented key will be used.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Numbering ID</td>
<td class="vismanet-table__cell">An optional number series that is used for the segment that has the auto-numbering option selected. The segment length should be equal to the number of characters used in the selected number series.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Description</td>
<td class="vismanet-table__cell">A detailed description of the segmented key.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Max length</td>
<td class="vismanet-table__cell">The maximum total length of the key. This field appears after you select a key.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Length</td>
<td class="vismanet-table__cell">The total length of the key. The length is automatically calculated as the sum of the lengths of all segments.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Segments</td>
<td class="vismanet-table__cell">The number of segments defined for the key. The system automatically updates this value once you add a segment.</td>
</tr>

</table>


## The table

You can use the table to configure segments for the selected key.

Segments can be numeric,
alphabetic, or alphanumeric, and they can have different lengths.

For each segment
(table line), you can create a list of possible values, or for one segment in the
key, you can select an auto-numbering option.
For auto-numbering, a number series must be specified.

For information on configuring segmented keys that inherit their structure from parent keys, see: [About ID segmentation](https://docs.vismasoftware.no/visma-net-erp/help/common-settings/about-id-segmentation/index.md).

Segment values are used when a user creates IDs for new objects.
If the
segment validation option (**Validate**) is turned on for the
segment, the user must select one of the predefined values for the segment.
For a
one-segment key, segment validation cannot be turned off.

If the validation option is turned off, the system validates only the number of characters ( **Length** ) and the type of the string ( **Edit mask** ) for a segment; hence, IDs of new objects may contain segment values that are not on the list of possible segment values.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Custom action</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">View segment</td>
<td class="vismanet-table__cell">Opens the <a href="/visma-net-erp/help/common-settings/common-settings-windows/segment-values-cs203000/index.md">Segment values</a> window for the selected segment.</td>
</tr>

</table>


<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Column</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Segment ID</td>
<td class="vismanet-table__cell">The system-generated number representing the order of the segment in the segmented key.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Description</td>
<td class="vismanet-table__cell">The user-defined segment description.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Override</td>
<td class="vismanet-table__cell"><p>Read-only.</p>
<p>A check box that indicates (if selected) that the
segment value overrides the value inherited from the parent.
This
column is available only for the segmented keys that have a parent
(such as <strong>CONTRACT</strong>, <strong>CUSTOMER</strong>, and
<strong>EMPLOYEE</strong>).</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Length</td>
<td class="vismanet-table__cell"><p>The maximum length of the segment.</p>
<p>Make sure that the total length of all segments does not exceed the maximum length, which is specified in the <strong>Max length</strong> field in the top part.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Align</td>
<td class="vismanet-table__cell">The segment value alignment in the segment; select one of the following options: <strong>Left</strong> or <strong>Right</strong>.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Edit mask</td>
<td class="vismanet-table__cell"><p>The type of characters allowed for the segment values. The following types may be
used:</p>
<ul>
<li><strong>Alpha</strong>: Allows the input of only Latin letters, such as <strong>A</strong> and <strong>z</strong></li>
<li><strong>Numeric</strong>: Allows the input of only digits</li>
<li><strong>Alphanumeric</strong>: Allows the input of Latin letters and digits</li>
<li><strong>Unicode</strong>: Allows the input of any symbols, including any language symbols and special characters (such as <strong>%</strong> or <strong>_</strong> ).</li>
</ul>
<p>The underscore symbol( <strong>_</strong> ) is one of the SQL wild-card characters. If you search for an entity by its ID that contain this symbol, the system considers underscore as the wild-card character (a substitute for any single character)and returns corresponding results.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Case conversion</td>
<td class="vismanet-table__cell">An option that reflects whether the case of alphabetic characters will remain as it was typed by the user ( <strong>No Change</strong> ), be automatically converted to upper case ( <strong>Upper case</strong> ), or be automatically converted to lower case ( <strong>Lower case</strong> ).</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Validate</td>
<td class="vismanet-table__cell"><p>A check box that indicates (if selected) that validation of segment values is turned on.</p>
<p>It means that you can add a value
to each particular segment only by selecting the value from the
list of available ones.
You open the list of segment values by
pointing to the required segment and pressing F3.</p>
<p>This validation works only in windows that can be used to create objects (data entry windows), where objects are selected by their IDs.</p>
<p>Only segment values of the segments requiring validation can be included into a restriction group.</p>
<p>For the consolidation process, we recommend that you select this check box if the length of the subaccount segment in the consolidating company (shown in the <strong>Number of characters</strong> column) differs from the length of the subaccount segment to be mapped (shown in the <strong>Length</strong> field).</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Auto number</td>
<td class="vismanet-table__cell"><p>A check box that indicates (if selected) that the number series selected in the
<strong>Number series ID</strong> field will be used to generate
values for this segment in IDs.</p>
<p>If the <strong>Auto number</strong> option is selected on for the segment, select the <strong>Unicode</strong> option in the <strong>Edit mask</strong> column.</p>
<p>The auto-numbering
option can be applied to only one segment in a key.
It is
recommended that if you need to use auto-numbering for specific
IDs, you configure the appropriate segmented key as a
single-segmented key.</p>
<p>If the auto-numbering option is selected for the single segment of the segmented key, the number series assigned to the segment may be defined with <strong>Start number</strong> and <strong>End number</strong> that have less characters than the segment length.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Separator</td>
<td class="vismanet-table__cell"><p>The character that will be used as the segment separator when the object ID is displayed.</p>
<p>This separator doesn&rsquo;t affect the ID length.</p>
<p>The character specified here must be different from the one specified in <strong>Prompt character</strong> for the segment.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Prompt character</td>
<td class="vismanet-table__cell"><p>The character that will used for displaying this segment at input prompts.</p>
<p>You can use
different symbols for each segment, but it must be different from
the value used as separator for each segment.
The default column
value is <strong>_</strong> (underscore) and the column is hidden by default.</p>
<p>If you want to use the underscore symbol as the segment separator, change the default value of this field to another symbol.</p>
<p>We do
not recommend changing a prompt character after you have started
entering IDs.
If you change the prompt character to a
character that has been used in some of the existing
IDs, you are not be able to view, edit or find entities
whose IDs contain the new prompt
character.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Consol. order</td>
<td class="vismanet-table__cell"><p>The number that represents the order of this string among other strings in the parent company&rsquo;s subaccount; this column is displayed for only the <strong>SUBACCOUNT</strong> key.</p>
<p>For more details, see: <a href="/visma-net-erp/help/general-ledger/manage-consolidations/general-ledger-consolidation-overview/index.md">General ledger consolidation - overview</a>.</p>
<p>This column is available only if the <strong>General ledger consolidation</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Number of characters</td>
<td class="vismanet-table__cell"><p>The length (in characters) of the string in the parent&rsquo;s subaccount to which the segment value is mapped; this column is displayed for only the <strong>SUBACCOUNT</strong> key.</p>
<p>This setting is used only if the company is a consolidation unit for the parent company.</p>
<p>This column is available only if the <strong>General ledger consolidation</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.</p>
<p>If the number of characters is set to 0, then this segment will be skipped during import of the consolidation data.</p>
</td>
</tr>

</table>


<h2>Related pages</h2><h3>Concepts</h3>
<ul><li><a href="/visma-net-erp/help/common-settings/common-settings-windows/common-settings-windows-overview/index.md">Common settings windows - overview</a></li>
</ul>


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/common-settings/common-settings-windows/segment-keys-cs202000/)
