Require to make the inventory as Zero for particular store

Require to make the inventory as Zero for particular store

Environment: 

iVend 6.6 with SAP B1 10 

Problem statement: 

Require to make the inventory as Zero for particular store.

Symptoms:

products Inventory show in negative and some are in positive numbers.

Resolution/Work Around: 

There is need to check if SAP B1 and HO for the warehouse, contains same inventory or not. If Yes, then user can create Goods receipt / Goods Issues in SAP B1 for the warehouse so inventory sync will also update the product's quantity in iVend as well. Also customer can use below SQL Queries on iVend MC in Query Builder Screen to fetch details and list of Items.
​
select c.id,c.Description,c.WarehouseKey,a.id,a.Description,a.IsDeleted,b.InStockQuantity,b.AvailableQuantity
from invproduct a(no lock) ,
InvInventoryItem b(no lock) ,
InvWarehouse c(no lock)
where a.productkey=b.productkey
and b.WarehouseKey=c.WarehouseKey
and c.id= 'put warehouse id'
order by c.id,c.Description,c.WarehouseKey,a.id,a.Description

Recommendations /Suggestion:  

Kindly make sure that no one should work on Store/POS machines.