Inventory Mismatch

Inventory Mismatch

Environment:

iVend 6.5 Update 6 with SAPB1 9.2


If there is a need to identify the inventory mismatch between SAPB1 and iVend Enterprise (HO) , run the below Query in the iVend Enterprise database.Make sure integration and replication is clear to have the exact result of inventory discrepancies.



1) For Non Serial and Non - Batch item

select A.AvailableQuantity , S.OnHand, s.itemcode
FROM InvInventoryItem A, InvProduct b , InvWarehouse c, (SELECT * from <SAPB1 Database Name>.dbo.oitw) S
WHERE A.ProductKey = b.ProductKey
AND A.WarehouseKey = c.WarehouseKey
AND b.IsDeleted = 'FALSE'
AND b.Id = S.ItemCode collate SQL_Latin1_General_CP1_CI_AS
and c.Id = S.WhsCode collate SQL_Latin1_General_CP1_CI_AS
and A.AvailableQuantity <> S.OnHand
and b.IsBatchTracked = 'false'
and b.IsSerialTracked = 'false'

2) For Serialized but non - Batch item

select A.AvailableQuantity , S.OnHand, s.itemcode
FROM InvInventoryItem A, InvProduct b , InvWarehouse c, (SELECT * from <SAPB1 Database Name>.dbo.oitw) S
WHERE A.ProductKey = b.ProductKey
AND A.WarehouseKey = c.WarehouseKey
AND b.IsDeleted = 'FALSE'
AND b.Id = S.ItemCode collate SQL_Latin1_General_CP1_CI_AS
and c.Id = S.WhsCode collate SQL_Latin1_General_CP1_CI_AS
and A.AvailableQuantity <> S.OnHand
and b.IsBatchTracked = 'false'
and b.IsSerialTracked = 'true'

3) For Non Serial but Batch managed item

select A.AvailableQuantity , S.OnHand, s.itemcode
FROM InvInventoryItem A, InvProduct b , InvWarehouse c, (SELECT * from <SAPB1 Database Name>.dbo.oitw) S
WHERE A.ProductKey = b.ProductKey
AND A.WarehouseKey = c.WarehouseKey
AND b.IsDeleted = 'FALSE'
AND b.Id = S.ItemCode collate SQL_Latin1_General_CP1_CI_AS
and c.Id = S.WhsCode collate SQL_Latin1_General_CP1_CI_AS
and A.AvailableQuantity <> S.OnHand
and b.IsBatchTracked = 'true'
and b.IsSerialTracked = 'false'


    • Related Articles

    • 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 ...
    • Inventory Mismatch between Enterprise and store

      Product version: 6.6 Problem statement: INC0012329 Inventory Mismatch between Enterprise and store or skipped transactions from Store to Enterprise due to some issue n Replication. Proposed solution: Suggested customer to deployed the fix as per ...
    • Magento and iVend Stock Mismatch

      *****Internal Document***** Problem Statement: Stock Match between Magento and iVend. Proposed Solution Below are the steps require to follow-up Stop the Magento Integrator Service Go to the location (C:\Program Files (x86)\CitiXsys\iVend ...
    • Mismatch in Negative Inventories between Negative Inventory Report and SQLquery of Integration error

      Environment: iVend 6.6 with SAP B1 9.3 or any other version Problem statement: When checked the SQL queries for the Integration error "Quantity falls in Negative Inventory" and then checked the Negative Inventory Report from MC , it was noticed that ...
    • Stock mismatch due to replication of data for HO, Store and Offline POS.

      Product Version: iVend 6.6 Problem Statement: Stock mismatch due to replication of data for HO, Store and Offline POS. Proposed Solution: We have analyzed that in the 6.6 version stock mismatch happened due to replication of data for HO, Store and ...