Is it possible to fetch unique dedicated Business Code for my clients registration?

@russian-dima Sir, Kindly elaborate on this. How to DB-Query already used code by additional data-field? Kindly update my code on this. It will be very helpful if you could update.