# Create a code for each confirmed order

**URL:** <https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863>\
**Category:** Ask for Help\
**Created:** [April 12, 2020, 1:11pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863 "2020-04-12T13:11:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Warley\_Serafim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/warley_serafim/32/5487_2.png) [@Warley\_Serafim](https://community.glideapps.com/u/Warley_Serafim)\
**Post date:** [April 12, 2020, 1:11pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/1 "2020-04-12T13:11:41Z")

</div>

staff needs to generate a script or some form of when the order is confirmed to generate a code, not one code per line, one code per confirmed order, so that the customer can place more than one order.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [April 15, 2020, 1:40am UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/2 "2020-04-15T01:40:21Z")

</div>

Do you have an order record and then related items records for that order? If you do then you can allow your staff to edit the order record and add a confirmed order code. You can have it automatically add a unique id special value when the order is edited. Or they can manually enter a code.

Otherwise you can create a zapier or script to monitor whatever your process triggers as a confirmed order.

---

<div class="post-metadata">

**Author:** ![smartcompras\_online](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smartcompras_online/32/10153_2.png) [@smartcompras\_online](https://community.glideapps.com/u/smartcompras_online)\
**Post date:** [July 4, 2020, 7:29pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/3 "2020-07-04T19:29:17Z")

</div>

Did you solve it bro?

---

<div class="post-metadata">

**Author:** ![Cmstewart42](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cmstewart42/32/7319_2.png) [@Cmstewart42](https://community.glideapps.com/u/Cmstewart42)\
**Post date:** [July 4, 2020, 9:53pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/4 "2020-07-04T21:53:58Z")

</div>

@Warley_Serafim are you still looking to have this solved?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 5, 2020, 12:20am UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/5 "2020-07-05T00:20:07Z")

</div>

Me and @Wiz.Wazeer did the same thing in this app: [https://xubereats2.glideapp.io/](https://xubereats2.glideapp.io/)

We concatenate multiple line of items in cart into one order and give them an ID.

---

<div class="post-metadata">

**Author:** ![smartcompras\_online](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smartcompras_online/32/10153_2.png) [@smartcompras\_online](https://community.glideapps.com/u/smartcompras_online)\
**Post date:** [July 5, 2020, 7:32pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/6 "2020-07-05T19:32:35Z")

</div>

How to do that?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 6, 2020, 6:38pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/7 "2020-07-06T18:38:30Z")

</div>

This may be a method they used.

> [@How to create an app for taking Sales Orders](https://community.glideapps.com/t/how-to-create-an-app-for-taking-sales-orders/7048/12):
>
> Here’s a bit of a wild idea. Create a column in your confirmed orders sheet that will contain only email and business. This can be 2 separate column joined with a template, or you can write it to the sheet later already joined from the form button. Doesn’t matter. We just need email and buiness only. Next on your products, sheet follow the instructions here to get a lookup column of the user’s signed in email into the products sheet. [List Relation "Data"](https://community.glideapps.com/t/list-relation-data/7659/5) Next in the products sheet, create…

---

<div class="post-metadata">

**Author:** ![smartcompras\_online](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smartcompras_online/32/10153_2.png) [@smartcompras\_online](https://community.glideapps.com/u/smartcompras_online)\
**Post date:** [July 7, 2020, 7:01pm UTC](https://community.glideapps.com/t/create-a-code-for-each-confirmed-order/6863/8 "2020-07-07T19:01:09Z")

</div>

Thanks bro. I will try it
