---
title: "Case 2, Auto-numbering (Stock Items)"
canonical: "https://wiki.soft1.eu/space/SS5EN/243695933/Case%202%2C%20Auto-numbering%20(Stock%20Items)"
format: markdown
---
Assuming that DEMO SA wishes, besides auto-numbering, the Codes to take/ have an "R-" character at the beginning of each one of them in order to have a uniform code structure.  

**Configuration**  
Regarding auto-numbering process, where the "R-" character shall be at the beginning of each code, proceed as follows:

- click on the hyperlink:
  - fill in the **From**, **To** fields (by setting the range),
  - fill in the **Formula** field (by filling in the "R-" characters), as displayed in the following screen and
  - **activate** the **Auto-Numbering **parameter**.**

Finally, click <**Accept**> and then <**Save**>.

> ℹ️ To activate the general parameters features, you should re-open the respective Entity (Stock Items, Trading Parties etc).

Once the configuration is completed, post the first Item by replacing the displayed "R-*" character with the code that indicates the beginning of the auto-numbering. From now on, the next available code shall be suggested. 


![code_format_en520_05.jpg](media://723c020c-0f40-4b63-8148-c472aa670add)