While receiving the stock transfer request getting the error "Serial number already exists"

While receiving the stock transfer request getting the error "Serial number already exists"

Problem Statement: 

While receiving the stock transfer request getting the error “Serial number already exists” as shown below:


 


Incident: 

INC0028761


Version: 

iVend 6.6.7531


Symptoms: 

In “InvSerial” table there is more than one row available for the same serial number having status-=1 (In-Store) 


e.g.  serial number let’s say “1234” is available in more than one warehouse with status=1 for the concerned store.


Resolution/Work Around: 

This can be resolved by updating the status=0  in “InvSerial” table for the non-relevant warehouse using the below query after taking the backup of “InvSerial” table:

update InvSerial set status=0 where SerialKey=’Serial key of the concern serial number’


Note: To check the non-relevant warehouse check the serial number status of both the warehouses in Enterprise..