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