check for duplicate code in supply point