# Product Based Warehouse Tracking

**URL:** <https://forum.sambapos.com/t/product-based-warehouse-tracking/8121>\
**Category:** V5 Tutorial\
**Created:** [November 14, 2015, 12:22pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121 "2015-11-14T12:22:04Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [November 14, 2015, 12:22pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/1 "2015-11-14T12:22:04Z")

</div>

In this tutorial I’ll show product based warehouse mapping.

In this use case I have two Kitchens. Chinese Kitchen and Pakistani Kitchen. Both Kitchen have similar inventory Items like meat, oil, etc… I also have Chinese Food and Pakistani Food products. When I sell Chinese Food it should consume items from Chinese Kitchen’s Warehouse and when I sell Pakistani food it should consume meat from Pakistani Kitchen’s Warehouse.

Before implementing solution I’ll show details about how I’ve configured inventory items, products, warehouses and recipes.

I’ve created two products.

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/f/ef8c9b5ad174952315d5f5d9ce20581f14372d51.png)

I have two warehouses for each kitchen.

 ![](https://forum.sambapos.com/uploads/default/original/3X/0/b/0be088609cb1a51a818f287b56ba0492f540482f.png)

For simplicity I have single “Meat” Inventory item.

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/4/e46dab4e74ffb4be05546e4c7978fc113a54ee92.png)

