# Increase ordernumber (LS number) for Litium 8

**URL:** <https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [March 17, 2022, 7:42am UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501 "2022-03-17T07:42:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [March 17, 2022, 7:42am UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501/1 "2022-03-17T07:42:33Z")

</div>

How can I increase the order number in Litium 8?  
Where is “the lastest used number” saved now?

We have issues where several dev databases and a test database is adding orders to the same ERP and the LS number can’t be the same in the ERP.

In previous Litium versions we could do this in the database, but I can’t find any spot for this.

Litium version: 8

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [March 17, 2022, 3:01pm UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501/2 "2022-03-17T15:01:19Z")

</div>

Can’t you just change the LS prefix on different environments?  
[Configuration (litium.com)](https://docs.litium.com/documentation/get-started/configuration)

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [March 17, 2022, 3:15pm UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501/3 "2022-03-17T15:15:57Z")

</div>

That is true, thanks, we can probably do that.  
So there is no way of changing the number?

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [March 18, 2022, 10:36am UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501/4 "2022-03-18T10:36:32Z")

</div>

Best approach is the first one of course but if you still want to check the other option is the Sequences you should take a look at:

![Sequences](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/6e249cfc762abe8b602c3dd0e7baa096770978af.png)

---

<div class="post-metadata">

**Author:** ![Spotonkastebo](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/spotonkastebo/32/717_2.png) [@Spotonkastebo](https://forum.litium.com/u/Spotonkastebo)\
**Post date:** [March 18, 2022, 11:05am UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501/5 "2022-03-18T11:05:56Z")

</div>

Using a prefix for a specific environment works in some scenarios but if you for example taken a backup from another environment with a lower orderid sequece you need to change your orderprefix to something else or move the sequence.

---

<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:** [April 15, 2022, 11:06am UTC](https://forum.litium.com/t/increase-ordernumber-ls-number-for-litium-8/2501/6 "2022-04-15T11:06:10Z")

</div>

Closed on April 15, 2022, 11:06am UTC

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