# New code

**URL:** <https://community.glideapps.com/t/new-code/7256>\
**Category:** Ask for Help\
**Created:** [April 17, 2020, 9:20pm UTC](https://community.glideapps.com/t/new-code/7256 "2020-04-17T21:20:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valdir](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valdir/32/37658_2.png) [@Valdir](https://community.glideapps.com/u/Valdir)\
**Post date:** [April 17, 2020, 9:20pm UTC](https://community.glideapps.com/t/new-code/7256/1 "2020-04-17T21:20:12Z")

</div>

Hi! What is the best way to generate codes on orders so that we don’t create duplicates? Tks

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [April 17, 2020, 10:37pm UTC](https://community.glideapps.com/t/new-code/7256/2 "2020-04-17T22:37:49Z")

</div>

Use the Unique Id special value, or add a Row ID column.
