# Gestion de stock & commandes / Inventory Management & Order

**URL:** <https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483>\
**Category:** Ask for Help\
**Created:** [March 4, 2025, 1:16pm UTC](https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483 "2025-03-04T13:16:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quentin\_Clauzel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/quentin_clauzel/32/85795_2.png) [@Quentin\_Clauzel](https://community.glideapps.com/u/Quentin_Clauzel)\
**Post date:** [March 4, 2025, 1:16pm UTC](https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483/1 "2025-03-04T13:16:28Z")

</div>

Bonjour.  
Étant nouveau sur glide, j’aurais quelques questions.

Pour un projet personnel (une pme travaillant avec les acteurs de la grande distribution) je voudrais savoir s’il est possible de faire :

Je souhaiterais faire une app gestion des stocks ayant plusieurs composantes :

- Il faudrait un onglet avec tout les produits incluant également le stock actuel du dépôt, pouvant être “ajouter au panier”
- Une fois plusieurs produits ajouté,il faudrait pouvoir sélectionner le magasin choisis dans un autre onglet
- Exemple : Carrefour Toulouse 060000000 Adresse etc
- Une fois le magasin choisis, il faudrait un bouton “commande” permettant d’envoyer la commande mais également de délivrer le bon de commande (en pdf par exemple).
- Évidemment, quand la commande est envoyer, les stocks actuels du dépôt devrait être mis à jours.
- Cela serait-il possible de mettre ça en place avec Glide ?

Merci à tous pour vos réponses par avance.

Edit : English Version

Hello,  
Being new to Glide, I have a few questions.

For a personal project (a small business working with large retail players), I would like to know if it’s possible to do the following:

I would like to create an inventory management app with several components:

- There should be a tab with all the products, including the current stock in the warehouse, with the option to “add to cart.”
- Once several products are added, it should be possible to select the chosen store from another tab.
  - Example: Carrefour Toulouse 060000000 Address, etc.

- Once the store is selected, there should be an “order” button to submit the order and also generate a purchase order (in PDF format, for example).
- Of course, when the order is placed, the current stock in the warehouse should be updated.
- Would it be possible to set this up with Glide?

Thank you all in advance for your answers.

Sorry for my poor english, it’s not my native language.

---

<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:** [March 4, 2025, 11:36pm UTC](https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483/2 "2025-03-04T23:36:19Z")

</div>

Yes, those should all be possible.

> [@Quentin\_Clauzel](#):
>
> There should be a tab with all the products, including the current stock in the warehouse, with the option to “add to cart.”

Create a custom form. On entry to the form, set a unique ID so that later it can be used as the “order ID”.

Have an “order lines” table, record the “order ID” above for each line.

> [@Quentin\_Clauzel](#):
>
> Once several products are added, it should be possible to select the chosen store from another tab.
> 
> - Example: Carrefour Toulouse 060000000 Address, etc.

Just add a field in the custom form to store the store ID.

> [@Quentin\_Clauzel](#):
>
> Once the store is selected, there should be an “order” button to submit the order and also generate a purchase order (in PDF format, for example).

This should write a row to an Orders table, with the key being the “Order ID” you generated earlier. With that setup, you have a parent row in the Orders table, and its children in “Order Lines”.

Then, use PDFMonkey/DocsAutomator, build the required JSON and HTML to generate a PDF.

> [@Quentin\_Clauzel](#):
>
> Of course, when the order is placed, the current stock in the warehouse should be updated.

When a button is clicked, you should be able to both add a row in the Orders table, and trigger a webhook workflow to:

- Loop through rows in the Order Lines table that contains the specified “Order ID”.
- Find the related product row in the Products table.
- Calculate the quantity to deduce (-1 \* quantity order).
- Increment the quantity be the negative amount above.

---

<div class="post-metadata">

**Author:** ![Quentin\_Clauzel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/quentin_clauzel/32/85795_2.png) [@Quentin\_Clauzel](https://community.glideapps.com/u/Quentin_Clauzel)\
**Post date:** [March 5, 2025, 2:24pm UTC](https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483/3 "2025-03-05T14:24:19Z")

</div>

Hey.  
Thanks a lot for all the information, so that’s should be possible even for a beginner like me .

Now, all that’s left is to work on glide for understand everything.  
Gonna be some hard work for now.  
Thanks !

---

<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:** [March 6, 2025, 12:14am UTC](https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483/4 "2025-03-06T00:14:20Z")

</div>

> **[University](https://learn.glideapps.com/)**

You can try going through some lessons here.

---

<div class="post-metadata">

**Author:** ![Quentin\_Clauzel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/quentin_clauzel/32/85795_2.png) [@Quentin\_Clauzel](https://community.glideapps.com/u/Quentin_Clauzel)\
**Post date:** [March 6, 2025, 1:20pm UTC](https://community.glideapps.com/t/gestion-de-stock-commandes-inventory-management-order/80483/5 "2025-03-06T13:20:52Z")

</div>

I gonna check this, i see some lessons are in french so it’s even better.

Thanks again dude !
