A method of modulating the activity of the GPR119 G protein-coupled receptorcomprising administering to a mammalian patient in need thereof a therapeuticallyeffective amount of at least one compound of Formula (I) or Formula (IA) and, optionally,an additional therapeutic agent.