Added hqls to check scg barcode and label with given name is exist