---
title: "Reason codes (CS211000)"
description: "In this window, you can configure the reason codes for use in other workspaces of the system."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/inventory/inventory-windows/reason-codes-cs211000/index.md
lastmod: 2026-02-19
---

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


# Reason codes (CS211000)

Last modified February 19, 2026

> In this window, you can configure the reason codes for use in other workspaces of the system.


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

In this window, you can configure the reason codes for use in other workspaces of the
system.
A reason code is used to provide a reason for the transaction, as well as to set an offset account and a subaccount to be used for the General ledger transaction. It can be used with direct inventory transactions to provide this information.

For each reason code, you specify which inventory transaction it should be used with. Based on this, the reason code can then be selected for the specific type of transaction.

## Search line in list window

If you are in the list window, the first line in the table is a search line. Each column has a search field which you can click to search for or filter on specific values and narrow down the displayed table rows. You can search and filter in as many columns as you need to, to only display the results you want to view.

There are two types of search fields:

+ White: here you can type a specific search term to display results in this column containing this exact value. If you search on several (partial) words, you can separate them by a space or **%** and get different results:

  + space: the result contains the words in any order,
  + **%**: the result contains the words in the specific order, and the **%** functions as a wildcard as well.
+ Grey: you can click this to open the column filter pop-up window where you can filter the results for this column.


## The window fields

These fields can be used to define a new code or to edit an existing code.

<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">Field</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Reason code</td>
<td class="vismanet-table__cell">The ID of the reason code. You can use an alphanumeric string of up to 10 characters.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Description</td>
<td class="vismanet-table__cell">A description of the reason code.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Usage</td>
<td class="vismanet-table__cell"><p>An option indicating where this code can be used.</p>
<p>The following options are available:</p>
<ul>
<li><strong>Sales</strong> This code is used in the Inventory workspace. The <strong>Combine sub. from</strong>, <strong>Account</strong> and Subaccount fields are disabled for this option.</li>
<li><strong>Credit write-off</strong> This code is used in the Customer ledger workspace. The rule governing how to combine subaccounts on issues is specified in <strong>Combine sub. from</strong>.</li>
<li><strong>Balance write-off</strong> This code is used in the Customer ledger workspace. The rule governing how to combine subaccounts on issues is specified in <strong>Combine sub. from</strong>.</li>
<li><strong>Supplier write-off</strong> This code is used in the Supplier ledger for automatic write-offs of small remaining balances.</li>
</ul>
<p>The rule governing how to combine subaccounts on issues is specified in <strong>Combine sub. from</strong>.</p>
<dl>
<dt>Issue</dt>
<dd>This code is used in the Inventory workspace. The reason code will be used for issue documents. The rule governing how to combine subaccounts on issues is specified in <strong>Combine sub. from</strong>.</dd>
<dt>Receipt</dt>
<dd>This code is used in the Inventory workspace. The reason code will be used for receipts. The rule governing how to combine subaccounts on receipts may be specified in <strong>Combine sub. from</strong>.</dd>
<dt>Adjustment</dt>
<dd>This code is used in the Inventory workspace. The reason code will be used for adjustments. The rule governing how to combine subaccounts on adjustments may be specified in <strong>Combine sub. from</strong>.</dd>
<dt>Transfer</dt>
<dd>This code is used in the Inventory workspace. The reason code will be used for inventory transfers. The rule governing how to combine subaccounts on transfers may be specified in <strong>Combine sub. from</strong>.</dd>
<dt>Disassembly</dt>
<dd>This code is used in the Inventory workspace. The reason code will be used in accounting for kits. The rule governing how to combine subaccounts on disassembly may be specified in <strong>Combine sub. from</strong>.</dd>
</dl>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Combine sub. from</td>
<td class="vismanet-table__cell"><p>The field is not available for reason codes with the <strong>Sales</strong> usage option.</p>
<p>The adjustable subaccount mask that defines the rule of composing a default subaccount for specific types of documents on data entry forms.</p>
<p>For each segment, point to a segment and press <strong>F3</strong> to open the
list of options.
The available mask options depend on the
<strong>Usage</strong> field value:</p>
<ul>
<li>
<p><strong>Credit write-off</strong>, <strong>Supplier write-off</strong>, and <strong>Balance write-off</strong>:</p>
<ul>
<li><strong>R</strong> - From a subaccount associated with the reason code</li>
<li><strong>L</strong> - From a subaccount associated with the customer location This field is only displayed if the <strong>Account locations</strong> functionality 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 is enabled.</li>
<li><strong>C</strong> - From a subaccount associated with the branch summary</li>
<li><strong>S</strong> - From a subaccount associated with the salesperson</li>
</ul>
</li>
<li>
<p><strong>Issue</strong>, <strong>Receipt</strong>, <strong>Adjustment</strong>, <strong>Transfer</strong>, and <strong>Disassembly</strong>:</p>
<ul>
<li><strong>R</strong> - From a subaccount associated with the reason code</li>
<li><strong>I</strong> - From a subaccount associated with the stocky item</li>
<li><strong>P</strong> - From a subaccount associated with the posting class</li>
<li><strong>W</strong> - From a subaccount associated with the warehouse This field is only displayed if the Multiple warehouses functionality 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 is enabled.</li>
</ul>
</li>
</ul>

    <div class="admonition admonition-note" role="note">
    <div class="admonition-title">
        
        Note
        
    </div>
    <div class="admonition-body">
        <p>The letter designating the option will be repeated as