I’ll edit `Purchase Transaction Type` and clear `Default Warehouse` setting to be able to choose warehouse while purchasing items.

 ![](https://forum.sambapos.com/uploads/default/original/3X/6/4/6421de2534decf9001ca191c847fcff330407755.png)

I bought 2 KG Meat for each Kitchen.

 ![](https://forum.sambapos.com/uploads/default/original/3X/2/b/2be251c542581322a1b39555000faee53e3fe980.png)

Chinese food consumes 100 GR Meat.

 ![](https://forum.sambapos.com/uploads/default/original/3X/7/2/7265a0e26378c1e52ae182c8114a13594e45eed9.png)

Pakistani food consumes 150 GR meat.

 ![](https://forum.sambapos.com/uploads/default/original/3X/d/d/dd54ef8a2150a32b122641afe79a5e213b1f3b89.png)

We’ll create a Custom Product tag to be able to map Warehouses to Products. From Settings \> Program Settings screen I’ll configure Warehouse setting for products.

 ![](https://forum.sambapos.com/uploads/default/original/3X/0/a/0ad800ffe28142efef4a6a70fb6794c8d570f6a7.png)

I’ll edit `Chinese Food` product and type `Chinese Kitchen` value for `Warehouse` settings.

 ![](https://forum.sambapos.com/uploads/default/original/3X/2/6/267c498a275e6872922a258a5939ded173e5bf43.png)

I can also use `Product Tag Editor` to batch edit Warehouses. I’ll update Pakistani Food warehouse as `Pakistani Kitchen` through this screen.

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/f/8f487dd13835062ebcca955462c3df757b639386.png)

Click `Save` button to update your changes. All items that don’t have a warehouse assignment will decrease from `Local Warehouse`.

Now I’ll create an action that updates Order’s Warehouse.

 ![](https://forum.sambapos.com/uploads/default/original/3X/3/a/3a2ac221ebd595af0c1771948888833df7449e0b.png)

When a new order added to Ticket I’ll execute this action to update Warehouse. I’ll use `{ITEM TAG:Warehouse}` tag to read warehouse assigned to product.

 ![](https://forum.sambapos.com/uploads/default/original/3X/a/c/ac93fd95e7ed72839f0a51f8d35f9e4639bfe8e3.png)

That’s all configuration needed. I’ve configured it flexible so we only need to assign Warehouse for new created products.

Now I’ll create a ticket and sell 1 from both products.

 ![](https://forum.sambapos.com/uploads/default/original/3X/5/e/5e4d085ad65582e27e0202760fa2c1fbe8f609a2.png)

100 GR meat consumed from Chinese Kitchen.

 ![](https://forum.sambapos.com/uploads/default/original/3X/b/9/b94ac6fef35e81ae6e1d67a3e8d250d7b1a1b7d5.png)

… and 150 GR meat consumed from Pakistani Kitchen.

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/d/8d211b704f0dd47bdf581654a961fbee7e698bc8.png)

---

<div class="post-metadata">

**Author:** ![eminentcoder](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/c57346/32.png) [@eminentcoder](https://forum.sambapos.com/u/eminentcoder)\
**Post date:** [November 15, 2015, 7:45am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/2 "2015-11-15T07:45:39Z")

</div>

Hi.  
I can implement this in V5 but in V4 there is no option to define Warehouse Name in UPDATE ORDER action type.

---

<div class="post-metadata">

**Author:** ![RickH](https://forum.sambapos.com/user_avatar/forum.sambapos.com/rickh/32/51960_2.png) [@RickH](https://forum.sambapos.com/u/RickH)\
**Post date:** [November 15, 2015, 8:10am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/3 "2015-11-15T08:10:41Z")

</div>

Probably cant be done in V4 then, V4 will no longer be updated so these changes are probably new additons to V5

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [November 15, 2015, 1:45pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/4 "2015-11-15T13:45:45Z")

</div>

That would be why this is a version 5 tutorial. Your right it’s not and will not be possible in v4

Edit: I apologize I see why you asked that now. Emre said it should work. You might need to try a few things. But if that action is crucial then likely it won’t work.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [November 15, 2015, 2:19pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/5 "2015-11-15T14:19:24Z")

</div>

Hmm. I thought Warehouse update exists for V4. Seems it doesn’t supports order based warehouse assignment at all.

Sorry for the confusion.

---

<div class="post-metadata">

**Author:** ![eminentcoder](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/c57346/32.png) [@eminentcoder](https://forum.sambapos.com/u/eminentcoder)\
**Post date:** [November 15, 2015, 4:12pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/6 "2015-11-15T16:12:20Z")

</div>

Hi all. Thanks for such a nice support.  
One more question. Suppose an order contains some pakistani dishes and some chinese dishes. And we want to get three print outs. One for pakistani kitchen mentioning only pakistani dishes from the order, the other print out containing chinese dishes and the third print out contain all dishes for the server (waiter) to help him get the food from respective kitchens and serve the order.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [November 15, 2015, 4:17pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/7 "2015-11-15T16:17:36Z")

</div>

You can create unlimited printers, and printer templates, and print jobs and you can use rules and actions to execute these prints. So create the templates and the print jobs you want and then choose the rule and action to execute them with.

Its really good for you to study the Rule System and look closely how it interacts. Each rule can execute actions you put in it based on specific events you specify. You can create multiple rules of same event for various actions if need be. You can also use same rule with same event for multiple different actions. Study it and understand its interaction and then you will find the possibilities are endless with how to configure SambaPOS.

You can use custom constraints to check specific conditions to decide if the actions should execute or not. You can use Action Constraints to check specific conditions to decide if that specific action within the rule event should execute or not. Action constraints are useful if you have multiple actions but only want to constraint specific actions and not all of them.

---

<div class="post-metadata">

**Author:** ![eminentcoder](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/c57346/32.png) [@eminentcoder](https://forum.sambapos.com/u/eminentcoder)\
**Post date:** [November 15, 2015, 4:23pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/8 "2015-11-15T16:23:01Z")

</div>

Hmmm Ok. Thanks a lot @kendash.  
I will try to learn these rules, events etc.  
I just wanted to make sure if it is possible or not. As I am thinking to buy V5 module for all our three restaurent branches.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [November 15, 2015, 4:25pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/9 "2015-11-15T16:25:06Z")

</div>

Yes its possible. To be honest there is very little that is NOT possible with version 5 lol. Even us experts have barely reached probably 20% of the capability of version 5. Version 5 has opened up an enormous amount of potential for configurations.

Me and QMcKay contribute a huge amount of time to helping advance it and even we are in awe of what is possible. Sometimes I find it difficult just to pick what I want to try there is so much endless possibility with version 5.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [November 15, 2015, 4:28pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/10 "2015-11-15T16:28:47Z")

</div>

Look here for good understanding of printing. V5 has several differences and enhancements but this should give you a good basic understanding to start with.

> [@Printing Tutorial in Detail](http://forum.sambapos.com/t/printing-tutorial-in-detail/994):
>
> Hello. In this tutorial I’ll show you how printing works and how to configure it for most common cases. #How it works? In this section I’ll show you how SambaPOS printing system works. ##Printers These are the printers that are used on your system. To configure your printer start by adding a printer here. For this example I’ll add a Bar Printer Enter a name for your printer and select your printer from drop down list. If it is a network printer you can also type it’s n…

---

<div class="post-metadata">

**Author:** ![Sp3nc3r](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@Sp3nc3r](https://forum.sambapos.com/u/Sp3nc3r)\
**Post date:** [November 9, 2020, 7:46am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/12 "2020-11-09T07:46:51Z")

</div>

Hey… I’ve just implemented this but its still not working, it keeps pulling stocks from my Kitchen Warehouse even for Bar items. Cause my Department settings be causing this cause I can not leave the warehouse ID empty in a Department

---

<div class="post-metadata">

**Author:** ![Sp3nc3r](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@Sp3nc3r](https://forum.sambapos.com/u/Sp3nc3r)\
**Post date:** [November 9, 2020, 7:52am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/13 "2020-11-09T07:52:03Z")

</div>

Could it be because I have multiple Menus aswel?

---

<div class="post-metadata">

**Author:** ![Nizam](https://forum.sambapos.com/user_avatar/forum.sambapos.com/nizam/32/53194_2.png) [@Nizam](https://forum.sambapos.com/u/Nizam)\
**Post date:** [November 9, 2020, 9:23am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/14 "2020-11-09T09:23:25Z")

</div>

Hello @Sp3nc3r,

You can have a look at below document to see the process step by step;

> **[4.16. How to Configure Product Based Warehouse Tracking? – SambaPOS...](https://kb.sambapos.com/en/4-16-how-to-configure-product-based-warehouse-tracking/)**

---

<div class="post-metadata">

**Author:** ![Sp3nc3r](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@Sp3nc3r](https://forum.sambapos.com/u/Sp3nc3r)\
**Post date:** [November 9, 2020, 4:29pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/15 "2020-11-09T16:29:36Z")

</div>

Hey @Nizam, yes did that but was not reducing stock from assigned warehouse, instead it kept reduce stock from the warehouse set under departments cause I have multiple Menus. I have decided to use 2 Warehouses but love to know if their maybe a way to Assign a Menu to a particular Warehouse without the involvement of Departments

---

<div class="post-metadata">

**Author:** ![Amolo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/amolo/32/54564_2.png) [@Amolo](https://forum.sambapos.com/u/Amolo)\
**Post date:** [January 27, 2021, 11:02am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/16 "2021-01-27T11:02:47Z")

</div>

Did anyone find a solution for this??

---

<div class="post-metadata">

**Author:** ![Sp3nc3r](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@Sp3nc3r](https://forum.sambapos.com/u/Sp3nc3r)\
**Post date:** [February 22, 2021, 12:56pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/17 "2021-02-22T12:56:24Z")

</div>

I had to assign a menu to a terminal and lock them from switching menus from the POS screen. Each terminal was assigned a specific warehouse

---

<div class="post-metadata">

**Author:** ![Dan](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@Dan](https://forum.sambapos.com/u/Dan)\
**Post date:** [August 30, 2024, 1:09pm UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/18 "2024-08-30T13:09:50Z")

</div>

Helo i tried all the steps but when make a sale my new warehouse cant decrease stock. only stock from local warehouse reduces. kindly assist

---

<div class="post-metadata">

**Author:** ![Tayfun](https://forum.sambapos.com/user_avatar/forum.sambapos.com/tayfun/32/63020_2.png) [@Tayfun](https://forum.sambapos.com/u/Tayfun)\
**Post date:** [October 3, 2024, 10:00am UTC](https://forum.sambapos.com/t/product-based-warehouse-tracking/8121/19 "2024-10-03T10:00:00Z")

</div>

Please check the document

[https://kb.sambapos.com/en/4-16-how-to-configure-product-based-warehouse-tracking](https://kb.sambapos.com/en/4-16-how-to-configure-product-based-warehouse-tracking)
