---
title: "Auto-numbering & composite Code Format (Projects Management)"
canonical: "https://wiki.soft1.eu/space/SS5EN/244154605/Auto-numbering%20%26%20composite%20Code%20Format%20(Projects%20Management)"
format: markdown
---
DEMO SA company wishes, each time a new project is posted, the poject's code to consist of elements, which are included in the project's profile card. Except for the auto-numbering, which holds the four last places (12-15), elements from the project's **Category** will be included at 1-3 places. The **Created On** date of the project shall hold the 5-10 places, e.g. 501/31122019-00000.

**Configuration**  
Regarding auto-numbering process with the above-described code format, proceed as follows:

- specify the suitable **Code Format **e.g. AAA/AAAAAA-NNNn, as displayed at the following screen,
- click on the hyperlink:
  - fill in the **From, To **fields (by setting the range),
  - fill in the **Formula **field (apply drag & drop or double-click on Item fields or type the proper command e.g. Replace(DateToStr(PRJC.CRDDATE),'/','') and
  - **activate** the **Auto-Numbering** parameter**.**

<u>*Tip 1: Use SOFT1 ERP functions and SQL commands at Formula section in order to get the preferable results.*</u>

<u>*Tip 2: The ""Long Date" code format has been used at regional settings of the Work station for the specific example.*</u>

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, open the Projects' List to post the first Project entry. At first, the "???/????????-*" code format is suggested, which will be gradually filled in as the user defines/ selects the Project's preferable fields. Finally, fill in manually the code, which indicates the beginning of the auto-numbering. From now on, the next available code shall be suggested. 


![code_format_en520_07.jpg](media://0bfa89bb-6e61-4cc4-bed2-757c321d65ab)