JDA Software Group Inc is to buy i2 Technologies Inc for $346m in a deal that will result in one of the largest global supply chain management companies.