# Manipulate ordernumber in L8

**URL:** <https://forum.litium.com/t/manipulate-ordernumber-in-l8/2687>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [September 23, 2022, 12:34pm UTC](https://forum.litium.com/t/manipulate-ordernumber-in-l8/2687 "2022-09-23T12:34:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![petterahlqvist](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@petterahlqvist](https://forum.litium.com/u/petterahlqvist)\
**Post date:** [September 23, 2022, 12:34pm UTC](https://forum.litium.com/t/manipulate-ordernumber-in-l8/2687/1 "2022-09-23T12:34:10Z")

</div>

Hey!  
We have a project were the ERP wants the ordernumber to be a prefix followed by a number series that is 6 digits long.

Default in Litium 8 the ordernumber consist of prefix + 5 digits. Is it possible for us to manipluate the ordernumber creation in some way?

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [September 23, 2022, 12:58pm UTC](https://forum.litium.com/t/manipulate-ordernumber-in-l8/2687/2 "2022-09-23T12:58:57Z")

</div>

Reset the sequence `Sales.OrderId` in database to a larger value to enforce 6 digits.

![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/182a998fcac5431e4c4bec30c60f3dee107b45b0.png)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/336ccdd2f46dd6c49a29f07c480ed6cd9844d808.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [October 21, 2022, 12:59pm UTC](https://forum.litium.com/t/manipulate-ordernumber-in-l8/2687/3 "2022-10-21T12:59:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
