Charged scalar field and quantum number violations