many times as there are characters in the segment.</p>
    </div>
    </div>

</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Account</td>
<td class="vismanet-table__cell"><p>The general ledger account to be updated by the transaction amount for transactions marked by the reason code. Cash accounts cannot be used for any of the write-off types in the Usage field.</p>
<p>For issues, this account will override the COGS account.</p>

    <div class="admonition admonition-note" role="note">
    <div class="admonition-title">
        
        Note
        
    </div>
    <div class="admonition-body">
        <p>The field is not available for reason codes with the <strong>Sales</strong> usage option.</p>
    </div>
    </div>

</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Subaccount</td>
<td class="vismanet-table__cell"><p>The corresponding subaccount to be used with the reason code.</p>
<p>This account is used for reason codes to be used in inventory.</p>

    <div class="admonition admonition-note" role="note">
    <div class="admonition-title">
        
        Note
        
    </div>
    <div class="admonition-body">
        <p>The field is not available for reason codes with the <strong>Sales</strong> usage option.</p>
    </div>
    </div>

</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Sales account</td>
<td class="vismanet-table__cell">The sales account to be updated by the transaction amount. The field is available for reason codes with the <strong>Sales</strong> and <strong>Issue</strong> usage options.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Sales sub.</td>
<td class="vismanet-table__cell">The corresponding subaccount to be used with the reason code. The field is available for reason codes with the <strong>Sales</strong> and <strong>Issue</strong> usage options.</td>
</tr>

</table>


Parent topic:

[Inventory windows - overview](https://docs.vismasoftware.no/visma-net-erp/help/inventory/inventory-windows/inventory-windows-overview/index.md)

<h2>Related pages</h2><h3>Concepts</h3>
<ul><li><a href="/visma-net-erp/help/sales/process-sales-orders/about-suggested-sales-accounts/index.md">About suggested sales accounts</a></li><li><a href="/visma-net-erp/help/inventory/manage-inventory-defaults/about-reason-codes-definition-and-usage/index.md">About reason codes: definition and usage</a></li>
</ul><h3>Tasks</h3>
<ul><li><a href="/visma-net-erp/help/customer-ledger/manage-credit-policy/write-off-methods/create-reason-codes-for-write-offs/index.md">Create reason codes for write-offs</a></li><li><a href="/visma-net-erp/help/customer-ledger/manage-credit-policy/write-off-methods/create-reason-codes/index.md">Create reason codes</a></li><li><a href="/visma-net-erp/help/customer-ledger/manage-credit-policy/write-off-methods/add-a-reason-code/index.md">Add a reason code</a></li>
</ul><h3>Windows</h3>
<ul><li><a href="/visma-net-erp/help/inventory/inventory-windows/non-stock-items-in202000/index.md">Non-stock items (IN202000)</a></li><li><a href="/visma-net-erp/help/inventory/inventory-windows/stock-items-in202500/index.md">Stock items (IN202500)</a></li><li><a href="/visma-net-erp/help/inventory/inventory-windows/warehouses-in204000/index.md">Warehouses (IN204000)</a></li><li><a href="/visma-net-erp/help/inventory/inventory-windows/posting-classes-in206000/index.md">Posting classes (IN206000)</a></li><li><a href="/visma-net-erp/help/customer-ledger/customer-ledger-windows/customer-locations-cr303010/index.md">Customer locations (CR303010)</a></li>
</ul>


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/inventory/inventory-windows/reason-codes-cs211000/)
