snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Serial has constraint on uniqueness among all assets

Open captainlaw opened this issue 11 years ago • 3 comments

The system has constraint on the serial uniqueness among all assets. But in the real world, different kind of assets , serial might be the same.

captainlaw avatar Jan 06 '15 08:01 captainlaw

I'm not sure how to get around that, from a business rules perspective. The goal is to disallow duplicate assets from being created, since that's a common mistake people make, and it can really throw off your data, making it a bit of a nightmare.

snipe avatar Jan 22 '15 22:01 snipe

How about checking for uniqueness in one "asset category" only. So no two laptops could have the same serial number, but still there could be a laptop and an iphone with a matching serial number.

dkd-schaffstein avatar Jan 29 '15 10:01 dkd-schaffstein

I am thinking uniqueness of asset tag label would be sufficient to avoid duplicate assets. After all, it is the company assigned serial number to any company asset and it is what will matter.

leobg avatar Feb 05 '15 16:02 leobg