The invention relates to novel quinazolinone compounds and their use as inhibitors of PI3 kinases, for example, PI3Kδ, for treating and/or preventing diseases, disorder, and conditi